mls 0.5.11 → 0.5.12

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: 01ef30970a9913172f3c8d3e90fbb58a49be6d88
4
- data.tar.gz: 4dfce25762c45e70d0541053d08faa26ee09279a
3
+ metadata.gz: b538f48580395c293b6db4787129c7e8f3ed33bc
4
+ data.tar.gz: 45c71301f20ec1302b26ae4441d14abf60a5cfb8
5
5
  SHA512:
6
- metadata.gz: b6ecf55cba4258e3286a31637ec088c1f274ccf72cd0bc2cb65a3fc151759294fb42e22778d987259a84507e968231852c3f0aa756fb769e0a7c9dfaeb13434c
7
- data.tar.gz: ed3c79badd55feafe2ca75158f95ef3063903275cd1516a0b86d5cb625e6bc521eefd38191c7a088aeb53ffd563c425328a3d7dd2a19acf8b33ffd4c4b893a21
6
+ metadata.gz: 4f95e296d885454226caa908ffd695ce4bab523c7ce7f14d46c7bbb8305084cc72c3dadfbdb96675d8505dea1ff2a1ecf4e40a6c2a1fa274004047e652f6fccf
7
+ data.tar.gz: 396bb5dd753bca200ea0116de20fe2dd4837ffa62605705852eaea462b3666e0dc7739b10ef1e56b58b71dfc815e9ad7726449e8820412f84947ef41ab92627e
@@ -1,7 +1,16 @@
1
1
  class MLS::Property::Hash < MLS::Property
2
2
 
3
3
  def load(value) # from_json
4
- value.with_indifferent_access
4
+ case value
5
+ when Hash
6
+ value.with_indifferent_access
7
+ else
8
+ value
9
+ end
10
+ end
11
+
12
+ def dump(value)
13
+ value
5
14
  end
6
15
 
7
16
  end
@@ -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.5.11'
6
+ s.version = '0.5.12'
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.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy