mls 0.6.0 → 0.6.1

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: d948f83c31447ada55ca94e2a4f0d55e200cc077
4
- data.tar.gz: 3a2ee2e0892793aa313e808b3727b06f18fe97f8
3
+ metadata.gz: 4c96d423da8492aa04a55f24fb8404c647df067d
4
+ data.tar.gz: ecbf8d017d6a36b9edbfcad5c3adc2f58835eed3
5
5
  SHA512:
6
- metadata.gz: 6b44208810f0e08834ac2047edaaa5074eb35031b728f1dec7ed8050e28a7dd1b77ff578013dc3d6cd68b9a0b3e5bd7d674869a03e60c9165a3283a3ad882e8f
7
- data.tar.gz: 8a0337a955755785b64d117f5c75e05505e0f65bde09d0e818993a3e745587e7aea6b8132692b32c22a4eeb5c9b1bb80bc5568b2483198108962d0d998ac4de1
6
+ metadata.gz: e7ae518e1ed7b56bb12ef9962f0bfa06d4260d2c960e439ae90895b7e50909e1468a6609e4791d164f99d343fa1bc261ad0dc1fdc1cde3b10fe70e8737587786
7
+ data.tar.gz: 0dc21d165db1d8ecb1738a6d34d2460e8aaa961324af59c80a29452ebf3720a0d0827f9e45d02a58e9ac98ea7ef98f35b6902509bc5ce624845169c7caea345d
@@ -1,12 +1,7 @@
1
1
  class MLS::Property::Hash < MLS::Property
2
2
 
3
3
  def load(value) # from_json
4
- case value
5
- when Hash
6
- value.with_indifferent_access
7
- else
8
- value
9
- end
4
+ value && value.with_indifferent_access
10
5
  end
11
6
 
12
7
  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.0'
6
+ s.version = '0.6.1'
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.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-26 00:00:00.000000000 Z
12
+ date: 2013-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake