prick 0.20.26 → 0.20.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/builder/node.rb +6 -2
- data/lib/prick/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb6da68d55bd73eae53e53518648219fb43dfb7fd74efc96ac9e8cecb901db76
|
4
|
+
data.tar.gz: 01d468a6faa5a575c6a36805bd3073f854e197f2846ab11ccb723d6b0fefd661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bbb991c2733e270ad00913cefeaf7d50dce15b18e5abc4994e45946d9d83aaad1659ecc9d3a2d0b08e4a3119fb10ff1ed1d13ea0dbf4464cfa9ceaa0c0736f6
|
7
|
+
data.tar.gz: bff7a39be7d12a4e7ff3a6325a2b945a69064025929c96c4c579bfa29877cc2fd22365f5fffc284831c687cf051cc84b524ed2899d7c47c8d97e92186302a48f
|
data/lib/builder/node.rb
CHANGED
@@ -135,8 +135,12 @@ module Prick
|
|
135
135
|
|
136
136
|
protected
|
137
137
|
def read_source
|
138
|
-
|
139
|
-
|
138
|
+
begin
|
139
|
+
pipe.puts [conn.name, conn.user]
|
140
|
+
sql = pipe.wait
|
141
|
+
rescue Errno::EPIPE
|
142
|
+
raise Prick::Error, "Pipe fail on #{pipe.cmd} #{args.join(" ")}"
|
143
|
+
end
|
140
144
|
if pipe.status != 0
|
141
145
|
$stderr.puts pipe.error
|
142
146
|
raise Prick::Error, "Failed executing #{pipe.cmd} #{args.join(" ")}"
|
data/lib/prick/version.rb
CHANGED