File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 55
55
- uses : ruby/setup-ruby@v1
56
56
with :
57
57
ruby-version : ${{ matrix.ruby }}
58
+ - name : Install openssl
59
+ if : matrix.os == 'macos-latest'
60
+ run : |
61
+ brew update
62
+ brew install openssl
58
63
- run : ruby -v
59
64
- run : bundle install --without development
60
65
- if : matrix.db != ''
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ gem 'irb', require: false
15
15
group :test do
16
16
gem 'eventmachine' unless RUBY_PLATFORM =~ /mswin|mingw/
17
17
gem 'rspec' , '~> 3.2'
18
+
19
+ # Downgrade psych because old RuboCop can't use new Psych
20
+ gem 'psych' , '< 4.0.0'
18
21
# https://github.com/bbatsov/rubocop/pull/4789
19
22
gem 'rubocop' , '~> 0.50.0'
20
23
end
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ def run_gc
604
604
end
605
605
expect do
606
606
@client . query ( "SELECT SLEEP(1)" )
607
- end . to raise_error ( Mysql2 ::Error , /Lost connection to MySQL server / )
607
+ end . to raise_error ( Mysql2 ::Error , /Lost connection/ )
608
608
609
609
if RUBY_PLATFORM !~ /mingw|mswin/
610
610
expect do
You can’t perform that action at this time.
0 commit comments