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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d298c8e43119cf5f27d6df68c346a9eb812a06dd
4
- data.tar.gz: ac037a2c8679c0d4fc067c62aa3b521a998b2f7d
3
+ metadata.gz: 9905f46f89b86160ac6075a3c3f1f17c1d2df765
4
+ data.tar.gz: 0f0cbb87d71873ee799edba4201a5d49f34d9e82
5
5
  SHA512:
6
- metadata.gz: e7fa32d78ace8ead9816bcccb39d3c804189209ced4f925a32ad462426a2baddaa03b3bbedb7689e66ab0fa8fcc72106cc89146f9202da16856593a97e12c658
7
- data.tar.gz: 65304d83ab743db4ea90eb30625bee6ee8813c5748eaa158fa26d7a813cd5ee49ba6a4d6d08fa3ffe4edc29d17f56c23e241f6a35d2895182665bf8d26a90f23
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)
@@ -1,4 +1,4 @@
1
1
  module Bricolage
2
2
  APPLICATION_NAME = 'Bricolage'
3
- VERSION = '5.9.5'
3
+ VERSION = '5.9.6'
4
4
  end
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.5
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-07-27 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg