app_config 2.5.1 → 2.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/app_config.rb +1 -1
- data/lib/app_config/storage/base.rb +2 -2
- data/lib/app_config/version.rb +1 -1
- data/spec/app_config/storage/base_spec.rb +10 -0
- 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: a323043cb8697dfa26863f65b97358206535d95e
|
4
|
+
data.tar.gz: 6e6f4b410ec63573165f17d9d47a31db16c64d44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c0fee908ea5d1135fe4c89b077049de152c3a18c91195b250969d1623ef33a748984c7017e2483ef0b7f7a1ed5295e11efdb2e2680f3b7be11fa106c728f683
|
7
|
+
data.tar.gz: bec56c30fabcc825578db5ee0453aee560bd37534271a2690ea098a9a53d5ccf0a5917fda69d52c3962e1be4dfd06651b7e02cc7600650d8807580c012d0dc3b
|
data/Gemfile.lock
CHANGED
data/lib/app_config.rb
CHANGED
@@ -30,7 +30,7 @@ module AppConfig
|
|
30
30
|
elsif @@options[:sqlite]
|
31
31
|
@@storage = AppConfig::Storage::SQLite.new(@@options.delete(:sqlite))
|
32
32
|
else
|
33
|
-
@@storage = AppConfig::Storage::Base.new
|
33
|
+
@@storage = AppConfig::Storage::Base.new(@@options)
|
34
34
|
end
|
35
35
|
|
36
36
|
yield @@storage if block_given?
|
data/lib/app_config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bson_ext
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- lib/app_config/storage/sqlite.rb
|
179
179
|
- lib/app_config/storage/yaml.rb
|
180
180
|
- lib/app_config/version.rb
|
181
|
+
- spec/app_config/storage/base_spec.rb
|
181
182
|
- spec/app_config/storage/config_data_spec.rb
|
182
183
|
- spec/app_config/storage/mongo_spec.rb
|
183
184
|
- spec/app_config/storage/mysql_spec.rb
|