Fix import.

This commit is contained in:
Jarek Prokop 2023-04-19 13:09:21 +02:00 committed by Stepan Oksanichenko
parent 92643afbea
commit e7cbbc9756
3 changed files with 4 additions and 26 deletions

6
.gitignore vendored
View File

@ -1,4 +1,2 @@
SOURCES/mysql2-0.5.3-tests.txz
SOURCES/mysql2-0.5.3.gem
/mysql2-0.5.3-tests.txz
/mysql2-0.5.3.gem
/mysql2-*-tests.txz
/mysql2-*.gem

2
.rubygem-mysql2.metadata Normal file
View File

@ -0,0 +1,2 @@
efae18a40b17065bff7f04732e8165d64393531c mysql2-0.5.3-tests.txz
75e6935c4d9a2b1c047d9e9b69c4c6d4c7e0faef mysql2-0.5.3.gem

View File

@ -1,22 +0,0 @@
From cca57b97ad6d1b1b985376be110b89d2b487dea6 Mon Sep 17 00:00:00 2001
From: Aaron Patterson <tenderlove@ruby-lang.org>
Date: Tue, 30 Nov 2021 12:59:43 -0800
Subject: [PATCH] fix assertion on maria
downgrade psych
---
spec/mysql2/client_spec.rb | 2 +-
diff --git a/spec/mysql2/client_spec.rb b/spec/mysql2/client_spec.rb
index 1519e0f5d..41fb834bf 100644
--- a/spec/mysql2/client_spec.rb
+++ b/spec/mysql2/client_spec.rb
@@ -573,7 +573,7 @@ def run_gc
end
expect do
@client.query("SELECT SLEEP(1)")
- end.to raise_error(Mysql2::Error, /Lost connection to MySQL server/)
+ end.to raise_error(Mysql2::Error, /Lost connection/)
if RUBY_PLATFORM !~ /mingw|mswin/
expect do