ejson-rails.gemspec in ejson-rails-0.1.1 vs ejson-rails.gemspec in ejson-rails-0.2.0

- old
+ new

@@ -12,20 +12,22 @@ spec.summary = "Asymmetric keywise encryption for JSON on Rails" spec.description = "Rails secret management by encrypting values in a JSON hash with a public/private keypair" spec.homepage = "https://github.com/Shopify/ejson-rails" spec.license = "MIT" - spec.files = `git ls-files -z`.split("\x0").reject do |f| + spec.files = %x(git ls-files -z).split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "ejson" - spec.add_dependency "railties", ">= 4.1" + spec.metadata = { "allowed_push_host" => "https://rubygems.org" } - spec.add_development_dependency "bundler", "~> 1.16" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.0" - spec.add_development_dependency "rubocop", "~> 0.56" + spec.required_ruby_version = ">= 2.7.0" + + spec.add_dependency("ejson") + spec.add_dependency("railties", ">= 5.2") + + spec.add_development_dependency("rake", "~> 13.0") + spec.add_development_dependency("rspec", "~> 3.0") end