capistrano-figaro-yml 1.0.3 → 1.0.4
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 +4 -4
- data/lib/capistrano/figaro_yml/helpers.rb +1 -1
- data/lib/capistrano/figaro_yml/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f01474a961db5d46003e27cc91db060094d24af2
|
|
4
|
+
data.tar.gz: 3fee16c62d29ee72689331a1672036463dd4561f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e8add2c9e9ed1051b1812802a81be05cae3ae74b0ca3158ad0b862db1fb4bfd9bb313f4402fe7e624a1e73d2cd5544083781d1c367ca3a47125a00ed312f1f0
|
|
7
|
+
data.tar.gz: 0e932113e8b4976b4d49afeea610fa6929f98cbbf9eff2da4e5d8bde3102faecc4b7d1f5d87756c35ff11d3f74ffba0b770a8249bebf339256fb4c1de517cc8b
|
|
@@ -7,7 +7,7 @@ module Capistrano
|
|
|
7
7
|
def local_figaro_yml(env)
|
|
8
8
|
@local_figaro_yml ||= YAML.load(ERB.new(File.read(figaro_yml_local_path)).result)
|
|
9
9
|
local_figaro = {}
|
|
10
|
-
deployment_env = fetch(:rails_env, env)
|
|
10
|
+
deployment_env = fetch(:rails_env, env).to_s
|
|
11
11
|
|
|
12
12
|
@local_figaro_yml.each do |key, value|
|
|
13
13
|
if key == env
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-figaro-yml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chia-Hui Chou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -107,3 +107,4 @@ specification_version: 4
|
|
|
107
107
|
summary: Capistrano tasks for automating figaro `application.yml` file handling for
|
|
108
108
|
Rails 4+ apps.
|
|
109
109
|
test_files: []
|
|
110
|
+
has_rdoc:
|