Ubuntu Pastebin

Paste from ubuntu at Thu, 7 Apr 2016 01:05:48 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff -Nru ruby-mysql2-0.4.3/debian/changelog ruby-mysql2-0.4.3/debian/changelog
--- ruby-mysql2-0.4.3/debian/changelog	2016-04-06 13:33:27.000000000 +0000
+++ ruby-mysql2-0.4.3/debian/changelog	2016-04-07 00:11:56.000000000 +0000
@@ -1,3 +1,9 @@
+ruby-mysql2 (0.4.3-2ubuntu2) UNRELEASED; urgency=medium
+
+  * read_timeout fix
+
+ -- Robie Basak <robie.basak@ubuntu.com>  Thu, 07 Apr 2016 00:11:53 +0000
+
 ruby-mysql2 (0.4.3-2ubuntu1) xenial; urgency=medium
 
   * FTBFS fixes (LP: #1566798) with thanks to Lars Tangvald:
diff -Nru ruby-mysql2-0.4.3/debian/patches/fix ruby-mysql2-0.4.3/debian/patches/fix
--- ruby-mysql2-0.4.3/debian/patches/fix	1970-01-01 00:00:00.000000000 +0000
+++ ruby-mysql2-0.4.3/debian/patches/fix	2016-04-07 01:05:35.000000000 +0000
@@ -0,0 +1,19 @@
+--- a/spec/mysql2/client_spec.rb
++++ b/spec/mysql2/client_spec.rb
+@@ -168,6 +168,7 @@
+   it "should terminate connections when calling close" do
+     expect {
+       Mysql2::Client.new(DatabaseCredentials['root']).close
++      sleep(1)
+     }.to_not change {
+       @client.query("SHOW STATUS LIKE 'Aborted_%'").to_a +
+         @client.query("SHOW STATUS LIKE 'Threads_connected'").to_a
+@@ -400,7 +401,7 @@
+   end
+ 
+   it "should allow nil read_timeout" do
+-    client = Mysql2::Client.new(:read_timeout => nil)
++    client = Mysql2::Client.new DatabaseCredentials['root'].merge(:read_timeout => nil)
+ 
+     expect(client.read_timeout).to be_nil
+   end
diff -Nru ruby-mysql2-0.4.3/debian/patches/series ruby-mysql2-0.4.3/debian/patches/series
--- ruby-mysql2-0.4.3/debian/patches/series	2016-04-06 13:29:10.000000000 +0000
+++ ruby-mysql2-0.4.3/debian/patches/series	2016-04-07 00:10:03.000000000 +0000
@@ -4,3 +4,4 @@
 skip-problematic-tests.patch
 trust-library-ABI.patch
 testfix.patch
+fix
Download as text