import sources

This commit is contained in:
Adam Samalik 2023-05-16 09:26:56 +02:00 committed by Stepan Oksanichenko
parent 4adfd6c681
commit d719dd67e3
4 changed files with 3 additions and 23 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/mysql2-0.4.10.gem
/mysql2-0.4.10.gem

1
.rubygem-mysql2.metadata Normal file
View File

@ -0,0 +1 @@
b4d1606147276f61105759b45a0f4f06d8ac6750 mysql2-0.4.10.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

View File

@ -1 +1 @@
SHA1 (mysql2-0.4.10.gem) = b4d1606147276f61105759b45a0f4f06d8ac6750
SHA512 (mysql2-0.4.10.gem) = 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43