negroku 1.1.13 → 1.1.14
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/negroku/cli.rb +1 -1
- data/lib/negroku/tasks/rbenv.rb +1 -1
- data/lib/negroku/version.rb +1 -1
- 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: 00c282d03f5f541227804a784fbc57381fff8ddd
|
4
|
+
data.tar.gz: 1fc7b07688546bd23134650dc793e1b2d2591ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5e451d53b63ef89a164636cbed57775e3f3ad0c3e4f3fad0888e9beaa7ce59cff5b0a54419717806976dd7895fc9865316375095fecd469b6c93c693da79f6
|
7
|
+
data.tar.gz: c10fe9ae6cd41b034aa86aab80e9f803516d61f9f37bb981996e53523580f1dd1e2968bf374c3b15ae718ef3b026201933139012e5562e48269bac94a069d621
|
data/README.md
CHANGED
data/lib/negroku/cli.rb
CHANGED
data/lib/negroku/tasks/rbenv.rb
CHANGED
@@ -12,7 +12,7 @@ namespace :rbenv do
|
|
12
12
|
desc "Add rbenv vars"
|
13
13
|
task :add, :roles => lambda { rbenv_roles } do
|
14
14
|
cmd = "if awk < #{shared_path}/.rbenv-vars -F= '{print $1}' | grep --quiet -w #{key}; then "
|
15
|
-
cmd += "sed -i 's/^#{key}=.*/#{key}=#{value.gsub("\/", "\\/")}/g' #{shared_path}/.rbenv-vars;"
|
15
|
+
cmd += "sed -i 's/^#{key}=.*/#{key}=#{value.to_s.gsub("\/", "\\/").gsub("&", "\\\\&")}/g' #{shared_path}/.rbenv-vars;"
|
16
16
|
cmd += "else echo '#{key}=#{value}' >> #{shared_path}/.rbenv-vars;"
|
17
17
|
cmd += "fi"
|
18
18
|
run cmd
|
data/lib/negroku/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: negroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Ignacio Donoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|