forked from solidusio-contrib/solidus_sale_prices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsolidus_sale_prices.gemspec
executable file
·43 lines (34 loc) · 1.47 KB
/
solidus_sale_prices.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# frozen_string_literal: true
$:.push File.expand_path('lib', __dir__)
require 'solidus_sale_prices/version'
Gem::Specification.new do |s|
s.name = 'solidus_sale_prices'
s.version = SolidusSalePrices::VERSION
s.summary = 'Adds sale pricing functionality to Solidus.'
s.description = 'Adds sale pricing functionality to Solidus. It enables timed sale planning for different currencies.'
s.license = 'BSD-3-Clause'
s.author = 'Renuo GmbH, Jonathan Dean, Nebulab'
s.email = '[email protected]'
s.homepage = 'https://github.com/solidusio-contrib/solidus_sale_prices'
if s.respond_to?(:metadata)
s.metadata["homepage_uri"] = s.homepage if s.homepage
s.metadata["source_code_uri"] = s.homepage if s.homepage
end
s.required_ruby_version = Gem::Requirement.new('>= 2.5')
s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
s.test_files = Dir['spec/**/*']
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib"]
solidus_version = [">= 1.0", "< 5"]
s.add_dependency 'deface', '~> 1.0'
s.add_dependency 'discard'
s.add_dependency 'solidus_api', solidus_version
s.add_dependency 'solidus_backend', solidus_version
s.add_dependency 'solidus_core', solidus_version
s.add_dependency 'solidus_support', '~> 0.5'
s.add_development_dependency 'timecop', '~> 0.9'
s.add_development_dependency 'solidus_dev_support'
end