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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6254cbdf4db21d11be05d39c04457b3ad2a00f72
4
- data.tar.gz: 1abc5b054d7e691fe533340f878c09faf05784c7
3
+ metadata.gz: bc331cb53128742ecc57b70aebcb20aee74c821f
4
+ data.tar.gz: 45e7934230a6c8db6d27e2a8f7a43997422a3517
5
5
  SHA512:
6
- metadata.gz: 79793ae19f9bb70b9b9f3c3657d90cde13af1ae7a43cb7a5a9cf0434e07156eb4345dcb457ac3676ea3202690840d5a282716c44ee895c24999da22ebbc7d1a8
7
- data.tar.gz: 4718a54bb541408560e26ca6ea38028314cac7a50eee6666ab6207fe7c68cfa18eba901ffe67b8800c6878281c58e6ad04035c33ed1ff637b571c14dfe8f6677
6
+ metadata.gz: 53f0934447d3c2a9639dd3fe3d921ee987c63627b045b51c9d8ae6e995c35a0b09f5390df09f5375c75e8f83700257b2feb3f28c6a3bb7555146a58b7a83b78b
7
+ data.tar.gz: d89e6c43f59753bcb09aea42b1049451f2d82f088597ac0177848efff29adde104a459aa7a2756a2d6050a711d2e5ef13a5f9d87c5270331d1be437c0281f5ea
@@ -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.clone
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.5"
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}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snappconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yarin Kessler