mls 0.6.5 → 0.6.6

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: f1dbf0ba030e794b956ef4e91b576e57f2597d97
4
- data.tar.gz: eee480fd10e321dcadca10b7ffb09b4d0c43d0cd
3
+ metadata.gz: 149e003fac1c2ba88cd130cc4460a3372d74edb2
4
+ data.tar.gz: 4ff86a88b3987a7f3f842c4a29e9a78414e0714a
5
5
  SHA512:
6
- metadata.gz: 2b14c92b4ecce2e4fa9d086c768190b1f873ea81c71736b1159ce92ab6672946b5c6dabd4a46ae000607598fa2b036cdf360515437fc8f8ca8e2216e27271f3a
7
- data.tar.gz: f815bb7f4f1d2c7d4394871eb93df8afe1f146ed9570559cf1d8f624990ed86cf7b4601f7cc819ae3c8b4760fd783858d566f1cb28816418397d231ef6aaa83b
6
+ metadata.gz: 3fd9db65c94c51d57a43f98e8ec25e71ff2bfe8fbf77a1e0c03c752102efbd14dcbf72ba30894772b55ca54c88d6fcf4f0acfc90995a56193f8203dc29e33526
7
+ data.tar.gz: 7e31314310c16aec819dd70d532342b2c9e407c0bdd461702c3e10877ebbebc3611b0e5dbd480c76a64db45455619916e99d092fce7cdf143ec705bae1e318f2
@@ -28,6 +28,12 @@ class MLS::Account < MLS::Resource
28
28
 
29
29
  property :email_token, String, :serialize => false
30
30
  property :auth_key, String, :serialize => false
31
+ property :start_hours_of_operation, Fixnum, :serialize => :if_present
32
+ property :end_hours_of_operation, Fixnum, :serialize => :if_present
33
+ property :days_of_operation, String, :serialize => :if_present
34
+ property :timezone, String, :serialize => :if_present
35
+ property :lead_status, String, :serialize => :if_present
36
+ property :buyer_id, Fixnum, :serialize => :if_present
31
37
 
32
38
  exclude_from_comparison :password, :password_confirmation
33
39
 
@@ -256,7 +256,7 @@ class MLS::Listing < MLS::Resource
256
256
  end
257
257
 
258
258
  def amenities
259
- @amenities ||= Yajl::Parser.new.parse(MLS.get('/listings/amenities').body).map(&:to_sym)
259
+ @amenities ||= Yajl::Parser.new(:symbolize_keys => true).parse(MLS.get('/listings/amenities').body)
260
260
  end
261
261
 
262
262
  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.6.5'
6
+ s.version = '0.6.6'
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.5
4
+ version: 0.6.6
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-30 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake