summaryrefslogtreecommitdiff
path: root/super_good-solidus_taxjar.gemspec
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2020-06-22 13:17:25 -0700
committerJared Norman <jared@super.gd>2020-06-22 13:17:25 -0700
commita83c3f17352f0d250583035444fe3bdde5257f29 (patch)
treea07eee20ae0d55826ae278313af8bce964e8cb53 /super_good-solidus_taxjar.gemspec
parent8827154da3e518f735f44cf416f4ba8488e1c1cd (diff)
Update gemspec as per solidus_dev_support
Diffstat (limited to 'super_good-solidus_taxjar.gemspec')
-rw-r--r--super_good-solidus_taxjar.gemspec29
1 files changed, 16 insertions, 13 deletions
diff --git a/super_good-solidus_taxjar.gemspec b/super_good-solidus_taxjar.gemspec
index f02feb4..b22c2ff 100644
--- a/super_good-solidus_taxjar.gemspec
+++ b/super_good-solidus_taxjar.gemspec
@@ -3,23 +3,26 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "super_good/solidus_taxjar/version"
Gem::Specification.new do |spec|
- spec.name = "super_good-solidus_taxjar"
- spec.version = SuperGood::SolidusTaxJar::VERSION
- spec.authors = ["Jared Norman"]
- spec.email = ["jared@super.gd"]
+ spec.name = "super_good-solidus_taxjar"
+ spec.version = SuperGood::SolidusTaxJar::VERSION
+ spec.authors = ["Jared Norman"]
+ spec.email = ["jared@super.gd"]
- spec.summary = "Support for using TaxJar to handle tax calculations in Solidus"
- spec.description = spec.summary
- spec.homepage = "https://github.com/SuperGoodSoft/solidus_taxjar"
- spec.license = "MIT"
+ spec.summary = "Support for using TaxJar to handle tax calculations in Solidus"
+ spec.description = spec.summary
+ spec.homepage = "https://github.com/SuperGoodSoft/solidus_taxjar"
+ spec.license = 'BSD-3-Clause'
+
+ spec.required_ruby_version = Gem::Requirement.new('~> 2.5')
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- end
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
+
+ spec.files = files.grep_v(%r{^(test|spec|features)/})
+ spec.test_files = files.grep(%r{^(test|spec|features)/})
+ spec.bindir = "exe"
+ spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "solidus_core", ">= 2.4.0"