-
Notifications
You must be signed in to change notification settings - Fork 15
/
solidus_digital.gemspec
37 lines (29 loc) · 1.27 KB
/
solidus_digital.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
# frozen_string_literal: true
require_relative 'lib/solidus_digital/version'
Gem::Specification.new do |spec|
spec.name = 'solidus_digital'
spec.version = SolidusDigital::VERSION
spec.summary = 'Digital download functionality for Solidus'
spec.description = spec.summary
spec.license = 'BSD-3-Clause'
spec.author = ['funkensturm', 'Michael Bianco']
spec.email = '[email protected]'
spec.homepage = 'https://github.com/solidusio-contrib/solidus_digital'
if spec.respond_to?(:metadata)
spec.metadata["homepage_uri"] = spec.homepage if spec.homepage
spec.metadata["source_code_uri"] = spec.homepage if spec.homepage
end
spec.required_ruby_version = ['>= 2.4', '< 4.0']
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.test_files = Dir['spec/**/*']
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 5']
spec.add_dependency 'solidus_support', '~> 0.5'
spec.add_development_dependency 'rspec-activemodel-mocks'
spec.add_development_dependency 'shoulda-matchers'
spec.add_development_dependency 'solidus_dev_support'
end