mls 0.2.8.1 → 0.2.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mls/models/listing.rb +5 -3
  2. data/mls.gemspec +1 -1
  3. metadata +3 -3
@@ -1,9 +1,10 @@
1
1
  class MLS::Listing < MLS::Resource
2
-
2
+
3
+ STATES = %w(processing listed leased expired)
3
4
  KINDS = %w(lease sublease coworking)
4
5
  SPACE_TYPES = %w(unit floor building)
5
6
  LEASE_TYPES = ['Full Service', 'NNN', 'Gross', 'Industrial Gross', 'Modified Gross', 'Triple Net', 'Modified Net']
6
- RATE_UNITS = ['ft^2/year', 'ft^2/month', 'desk/month']
7
+ RATE_UNITS = ['ft^2/year', 'ft^2/month', 'month', 'year', 'desk/month']
7
8
  USES = ["Office", "Creative", "Loft", "Medical Office", "Flex Space", "R&D", "Office Showroom", "Industrial", "Retail"]
8
9
  SOURCE_TYPES = %w(website flyer)
9
10
  CHANNELS = %w(excavator mls staircase broker_dashboard)
@@ -13,7 +14,7 @@ class MLS::Listing < MLS::Resource
13
14
  property :use_id, Fixnum
14
15
  property :use, String, :serialize => :if_present
15
16
  property :account_id, Fixnum
16
- property :hidden, Boolean, :default => false, :serialize => false
17
+ property :private, Boolean, :default => false, :serialize => false
17
18
  property :source, String
18
19
  property :source_url, String
19
20
  property :source_type, String, :serialize => :if_present
@@ -21,6 +22,7 @@ class MLS::Listing < MLS::Resource
21
22
 
22
23
  property :name, String
23
24
  property :kind, String, :default => 'lease'
25
+ property :state, String, :default => 'listed'
24
26
  property :space_type, String, :default => 'unit'
25
27
  property :unit, String
26
28
  property :floor, Fixnum
data/mls.gemspec CHANGED
@@ -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.2.8.1'
6
+ s.version = '0.2.8.2'
7
7
  s.authors = ["James R. 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.2.8.1
4
+ version: 0.2.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-18 00:00:00.000000000 Z
12
+ date: 2012-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -280,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  version: '0'
281
281
  requirements: []
282
282
  rubyforge_project: mls
283
- rubygems_version: 1.8.24
283
+ rubygems_version: 1.8.23
284
284
  signing_key:
285
285
  specification_version: 3
286
286
  summary: 42Floors MLS Client