capistrano3-env 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f524cdfe79d4a71c21591cfa615abeb0d4e44b3f
4
- data.tar.gz: a495073f3424f6613c69712f4adc99e4140802eb
3
+ metadata.gz: 49d7d1ef24878a9c9c1476c961996dc500685c39
4
+ data.tar.gz: 661dc87135d601f1c55c6e99293249877e71cd1c
5
5
  SHA512:
6
- metadata.gz: 4e93c9dcaa5bc28feced5eb44b4a8a94b5ffcf3d19f3cde32de7a9c9448bbfcaf8e51b3b52d27a69111d12a6414565fe46c612578011b2383fdbad9766c4ca1a
7
- data.tar.gz: 96ae97373b923c72fe4c5d6afabc7869b2394877287852ba8af3bf9728a10695771617a3724e21bb2b817a6ba8a555a9e6d95985b7380d6416af41815dfd7568
6
+ metadata.gz: 6422567fb2f08cca8808f36615ae16a9511e3529d33722ed720ecca35ccd3b4c7e32fc1bff94b6738f0fa4aad4d3f657ed3704bd2d8c67f756efd71dbdb1aaad
7
+ data.tar.gz: 512c41cd13fca262c0904fa330bc095fcb0201985dcbf0670c416ab0beedd7f01af67895668b3f5b10cba480555afcb9c536ca1c304b9a40440c014e2c5b03ad
data/README.md CHANGED
@@ -20,7 +20,7 @@ Add the following to your `Capfile`:
20
20
  Rake (which is used by Capistrano) has a not so pratical way of specifying task
21
21
  arguments. To alleviate that issue, a small custom executable was made:
22
22
 
23
- bundle exec cap-config [stage] [operation] [KEY] [VALUE]
23
+ bundle exec cap-env [stage] [operation] [KEY] [VALUE]
24
24
 
25
25
  The possible use cases are the following:
26
26
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "capistrano3-env"
7
- gem.version = '0.1.1'
7
+ gem.version = '0.1.2'
8
8
  gem.authors = ["Miguel Palhas"]
9
9
  gem.email = ["mpalhas@gmail.com"]
10
10
  gem.description = %q{Environment variables management for Capistrano 3}
@@ -80,6 +80,7 @@ module Capistrano
80
80
  values = string.split("\n").map do |line|
81
81
  line.split(/:|\n/, 2).map(&:strip)
82
82
  end
83
+ values.reject(&:empty?)
83
84
  Hash[values]
84
85
  end
85
86
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Palhas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-27 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 2.2.2
65
+ rubygems_version: 2.5.1
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Environment variables management for Capistrano 3