Skip to content

Commit ef9aea9

Browse files
committed
[Gem] Styling, Ruby >= 2.6 for elasticsearch-api Gem
1 parent f8c8472 commit ef9aea9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

elasticsearch-api/elasticsearch-api.gemspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ Gem::Specification.new do |s|
3838
file.match(/^utils\/|^spec\/|^api-spec-testing\/|^Gemfile|^Rakefile/)
3939
end
4040
s.require_paths = ['lib']
41-
4241
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
4342
s.rdoc_options = ['--charset=UTF-8']
4443

45-
s.required_ruby_version = '>= 2.5'
46-
44+
s.required_ruby_version = '>= 2.6' # For compatibility with JRuby 9.3
4745
s.add_dependency 'multi_json'
4846

4947
s.add_development_dependency 'ansi'
@@ -66,13 +64,10 @@ Gem::Specification.new do |s|
6664

6765
s.add_development_dependency 'cane'
6866
s.add_development_dependency 'escape_utils' unless defined? JRUBY_VERSION
69-
7067
s.add_development_dependency 'require-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
7168
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
7269
s.add_development_dependency 'simplecov'
73-
7470
s.add_development_dependency 'test-unit', '~> 2'
75-
7671
s.description = <<-DESC.gsub(/^ /, '')
7772
Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
7873
DESC

0 commit comments

Comments
 (0)