youthtree-settings 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/youth_tree/settings.rb +2 -2
- data/youthtree-settings.gemspec +1 -1
- metadata +3 -3
data/lib/youth_tree/settings.rb
CHANGED
@@ -3,7 +3,7 @@ require 'yaml'
|
|
3
3
|
module YouthTree
|
4
4
|
class Settings
|
5
5
|
|
6
|
-
VERSION = "0.1.
|
6
|
+
VERSION = "0.1.4".freeze
|
7
7
|
|
8
8
|
cattr_reader :settings_path
|
9
9
|
def self.settings_path
|
@@ -135,7 +135,7 @@ module YouthTree
|
|
135
135
|
when self.class
|
136
136
|
value.to_hash
|
137
137
|
when Hash
|
138
|
-
|
138
|
+
Hash.new.tap do |h|
|
139
139
|
value.each_pair { |k,v| h[k] = unpack_attr(v) }
|
140
140
|
end
|
141
141
|
when Array
|
data/youthtree-settings.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youthtree-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Darcy Laycock
|