Gemfile in elasticsearch-transport-7.5.0 vs Gemfile in elasticsearch-transport-7.6.0.pre

- old
+ new

@@ -5,21 +5,25 @@ source 'https://rubygems.org' # Specify your gem's dependencies in elasticsearch-transport.gemspec gemspec -if File.exist? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__) - gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false +if File.exist? File.expand_path('../../elasticsearch-api/elasticsearch-api.gemspec', __FILE__) + gem 'elasticsearch-api', path: File.expand_path('../../elasticsearch-api', __FILE__), require: false end -if File.exist? File.expand_path("../../elasticsearch-extensions/elasticsearch-extensions.gemspec", __FILE__) - gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions", __FILE__), :require => false +if File.exist? File.expand_path('../../elasticsearch-extensions/elasticsearch-extensions.gemspec', __FILE__) + gem 'elasticsearch-extensions', path: File.expand_path('../../elasticsearch-extensions', __FILE__), require: false end -if File.exist? File.expand_path("../../elasticsearch/elasticsearch.gemspec", __FILE__) - gem 'elasticsearch', :path => File.expand_path("../../elasticsearch", __FILE__), :require => false +if File.exist? File.expand_path('../../elasticsearch/elasticsearch.gemspec', __FILE__) + gem 'elasticsearch', path: File.expand_path('../../elasticsearch', __FILE__), require: false end group :development do gem 'rspec' - gem 'pry-nav' + if defined?(JRUBY_VERSION) + gem 'pry-nav' + else + gem 'pry-byebug' + end end