prick 0.20.24 → 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 +7 -3
- data/lib/prick/version.rb +1 -1
- data/prick.gemspec +2 -0
- metadata +2 -2
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,11 +135,15 @@ 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
|
-
raise Prick::Error, "Failed executing #{pipe.cmd}"
|
146
|
+
raise Prick::Error, "Failed executing #{pipe.cmd} #{args.join(" ")}"
|
143
147
|
end
|
144
148
|
@source_lines = 1 + 1 + sql.count("\n")
|
145
149
|
["set search_path to #{schema};\n", sql]
|
data/lib/prick/version.rb
CHANGED
data/prick.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic
|