mls 0.6.1 → 0.6.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: 4c96d423da8492aa04a55f24fb8404c647df067d
4
- data.tar.gz: ecbf8d017d6a36b9edbfcad5c3adc2f58835eed3
3
+ metadata.gz: effadb1d18fd629de23da5cda2fe728c11a9bf7c
4
+ data.tar.gz: 54f1241b3984d2d5a28eb52db546e6d816afa10b
5
5
  SHA512:
6
- metadata.gz: e7ae518e1ed7b56bb12ef9962f0bfa06d4260d2c960e439ae90895b7e50909e1468a6609e4791d164f99d343fa1bc261ad0dc1fdc1cde3b10fe70e8737587786
7
- data.tar.gz: 0dc21d165db1d8ecb1738a6d34d2460e8aaa961324af59c80a29452ebf3720a0d0827f9e45d02a58e9ac98ea7ef98f35b6902509bc5ce624845169c7caea345d
6
+ metadata.gz: f7f961e554a6a2d96163d7ad187ddb357e78105833eecff65fef1000b1fe2f0c0472ee4b31aaab460e3b1c106a257591b0fc283bc0edf6074522276f5ec43c35
7
+ data.tar.gz: 1b46dd65a0474b65a3d0904af90da6ecc32eae367ae8cc15c6c1d7399f09ade3ff0e902301b2660019ac046552482595b6a6c42f3e2247de1a3da686858068a0
@@ -1,7 +1,11 @@
1
1
  class MLS::Property::Hash < MLS::Property
2
2
 
3
3
  def load(value) # from_json
4
- value && value.with_indifferent_access
4
+ if value.is_a?(Hash)
5
+ value.with_indifferent_access
6
+ else
7
+ value
8
+ end
5
9
  end
6
10
 
7
11
  def dump(value)
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mls"
6
- s.version = '0.6.1'
6
+ s.version = '0.6.2'
7
7
  s.authors = ["James R. Bracy", "Jon Bracy"]
8
8
  s.email = ["james@42floors.com"]
9
9
  s.homepage = "http://mls.42floors.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy