bricolage 5.9.5 → 5.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bricolage/psqldatasource.rb +2 -1
- data/lib/bricolage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9905f46f89b86160ac6075a3c3f1f17c1d2df765
|
4
|
+
data.tar.gz: 0f0cbb87d71873ee799edba4201a5d49f34d9e82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 755cc0f36123b24a461b3dc7b553604817c588fd4d25f1584eafbfcdd075a2185a1ed3e3020587315f7b5ad8b443746e171f09356ef1cfe316af080f731f6871
|
7
|
+
data.tar.gz: 41dce6356cb69bb7ca8d8c19da87d4c9278aadb754bf82a2445bad3c23f24a403478a67db5b2fcb38ead654841fc9ed3830a1bcfe8eface885d904ce966284eb
|
@@ -56,7 +56,7 @@ module Bricolage
|
|
56
56
|
yield
|
57
57
|
end
|
58
58
|
|
59
|
-
def execute(source)
|
59
|
+
def execute(source, options = [])
|
60
60
|
make_tmpfile(source, tmpdir: @tmpdir) {|path|
|
61
61
|
st = command @psql, "--no-psqlrc", "--host=#{@host}", "--port=#{@port}",
|
62
62
|
"--username=#{@user}", @database,
|
@@ -64,6 +64,7 @@ module Bricolage
|
|
64
64
|
'-v', 'ON_ERROR_STOP=true',
|
65
65
|
'-f', path,
|
66
66
|
'--no-password',
|
67
|
+
*options,
|
67
68
|
env: get_psql_env
|
68
69
|
msg = retrieve_last_match_from_stderr(/^psql:.*?:\d+: ERROR: (.*)/, 1) unless st.success?
|
69
70
|
JobResult.for_process_status(st, msg)
|
data/lib/bricolage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bricolage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.9.
|
4
|
+
version: 5.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minero Aoki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|