snappconfig 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snappconfig/railtie.rb +1 -1
- data/snappconfig.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc331cb53128742ecc57b70aebcb20aee74c821f
|
4
|
+
data.tar.gz: 45e7934230a6c8db6d27e2a8f7a43997422a3517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53f0934447d3c2a9639dd3fe3d921ee987c63627b045b51c9d8ae6e995c35a0b09f5390df09f5375c75e8f83700257b2feb3f28c6a3bb7555146a58b7a83b78b
|
7
|
+
data.tar.gz: d89e6c43f59753bcb09aea42b1049451f2d82f088597ac0177848efff29adde104a459aa7a2756a2d6050a711d2e5ef13a5f9d87c5270331d1be437c0281f5ea
|
data/lib/snappconfig/railtie.rb
CHANGED
@@ -11,7 +11,7 @@ module Snappconfig
|
|
11
11
|
if !is_rake_task
|
12
12
|
|
13
13
|
# Look for CONFIG file in ENV (For Heroku) or else load from file system:
|
14
|
-
appconfig = ENV['CONFIG'] ? YAML.load(ENV['CONFIG']) : Snappconfig.merged_raw.
|
14
|
+
appconfig = ENV['CONFIG'] ? YAML.load(ENV['CONFIG']) : Snappconfig.merged_raw.deep_dup
|
15
15
|
|
16
16
|
appconfig.deep_merge! appconfig.fetch('defaults', {})
|
17
17
|
appconfig.deep_merge! appconfig.fetch(Rails.env, {})
|
data/snappconfig.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "snappconfig"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.6"
|
8
8
|
spec.authors = ["Yarin Kessler"]
|
9
9
|
spec.email = "ykessler@appgrinders.com"
|
10
10
|
spec.summary = %q{Smarter Rails configuration with YAML}
|