youthtree-settings 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ require 'yaml'
3
3
  module YouthTree
4
4
  class Settings
5
5
 
6
- VERSION = "0.1.3".freeze
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
- returning({}) do |h|
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{youthtree-settings}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
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: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock