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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eaf67212490361b2cae173771f98e60629a4623f
4
- data.tar.gz: a2259e85f5490ab03db095948feffca50b2f2734
3
+ metadata.gz: 434edc795057d242b372a35d090b29df5f080751
4
+ data.tar.gz: 01f99b233b87bffb0485f825c7f8f238159bc7b9
5
5
  SHA512:
6
- metadata.gz: d96ecf68212798dd3b26e4b8b372e96d68046db46e5ec1ac31c68438531eba4fa7a49de284e11ea2e26f8acfaee82abc131b67842597dd45626a5bb5eda9e9f7
7
- data.tar.gz: db3f4e8e3d27cd8c6d5d1ebaa4d1c594f0f38a8e2cb29be6e422ba4418efe454ac5753db72f3a85b9a5c69b723073b25acf51c577909796ebd640c4360c65a09
6
+ metadata.gz: bb40c37ff00534647f919b5ebbc78588be87fefaa804b511176469bbc53dfa77d73eb47ea1617769ec97ec02741dc8939f72a8b873ca7f7a7bb944f6db27896b
7
+ data.tar.gz: cf51f6e80ed3228e06a410c04d8f4590c0f1a841ef9179402376500dde49d36cced86f983c8dc06179fa6b7b084e72a4c0e19810e41315b4a55bee72351c0a17
@@ -1,5 +1,5 @@
1
1
  module Greenonline
2
2
  module CapistranoRecipes
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.16"
4
4
  end
5
5
  end
@@ -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 =~ /\bpassword.*:/i
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) { "#{current_release}/bin/bundle" }
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.15
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-08-25 00:00:00.000000000 Z
11
+ date: 2013-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler