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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 922f845bb63958b4c0ade75bb1be725c3b0b16ae
4
- data.tar.gz: 515b0235033c08dcf03f1ee400c28a613014ab4c
3
+ metadata.gz: 00c282d03f5f541227804a784fbc57381fff8ddd
4
+ data.tar.gz: 1fc7b07688546bd23134650dc793e1b2d2591ca9
5
5
  SHA512:
6
- metadata.gz: 6f3dd91715345917a754aea565226c554c85baca4eb21ff0e4142f2dabdb9f19bac6a630c01610f1b1ecaab528aa41fc475ec2c4416a876521de842532b32fe9
7
- data.tar.gz: 53f4ac90cd42774869d71aa4afec67aa390cda61e15aa0ef85eb30ab3583047bd03a17772e19d8583e77f438f122685b5888b9fbb465d4974f2fe9b6d73d0cbe
6
+ metadata.gz: 3b5e451d53b63ef89a164636cbed57775e3f3ad0c3e4f3fad0888e9beaa7ce59cff5b0a54419717806976dd7895fc9865316375095fecd469b6c93c693da79f6
7
+ data.tar.gz: c10fe9ae6cd41b034aa86aab80e9f803516d61f9f37bb981996e53523580f1dd1e2968bf374c3b15ae718ef3b026201933139012e5562e48269bac94a069d621
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Negroku
1
+ Negroku [![Stories in Ready](https://badge.waffle.io/platanus/negroku.svg)](http://waffle.io/platanus/negroku)
2
2
  =======
3
3
 
4
4
  Negroku is an opinionated collection of recipes for capistrano.
data/lib/negroku/cli.rb CHANGED
@@ -191,7 +191,7 @@ class RemoteEnv < Thor
191
191
  end
192
192
  end
193
193
 
194
- %x(cap #{options[:stage]} rbenv:vars:add -s key=#{key} -s value=#{value})
194
+ %x(cap #{options[:stage]} rbenv:vars:add -s key="#{key}" -s value="#{value}")
195
195
  end
196
196
  end
197
197
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Negroku
2
- VERSION = "1.1.13"
2
+ VERSION = "1.1.14"
3
3
  end
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.13
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-06-20 00:00:00.000000000 Z
11
+ date: 2014-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano