File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,17 @@ Gem::Specification.new do |s|
6262 # Gems for testing integrations
6363 s . add_development_dependency 'jsonify'
6464 s . add_development_dependency 'hashie'
65+ # Temporary support for Ruby 2.6, since it's EOL March 2022:
66+ if RUBY_VERSION < '2.7.0'
67+ s . add_development_dependency 'jbuilder' , '< 7.0.0'
68+ else
69+ s . add_development_dependency 'activesupport'
70+ s . add_development_dependency 'jbuilder'
71+ end
6572
6673 s . add_development_dependency 'cane'
6774 s . add_development_dependency 'escape_utils' unless defined? JRUBY_VERSION
68- s . add_development_dependency 'jbuilder'
75+
6976 s . add_development_dependency 'require-prof' unless defined? ( JRUBY_VERSION ) || defined? ( Rubinius )
7077 s . add_development_dependency 'simplecov'
7178 s . add_development_dependency 'test-unit' , '~> 2'
Original file line number Diff line number Diff line change 2525 require 'pry-byebug'
2626end
2727require 'ansi'
28+ require 'yaml'
29+ require 'active_support/isolated_execution_state' unless RUBY_VERSION < '2.7.0'
30+ require 'jbuilder'
31+ require 'jsonify'
2832require 'elasticsearch'
2933require 'elasticsearch-api'
3034require 'elasticsearch-transport'
You can’t perform that action at this time.
0 commit comments