capistrano-postgresql 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/capistrano/postgresql/psql_helpers.rb +1 -1
- data/lib/capistrano/postgresql/version.rb +1 -1
- 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: 138e5f3257e31a0cf6ba439ea8a8a787aa4c16377aec1888ebd8fa980a7fa35b
|
4
|
+
data.tar.gz: 4edd1ef70be39500478543e601437707ce62535c61b67c18dfaca122c22cee31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad63666c883b4443ec12198a92c5fc92170b20a3d46a1fb780625e3eb76f92b01ed23f0658951429742d6315d27e6529d7f2d8e9d5557f0f69e3bed2c30f426
|
7
|
+
data.tar.gz: 27818f8f481646574ffb381e60ed004831f546f731d08020cfcbc093e8784a1fa5fa6590572a4b77d1cf03266cd6c8c4f6f2ce18bda74b70a088f8dad72a9eec
|
data/README.md
CHANGED
@@ -55,7 +55,7 @@ set :pg_generate_random_password, true # Generates a random password on each set
|
|
55
55
|
Example config:
|
56
56
|
|
57
57
|
```
|
58
|
-
server 'yoursite.net', user: '
|
58
|
+
server 'yoursite.net', user: 'ssh_username_here', roles: %w{app db}
|
59
59
|
set :stage, :development
|
60
60
|
set :branch, 'development'
|
61
61
|
# ==================
|
@@ -7,7 +7,7 @@ module Capistrano
|
|
7
7
|
# Add the :pg_system_user to psql command since we aren't using sudo anymore
|
8
8
|
cmd = [ :psql, "-d #{database}", *args.unshift("-U #{fetch(:pg_system_user)}") ]
|
9
9
|
else
|
10
|
-
cmd = [:sudo, "-i -u #{fetch(:pg_system_user)}", *
|
10
|
+
cmd = [:sudo, "-i -u #{fetch(:pg_system_user)}", :psql, *args]
|
11
11
|
end
|
12
12
|
# Allow us to execute the different sshkit commands
|
13
13
|
if type == 'test'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-postgresql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Sutic
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-07-
|
12
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|