masamune 0.13.5 → 0.13.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/masamune/commands/postgres.rb +1 -0
- data/lib/masamune/version.rb +1 -1
- data/spec/masamune/commands/postgres_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e73d107201a3c90ad32b2c6ab8bd9425a76e4f19
|
4
|
+
data.tar.gz: 8cf66f5f5359053dabeb89b9008cd6c03f73dd16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88c4a64e47cb44a8c2fe51a3b30274fda7238ef444325cd90f10a514040ad39707d93620e6a330db983f19e71d70cb2b542557b1632183c1571558b2cfa52b1a
|
7
|
+
data.tar.gz: 367c8a02080d323b372ab7963852b56affd885b84a2260c9feef7252f7ac966efb5e615d9881b2abc1b3cdfb27da1fada7a723849b6b2a6f4898a1727f39a7da
|
@@ -77,6 +77,7 @@ module Masamune::Commands
|
|
77
77
|
args << '--dbname=%s' % @database
|
78
78
|
args << '--username=%s' % @username if @username
|
79
79
|
args << '--no-password'
|
80
|
+
args << '--set=ON_ERROR_STOP=1'
|
80
81
|
args << @options.map(&:to_a)
|
81
82
|
args << command_args_for_file if @file
|
82
83
|
args << '--output=%s' % @output if @output
|
data/lib/masamune/version.rb
CHANGED
@@ -49,7 +49,7 @@ describe Masamune::Commands::Postgres do
|
|
49
49
|
end
|
50
50
|
|
51
51
|
describe '#command_args' do
|
52
|
-
let(:default_command) { ['psql', '--host=localhost', '--dbname=postgres', '--username=postgres', '--no-password'] }
|
52
|
+
let(:default_command) { ['psql', '--host=localhost', '--dbname=postgres', '--username=postgres', '--no-password', '--set=ON_ERROR_STOP=1'] }
|
53
53
|
|
54
54
|
subject do
|
55
55
|
instance.command_args
|