rails-settings-cached 0.5.0 → 0.5.2

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: e5ff4437eeee1b3c42d9f0a38b5465f79d40543e
4
- data.tar.gz: 71914cc7e2c4fd70d30388d66c376580099103dc
3
+ metadata.gz: 7aba7edfebe094b6ccaa51c55ae0dd5c0e92842a
4
+ data.tar.gz: c44c2f40800e342d85b22bffc81d776be03de2a4
5
5
  SHA512:
6
- metadata.gz: 4b1af6234a929ea919d40f768e82ef48b7232906680e7185673011b9275c789225025797982ea5a964848b33f274813e2ffba4ed4bfdf77e9d13d8dd3e3d54ee
7
- data.tar.gz: d73891ca6c1fb5f194856074209c2c2256588ef9a253fdd870440122ae9c5df427dd4ce9002100dfc209da3a69e7dad3739274f6edaf243dd99c4d9aa6b905f4
6
+ metadata.gz: c806f24c84ccc62eac1c5e3324dcdd9cf9f57ee9598f1414243e7e8b56dc9c9e6f328f58ced6c2fe8daf629febec87b2dbb40a244494d7b58a7b1efae1673d84
7
+ data.tar.gz: a1d3b9d9696423ac2d96b82143f5b5c83d11f3d93a4fed76f2c9275fbe05cbb1ee9635431d6fb49bd5cec55ceb150a93b0f3e420066e3cae995555ff2326887e
@@ -60,6 +60,8 @@ module RailsSettings
60
60
  vars.each do |record|
61
61
  result[record.var] = record.value
62
62
  end
63
+ result.merge! @@defaults.slice(*(@@defaults.keys - result.keys))
64
+
63
65
  result.with_indifferent_access
64
66
  end
65
67
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-settings-cached
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Squeegy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-10-14 00:00:00.000000000 Z
14
+ date: 2015-11-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- version: '0'
112
+ version: '2.0'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="