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

- old
+ new

@@ -7,24 +7,27 @@ # Specify your gem's dependencies in elasticsearch-xpack.gemspec gemspec group :development do gem 'rspec' - gem 'pry-nav' + if defined?(JRUBY_VERSION) + gem 'pry-nav' + else + gem 'pry-byebug' + end end - -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-transport/elasticsearch-transport.gemspec", __FILE__) - gem 'elasticsearch-transport', :path => File.expand_path("../../elasticsearch-transport", __FILE__), :require => false +if File.exist? File.expand_path('../../elasticsearch-transport/elasticsearch-transport.gemspec', __FILE__) + gem 'elasticsearch-transport', path: File.expand_path('../../elasticsearch-transport', __FILE__), require: false end -if File.exist? File.expand_path("../../elasticsearch/elasticsearch.gemspec", __FILE__) - gem 'elasticsearch', :path => File.expand_path("../../elasticsearch/", __FILE__) +if File.exist? File.expand_path('../../elasticsearch/elasticsearch.gemspec', __FILE__) + gem 'elasticsearch', path: File.expand_path('../../elasticsearch/', __FILE__) end -if File.exist? File.expand_path("../../elasticsearch/elasticsearch-extensions.gemspec", __FILE__) - gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions/", __FILE__) -end \ No newline at end of file +if File.exist? File.expand_path('../../elasticsearch/elasticsearch-extensions.gemspec', __FILE__) + gem 'elasticsearch-extensions', path: File.expand_path('../../elasticsearch-extensions/', __FILE__) +end