Skip to content

Commit dbd1494

Browse files
committed
[Gem] Don't use Rubocop with JRuby
We use Rubocop just for development and not currently using JRuby for Rubocop development. This could fix the current dependency problem for now.
1 parent 88df8ed commit dbd1494

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ end
3838
group :development, :test do
3939
gem 'debug' unless defined?(JRUBY_VERSION)
4040
gem 'rspec'
41-
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) && Gem::Version.new(JRUBY_VERSION) <= Gem::Version.new('9.4')
41+
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION)
4242
end

Diff for: elasticsearch-api/utils/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ gem 'multi_json'
2424
gem 'pry'
2525
gem 'thor'
2626

27-
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) && Gem::Version.new(JRUBY_VERSION) <= Gem::Version.new('9.4')
27+
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION)
2828
gem 'debug' unless defined?(JRUBY_VERSION)

0 commit comments

Comments
 (0)