greenonline_capistrano_recipes 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/greenonline/capistrano_recipes/version.rb +1 -1
- data/lib/greenonline/recipes/base.rb +2 -2
- 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: 434edc795057d242b372a35d090b29df5f080751
|
4
|
+
data.tar.gz: 01f99b233b87bffb0485f825c7f8f238159bc7b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb40c37ff00534647f919b5ebbc78588be87fefaa804b511176469bbc53dfa77d73eb47ea1617769ec97ec02741dc8939f72a8b873ca7f7a7bb944f6db27896b
|
7
|
+
data.tar.gz: cf51f6e80ed3228e06a410c04d8f4590c0f1a841ef9179402376500dde49d36cced86f983c8dc06179fa6b7b084e72a4c0e19810e41315b4a55bee72351c0a17
|
@@ -12,7 +12,7 @@ module Capistrano
|
|
12
12
|
|
13
13
|
def surun(command)
|
14
14
|
run("su - -c '#{command}'") do |channel, stream, data|
|
15
|
-
if data =~ /\
|
15
|
+
if data =~ /\b(password|wachtwoord).*:/i
|
16
16
|
password = fetch(:root_password, Capistrano::CLI.password_prompt("Root password required!: "))
|
17
17
|
channel.send_data("#{password}\n")
|
18
18
|
else
|
@@ -22,7 +22,7 @@ module Capistrano
|
|
22
22
|
end
|
23
23
|
|
24
24
|
set_default(:bundle_flags) { "--deployment --quiet --binstubs" }
|
25
|
-
set_default(:bundle_cmd) { "
|
25
|
+
set_default(:bundle_cmd) { "bundle" }
|
26
26
|
set_default(:stage) { "production" }
|
27
27
|
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greenonline_capistrano_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pieter Visser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|