Skip to content

Commit e5e8b7b

Browse files
committed
Attempt to fix minitest/mock loading on CI
1 parent 3aaf4c3 commit e5e8b7b

1 file changed

Lines changed: 30 additions & 32 deletions

File tree

Gemfile

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,38 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
1919

2020
gemspec
2121

22+
gem "minitest"
2223
gem "rake"
2324

24-
group :development do
25-
gem "activesupport", "~> 7.0.3"
26-
gem "drb"
27-
gem "faker"
28-
gem "flay"
29-
gem "flog"
30-
gem "gem-compiler"
31-
gem "grpc-tools", "~> 1.59"
32-
gem "heckle"
33-
gem "minitest"
34-
gem "minitest-reporters"
35-
gem "mutex_m"
36-
gem "rack"
37-
gem "reek"
38-
gem "rubocop", require: false
39-
gem "rubocop-minitest", require: false
40-
gem "rubocop-packaging", require: false
41-
gem "rubocop-performance", require: false
42-
gem "rubocop-rake", require: false
43-
gem "rubocop-thread_safety", require: false
44-
gem "ruby-lsp", require: false
45-
gem "simplecov-cobertura"
46-
gem "yard"
25+
gem "activesupport", "~> 7.0.3"
26+
gem "drb"
27+
gem "faker"
28+
gem "flay"
29+
gem "flog"
30+
gem "gem-compiler"
31+
gem "grpc-tools", "~> 1.59"
32+
gem "heckle"
33+
gem "minitest-reporters"
34+
gem "mutex_m"
35+
gem "rack"
36+
gem "reek"
37+
gem "rubocop", require: false
38+
gem "rubocop-minitest", require: false
39+
gem "rubocop-packaging", require: false
40+
gem "rubocop-performance", require: false
41+
gem "rubocop-rake", require: false
42+
gem "rubocop-thread_safety", require: false
43+
gem "ruby-lsp", require: false
44+
gem "simplecov-cobertura"
45+
gem "yard"
4746

48-
# Resolves https://github.com/ruby/openssl/issues/949 which we encounter when downloading gocaves on macOS on CI
49-
# This has been fixed in openssl versions 3.1.2, 3.2.2, 3.3.1.
50-
# The latest dot-patch version of Ruby 3.3 and 3.4 now comes with a new enough openssl version by default.
51-
if RUBY_PLATFORM.include?("darwin")
52-
if RUBY_VERSION.start_with?('3.2')
53-
gem "openssl", "~> 3.2.2"
54-
elsif RUBY_VERSION.start_with?('3.1')
55-
gem "openssl", "~> 3.1.2"
56-
end
47+
# Resolves https://github.com/ruby/openssl/issues/949 which we encounter when downloading gocaves on macOS on CI
48+
# This has been fixed in openssl versions 3.1.2, 3.2.2, 3.3.1.
49+
# The latest dot-patch version of Ruby 3.3 and 3.4 now comes with a new enough openssl version by default.
50+
if RUBY_PLATFORM.include?("darwin")
51+
if RUBY_VERSION.start_with?("3.2")
52+
gem "openssl", "~> 3.2.2"
53+
elsif RUBY_VERSION.start_with?("3.1")
54+
gem "openssl", "~> 3.1.2"
5755
end
5856
end

0 commit comments

Comments
 (0)