From 2e708d1ffbd8efc54bb3045bc3a37374c147ea30 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 31 Mar 2025 12:26:45 +0100 Subject: [PATCH] [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. --- Gemfile | 2 +- elasticsearch-api/utils/Gemfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c618282910..a2263210df 100644 --- a/Gemfile +++ b/Gemfile @@ -38,5 +38,5 @@ end group :development, :test do gem 'debug' unless defined?(JRUBY_VERSION) gem 'rspec' - gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) && Gem::Version.new(JRUBY_VERSION) <= Gem::Version.new('9.4') + gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) end diff --git a/elasticsearch-api/utils/Gemfile b/elasticsearch-api/utils/Gemfile index 6f6f061b67..d7a0fe4d5a 100644 --- a/elasticsearch-api/utils/Gemfile +++ b/elasticsearch-api/utils/Gemfile @@ -24,5 +24,5 @@ gem 'multi_json' gem 'pry' gem 'thor' -gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) && Gem::Version.new(JRUBY_VERSION) <= Gem::Version.new('9.4') +gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) gem 'debug' unless defined?(JRUBY_VERSION)