diff --git a/.gitignore b/.gitignore index ce585a5..b9795d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ SOURCES/mysql2-0.5.2.gem +/mysql2-0.5.2.gem diff --git a/mysql2-0.4.10.gem b/mysql2-0.4.10.gem new file mode 100644 index 0000000..8e6d94f Binary files /dev/null and b/mysql2-0.4.10.gem differ diff --git a/rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch b/rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch deleted file mode 100644 index 7707d01..0000000 --- a/rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch +++ /dev/null @@ -1,22 +0,0 @@ -From cca57b97ad6d1b1b985376be110b89d2b487dea6 Mon Sep 17 00:00:00 2001 -From: Aaron Patterson -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 diff --git a/sources b/sources index 4450275..c296cde 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA1 (mysql2-0.5.2.gem) = d6967bc3a34d2dfc683047aee33f8c050ca10722 +SHA512 (mysql2-0.5.2.gem) = 6013b0c862f24f0c20b22c50a17390a7a22390e661d0f1afb613177febfbf854f63aea9bc9aa8defc9521896144fbc035a8e16b135abb47384453a23dfd99566