Skip to content

Commit

Permalink
! Fix CI about JRuby via pinning jar-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Dec 26, 2024
1 parent e665fbf commit 2782042
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ source 'https://rubygems.org'
gemspec
gem 'rcov', :platforms => :mri_18, :group => [:development, :test]
gem 'simplecov', :platforms => [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], :group => [:development, :test], :require => false
gem 'jruby-openssl', :platform => :jruby
gem 'jruby-openssl', :platforms => :jruby
# https://github.com/jruby/jruby/issues/7262
gem "jar-dependencies", "0.4.1", :platforms => :jruby
gem 'rails'
3 changes: 2 additions & 1 deletion gemfiles/rails_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "jruby-openssl", platforms: :jruby
gem "jar-dependencies", "0.4.1", platforms: :jruby
gem "rails", "~> 6.1.0"
gem "mutex_m"

Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "jruby-openssl", platforms: :jruby
gem "jar-dependencies", "0.4.1", platforms: :jruby
gem "rails", "~> 7.0.0"
gem "mutex_m"

Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "jruby-openssl", platforms: :jruby
gem "jar-dependencies", "0.4.1", platforms: :jruby
gem "rails", "~> 7.1.0"

gemspec path: "../"
3 changes: 2 additions & 1 deletion gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "jruby-openssl", platforms: :jruby
gem "jar-dependencies", "0.4.1", platforms: :jruby
gem "rails", "~> 7.2.0"

gemspec path: "../"
3 changes: 2 additions & 1 deletion gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "jruby-openssl", platforms: :jruby
gem "jar-dependencies", "0.4.1", platforms: :jruby
gem "rails", "~> 8.0.0"

gemspec path: "../"

0 comments on commit 2782042

Please sign in to comment.