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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c0f485e4bf0ea288af9b0afaad45e95efc68b817442c347db9e169aa5853128
4
- data.tar.gz: 32a1785b99b1933d44a6a5d6da5b24c066e004915c9f80c7be2169070683d025
3
+ metadata.gz: 138e5f3257e31a0cf6ba439ea8a8a787aa4c16377aec1888ebd8fa980a7fa35b
4
+ data.tar.gz: 4edd1ef70be39500478543e601437707ce62535c61b67c18dfaca122c22cee31
5
5
  SHA512:
6
- metadata.gz: 169cb53f9f4ca8b51ca400faad4500f1e6f7aab18388790cdb0f13092aff14b4a1422d0957b426bc49cbe65f9740bfe0c76aea90d34b7352c74e3291b350ec06
7
- data.tar.gz: c64cd51211d920d55bbbd4e5955d401dd6ce013290d00ff2807e3e02cd6378af380bd3abb89fafbdc341cf03e81b47f30be4fd3c53720f3f9e6e61ae5ccd4bcb
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: 'growtrader', roles: %w{app db}
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)}", *cmd]
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'
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Postgresql
3
- VERSION = '6.0.0'
3
+ VERSION = '6.0.1'
4
4
  end
5
5
  end
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.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-09 00:00:00.000000000 Z
12
+ date: 2018-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano