From 6c078ff15b8532055e3904a33fd0ec75da242281 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Tue, 16 May 2023 09:26:56 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + .rubygem-mysql2.metadata | 1 + ....3-fix-assertion-mariadb-connector-c.patch | 22 ------------------- sources | 2 +- 4 files changed, 3 insertions(+), 23 deletions(-) create mode 100644 .rubygem-mysql2.metadata delete mode 100644 rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch diff --git a/.gitignore b/.gitignore index f1c7511..c5477b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ SOURCES/mysql2-0.4.10.gem +/mysql2-0.4.10.gem diff --git a/.rubygem-mysql2.metadata b/.rubygem-mysql2.metadata new file mode 100644 index 0000000..99fa469 --- /dev/null +++ b/.rubygem-mysql2.metadata @@ -0,0 +1 @@ +b4d1606147276f61105759b45a0f4f06d8ac6750 mysql2-0.4.10.gem 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 e668824..1dca6e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA1 (mysql2-0.4.10.gem) = b4d1606147276f61105759b45a0f4f06d8ac6750 +SHA512 (mysql2-0.4.10.gem) = 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43