mls 0.2.54 → 0.3.0

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: 95b53189197a31418418288ca11f3bc1bb2c788a
4
- data.tar.gz: 7274d5d130aea7aa757c37f0813296e89a7c0f97
3
+ metadata.gz: 052dae083ec5bedfe33bcc0cc853ad8064222405
4
+ data.tar.gz: 5b89b5ea8ea7e88f34b38dad6fb9ad4762d48be7
5
5
  SHA512:
6
- metadata.gz: d1931a397aca8d0f82be72c73dad19e9dc50630d8d8fd50fc4fc4f4ca482bc15dae07ebc7a2a048eac6050d865875c308650549d49628fa0e960ae64083626fa
7
- data.tar.gz: 6be2a3eb5eff156d645260f3f29a1c1321e18b0c03665d867379692ed8626ee77d5f7e24f0bd1faeb451f55fecac10ac67d064e54eb055c3b387e059f5ec1a9c
6
+ metadata.gz: ca228eca7b15bf1b4be28fed65e774f5fdff1d1c336ac86fac29463640bcb8de68eeb26d32ed2dfa40d51360b3a9aab8e745ccf0319b96d5220e90dccc01c85f
7
+ data.tar.gz: d24afa58e88c0f791608d6cce75ef4ba3d599b072f1ee6326ec0011a8ee8bee8cb8527d45cb3e230f4cf08566dab9f37af6a879808d6675026521c9b8b81f76c
@@ -22,7 +22,7 @@ class MLS::Address < MLS::Resource
22
22
  property :min_size, Fixnum, :serialize => :if_present
23
23
  property :comments, String
24
24
  property :year_built, Fixnum
25
- property :total_size, Fixnum
25
+ property :size, Fixnum
26
26
  property :floors, Fixnum
27
27
 
28
28
  property :lobby_attendant, Boolean
@@ -28,7 +28,7 @@ class MLS::Listing < MLS::Resource
28
28
  property :floor, Fixnum
29
29
  property :comments, String
30
30
 
31
- property :total_size, Fixnum
31
+ property :size, Fixnum
32
32
  property :maximum_contiguous_size, Fixnum
33
33
  property :minimum_divisable_size, Fixnum
34
34
 
@@ -37,12 +37,14 @@ class MLS::Listing < MLS::Resource
37
37
  property :rate_units, String, :default => '/sqft/mo'
38
38
  property :rate_per_sqft_per_month, Decimal, :serialize => :false # need to make write methods for these that set rate to the according rate units. not accepted on api
39
39
  property :rate_per_sqft_per_year, Decimal, :serialize => :false
40
- property :monthly_rate, Decimal, :serialize => :false
41
- property :yearly_rate, Decimal, :serialize => :false
40
+ property :rate_per_month, Decimal, :serialize => :false
41
+ property :rate_per_year, Decimal, :serialize => :false
42
42
  property :sublease_expiration, DateTime
43
43
 
44
- property :forecast_per_month, Decimal, :serialize => :false
44
+ property :forecast_rate_per_year, Decimal, :serialize => :false
45
+ property :forecast_rate_per_month, Decimal, :serialize => :false
45
46
  property :forecast_rate_per_sqft_per_month, Decimal, :serialize => :false
47
+ property :forecast_rate_per_sqft_per_year, Decimal, :serialize => :false
46
48
 
47
49
  property :available_on, DateTime
48
50
  property :maximum_term_length, 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.54'
6
+ s.version = '0.3.0'
7
7
  s.authors = ["James R. Bracy", "Jon Bracy"]
8
8
  s.email = ["james@42floors.com"]
9
9
  s.homepage = "http://mls.42floors.com"
@@ -14,7 +14,7 @@ FactoryGirl.define do
14
14
  #agents_attributes { {'0' => FactoryGirl.attributes_for(:broker)} }
15
15
 
16
16
  use 'Office'
17
- total_size { Kernel.rand(3000..900000) }
17
+ size { Kernel.rand(3000..900000) }
18
18
  maximum_contiguous_size { Kernel.rand(3000..900000) }
19
19
  minimum_divisable_size { Kernel.rand(3000..900000) }
20
20
  type 'lease'
@@ -16,7 +16,7 @@ class TestListing < ::Test::Unit::TestCase
16
16
  assert listing.respond_to?(:unit)
17
17
  assert listing.respond_to?(:floor)
18
18
  assert listing.respond_to?(:comments)
19
- assert listing.respond_to?(:total_size)
19
+ assert listing.respond_to?(:size)
20
20
  assert listing.respond_to?(:maximum_contiguous_size)
21
21
  assert listing.respond_to?(:minimum_divisable_size)
22
22
  assert listing.respond_to?(:lease_terms)
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.54
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy