tourets 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  module TouRETS
2
2
  module Rails
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
 
5
5
  end
6
6
  end
@@ -24,16 +24,17 @@ module TouRETS
24
24
  # I'm thinking maybe like a dictionary lookup. Figure out what each RETS server uses.
25
25
  # Also good to note that there are different data types, but they all are strings.
26
26
  # We could figure out a way to convert to Integer, or DateTime objects, etc... depending.
27
+ # All results are esentially just strings. The comments below indicate what the value type should be by how it's formatted
27
28
  def key_map
28
29
  {
29
- :id => "sysid", #String
30
- :property_type => "1", #String
31
- :acreage => "2", #Float
32
- :zip_code => "10", #String
33
- :address => "13", #String
34
- :partial_flag => "17", #String
35
- :close_date => "25", #DateTime
36
- :agent_name => "26", #String
30
+ :id => "sysid", #String
31
+ :property_type => "1", #String
32
+ :acreage => "2", #Float
33
+ :zip_code => "10", #String
34
+ :address => "13", #String
35
+ :partial_flag => "17", #String
36
+ :close_date => "25", #DateTime
37
+ :agent_name => "26", #String
37
38
  :annual_property_tax => "28", #Integer
38
39
  :has_dishwasher => "30", #Boolean
39
40
  :has_disposal => "31", #Boolean
@@ -51,7 +52,7 @@ module TouRETS
51
52
  :built_desc => "72", #String
52
53
  :carport_desc => "73", #String
53
54
  :carports => "74", #Integer
54
- :comp_days_on_market => "81", #Integer (this is nil sometimes)
55
+ :comp_days_on_market => "81", #Integer
55
56
  :contingency_desc => "84", #String
56
57
  :contract_date => "85", #DateTime
57
58
  :cooling_fuel_desc => "86", #String
@@ -133,58 +134,58 @@ module TouRETS
133
134
  :bedroom_3_desc => "283", #String
134
135
  :bedroom_4_desc => "284", #String
135
136
  :oven_desc => "289", #String
136
- :other_appliance_desc => "290", #String
137
- :construction_desc => "291", #String
138
- :interior_desc => "292", #String
139
- :flooring_desc => "293", #String
140
- :fireplace_desc => "294", #String
141
- :fence_type => "295", #String
142
- :equestrian_desc => "296", #String
143
- :direction_house_faces => "297", #String
144
- :misc_desc => "298", #String
145
- :exterior_desc => "299",
146
- :landscape_desc => "300",
147
- :heating_desc => "301",
148
- :heating_fuel_desc => "302",
149
- :cooling_system => "303",
150
- :utility_info => "304",
151
- :energy_desc => "305",
137
+ :other_appliance_desc => "290", #String
138
+ :construction_desc => "291", #String
139
+ :interior_desc => "292", #String
140
+ :flooring_desc => "293", #String
141
+ :fireplace_desc => "294", #String
142
+ :fence_type => "295", #String
143
+ :equestrian_desc => "296", #String
144
+ :direction_house_faces => "297", #String
145
+ :misc_desc => "298", #String
146
+ :exterior_desc => "299", #String
147
+ :landscape_desc => "300", #String
148
+ :heating_desc => "301", #String
149
+ :heating_fuel_desc => "302", #String
150
+ :cooling_system => "303", #String
151
+ :utility_info => "304", #String
152
+ :energy_desc => "305", #String
152
153
  :estimated_closing_date => "1736", #DateTime
153
154
  :original_price_sqft => "1740", #Integer
154
155
  :idx_display => "1809", #String
155
156
  :vr_tour_link => "2139", #String
156
157
  :last_image_trans_date => "2238", #DateTime
157
158
  :sqft => "2361", #Integer
158
- :xp_unit_number => "2363",
159
+ :xp_unit_number => "2363", #String
159
160
  :short_sale? => "2369", #Boolean
160
- :elementary_school =>"2377",
161
- :total_possible_bedrooms => "2379",
162
- :days_list_to_close => "2381",
163
- :unit_num => "2386",
164
- :ammenities_desc => "2388",
161
+ :elementary_school =>"2377", #String
162
+ :total_possible_bedrooms => "2379", #String
163
+ :days_list_to_close => "2381", #String
164
+ :unit_num => "2386", #String
165
+ :ammenities_desc => "2388", #String
165
166
  :bath_downstairs? => "2392", #Boolean
166
167
  :bedroom_downstairs? => "2394", #Boolean
167
- :building_desc => "2414",
168
- :fireplace_location => "2422",
169
- :foreclosure_commened => "2424", #String
170
- :furnishings_desc => "2426",
168
+ :building_desc => "2414", #String
169
+ :fireplace_location => "2422", #String
170
+ :foreclosure_commenced => "2424", #String
171
+ :furnishings_desc => "2426", #String
171
172
  :has_great_room? => "2428", #Boolean
172
- :great_room_dim => "2430",
173
- :great_room_desc => "2432",
174
- :parking_desc => "2438",
175
- :washer_included? => "2440",
176
- :dryer_included? => "2442",
177
- :house_views => "2450",
178
- :subtype => "2452",
179
- :den_dim => "2511",
180
- :unit_desc => "2543",
181
- :repo => "2660", #String
182
- :has_public_address => "2858", #Boolean
183
- :commentary? => "2859", #Boolean
184
- :avm? => "2860", #Boolean
185
- :public_address => "2861",
186
- :auction_date => "2878", #DateTime
187
- :auction_type => "2879"
173
+ :great_room_dim => "2430", #String
174
+ :great_room_desc => "2432", #String
175
+ :parking_desc => "2438", #String
176
+ :washer_included? => "2440", #String
177
+ :dryer_included? => "2442", #String
178
+ :house_views => "2450", #String
179
+ :subtype => "2452", #String
180
+ :den_dim => "2511", #String
181
+ :unit_desc => "2543", #String
182
+ :repo => "2660", #String
183
+ :has_public_address => "2858", #Boolean
184
+ :commentary? => "2859", #Boolean
185
+ :avm? => "2860", #Boolean
186
+ :public_address => "2861", #String
187
+ :auction_date => "2878", #DateTime
188
+ :auction_type => "2879" #String
188
189
  }
189
190
  end
190
191
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tourets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-19 00:00:00.000000000 Z
13
+ date: 2012-12-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby-rets
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: 2046659078638465462
120
+ hash: -1543556300079290224
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: 2046659078638465462
129
+ hash: -1543556300079290224
130
130
  requirements: []
131
131
  rubyforge_project:
132
132
  rubygems_version: 1.8.24