elasticsearch-api.gemspec in elasticsearch-api-7.16.1 vs elasticsearch-api.gemspec in elasticsearch-api-7.16.3
- old
+ new
@@ -60,13 +60,20 @@
s.add_development_dependency 'yard'
# Gems for testing integrations
s.add_development_dependency 'jsonify'
s.add_development_dependency 'hashie'
+ # Temporary support for Ruby 2.6, since it's EOL March 2022:
+ if RUBY_VERSION < '2.7.0'
+ s.add_development_dependency 'jbuilder', '< 7.0.0'
+ else
+ s.add_development_dependency 'activesupport'
+ s.add_development_dependency 'jbuilder'
+ end
s.add_development_dependency 'cane'
s.add_development_dependency 'escape_utils' unless defined? JRUBY_VERSION
- s.add_development_dependency 'jbuilder'
+
s.add_development_dependency 'require-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
s.add_development_dependency 'simplecov'
s.add_development_dependency 'test-unit', '~> 2'
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)