simply_configurable 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/lib/simply_configurable/version.rb +1 -1
- data/lib/simply_configurable.rb +2 -2
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/lib/simply_configurable.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'active_support/
|
1
|
+
require 'active_support/core_ext/hash'
|
2
2
|
|
3
3
|
module SimplyConfigurable
|
4
4
|
|
@@ -15,7 +15,7 @@ module SimplyConfigurable
|
|
15
15
|
module ClassMethods
|
16
16
|
|
17
17
|
def config(options = {})
|
18
|
-
@config ||=
|
18
|
+
@config ||= {}.with_indifferent_access
|
19
19
|
|
20
20
|
if options
|
21
21
|
@config.merge!(options || {})
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simply_configurable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Dawson
|