attr_json.gemspec in attr_json-2.0.1 vs attr_json.gemspec in attr_json-2.1.0
- old
+ new
@@ -40,11 +40,13 @@
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.6.0'
- # Only to get CI to work on versions of Rails other than we release with,
- # should never release a gem with RAILS_GEM set!
+ # This conditional is only to get CI to work on versions of Rails other than
+ # we release with. The gem should never be released without the activerecord
+ # dependency included just as it is here, should never be released
+ # from an env tht has any of these variables set.
unless ENV['APPRAISAL_INITIALIZED'] || ENV["TRAVIS"] || ENV['CI']
spec.add_runtime_dependency "activerecord", ">= 6.0.0", "< 7.1"
end
spec.add_development_dependency "bundler"