flexmls_api 0.4.5 → 0.6.4

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.
Files changed (93) hide show
  1. data/Gemfile +2 -17
  2. data/Gemfile.lock +35 -27
  3. data/README.md +23 -1
  4. data/Rakefile +18 -5
  5. data/VERSION +1 -1
  6. data/bin/flexmls_api +8 -0
  7. data/lib/flexmls_api.rb +2 -0
  8. data/lib/flexmls_api/authentication.rb +5 -6
  9. data/lib/flexmls_api/authentication/api_auth.rb +4 -2
  10. data/lib/flexmls_api/authentication/oauth2.rb +51 -99
  11. data/lib/flexmls_api/authentication/oauth2_impl/grant_type_base.rb +85 -0
  12. data/lib/flexmls_api/authentication/oauth2_impl/grant_type_code.rb +48 -0
  13. data/lib/flexmls_api/authentication/oauth2_impl/grant_type_password.rb +45 -0
  14. data/lib/flexmls_api/authentication/oauth2_impl/grant_type_refresh.rb +36 -0
  15. data/lib/flexmls_api/authentication/oauth2_impl/middleware.rb +39 -0
  16. data/lib/flexmls_api/cli.rb +132 -0
  17. data/lib/flexmls_api/cli/api_auth.rb +8 -0
  18. data/lib/flexmls_api/cli/oauth2.rb +43 -0
  19. data/lib/flexmls_api/cli/setup.rb +44 -0
  20. data/lib/flexmls_api/configuration.rb +6 -6
  21. data/lib/flexmls_api/faraday.rb +11 -21
  22. data/lib/flexmls_api/models.rb +3 -0
  23. data/lib/flexmls_api/models/account.rb +48 -5
  24. data/lib/flexmls_api/models/base.rb +27 -2
  25. data/lib/flexmls_api/models/contact.rb +28 -9
  26. data/lib/flexmls_api/models/listing_cart.rb +72 -0
  27. data/lib/flexmls_api/models/note.rb +0 -2
  28. data/lib/flexmls_api/models/saved_search.rb +16 -0
  29. data/lib/flexmls_api/models/shared_listing.rb +35 -0
  30. data/lib/flexmls_api/multi_client.rb +37 -0
  31. data/lib/flexmls_api/paginate.rb +5 -0
  32. data/lib/flexmls_api/request.rb +7 -3
  33. data/script/console +6 -0
  34. data/script/example.rb +27 -0
  35. data/spec/fixtures/accounts/all.json +160 -0
  36. data/spec/fixtures/accounts/my.json +74 -0
  37. data/spec/fixtures/accounts/my_portal.json +20 -0
  38. data/spec/fixtures/accounts/my_put.json +5 -0
  39. data/spec/fixtures/accounts/my_save.json +5 -0
  40. data/spec/fixtures/accounts/office.json +142 -0
  41. data/spec/fixtures/base.json +13 -0
  42. data/spec/fixtures/contact_my.json +19 -0
  43. data/spec/fixtures/contact_new.json +11 -0
  44. data/spec/fixtures/contact_new_empty.json +8 -0
  45. data/spec/fixtures/contact_new_notify.json +11 -0
  46. data/spec/fixtures/contact_tags.json +11 -0
  47. data/spec/fixtures/contacts.json +6 -3
  48. data/spec/fixtures/contacts_post.json +10 -0
  49. data/spec/fixtures/empty.json +3 -0
  50. data/spec/fixtures/errors/failure.json +5 -0
  51. data/spec/fixtures/listing_cart.json +19 -0
  52. data/spec/fixtures/listing_cart_add_listing.json +13 -0
  53. data/spec/fixtures/listing_cart_add_listing_post.json +5 -0
  54. data/spec/fixtures/listing_cart_empty.json +5 -0
  55. data/spec/fixtures/listing_cart_new.json +12 -0
  56. data/spec/fixtures/listing_cart_post.json +10 -0
  57. data/spec/fixtures/listing_cart_remove_listing.json +13 -0
  58. data/spec/fixtures/note_new.json +5 -0
  59. data/spec/fixtures/{oauth2_access.json → oauth2/access.json} +0 -0
  60. data/spec/fixtures/oauth2/access_with_old_refresh.json +5 -0
  61. data/spec/fixtures/oauth2/access_with_refresh.json +5 -0
  62. data/spec/fixtures/oauth2/authorization_code_body.json +7 -0
  63. data/spec/fixtures/oauth2/error.json +3 -0
  64. data/spec/fixtures/oauth2/password_body.json +7 -0
  65. data/spec/fixtures/oauth2/refresh_body.json +7 -0
  66. data/spec/fixtures/saved_search.json +17 -0
  67. data/spec/fixtures/shared_listing_new.json +9 -0
  68. data/spec/fixtures/shared_listing_post.json +10 -0
  69. data/spec/mock_helper.rb +123 -0
  70. data/spec/oauth2_helper.rb +69 -0
  71. data/spec/spec_helper.rb +1 -57
  72. data/spec/unit/flexmls_api/authentication/api_auth_spec.rb +1 -0
  73. data/spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb +10 -0
  74. data/spec/unit/flexmls_api/authentication/oauth2_spec.rb +74 -79
  75. data/spec/unit/flexmls_api/configuration_spec.rb +25 -4
  76. data/spec/unit/flexmls_api/models/account_spec.rb +152 -85
  77. data/spec/unit/flexmls_api/models/base_spec.rb +69 -25
  78. data/spec/unit/flexmls_api/models/contact_spec.rb +48 -34
  79. data/spec/unit/flexmls_api/models/document_spec.rb +1 -7
  80. data/spec/unit/flexmls_api/models/listing_cart_spec.rb +114 -0
  81. data/spec/unit/flexmls_api/models/listing_spec.rb +8 -56
  82. data/spec/unit/flexmls_api/models/note_spec.rb +8 -38
  83. data/spec/unit/flexmls_api/models/photo_spec.rb +1 -11
  84. data/spec/unit/flexmls_api/models/saved_search_spec.rb +34 -0
  85. data/spec/unit/flexmls_api/models/shared_listing_spec.rb +30 -0
  86. data/spec/unit/flexmls_api/models/standard_fields_spec.rb +50 -30
  87. data/spec/unit/flexmls_api/models/tour_of_home_spec.rb +1 -7
  88. data/spec/unit/flexmls_api/models/video_spec.rb +1 -10
  89. data/spec/unit/flexmls_api/models/virtual_tour_spec.rb +1 -7
  90. data/spec/unit/flexmls_api/multi_client_spec.rb +48 -0
  91. data/spec/unit/flexmls_api/request_spec.rb +42 -5
  92. metadata +239 -93
  93. data/spec/unit/flexmls_api/standard_fields_spec.rb +0 -86
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexmls_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 6
8
9
  - 4
9
- - 5
10
- version: 0.4.5
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brandon Hornseth
@@ -16,111 +16,132 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-05-25 00:00:00 -05:00
20
- default_executable:
19
+ date: 2011-08-23 00:00:00 -05:00
20
+ default_executable: flexmls_api
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ requirement: *id001
33
+ prerelease: false
23
34
  type: :runtime
24
- requirement: &id001 !ruby/object:Gem::Requirement
35
+ name: flexmls_api
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
38
  none: false
26
39
  requirements:
27
- - - "="
40
+ - - ~>
28
41
  - !ruby/object:Gem::Version
29
- hash: 19
42
+ hash: 29
30
43
  segments:
31
44
  - 0
32
45
  - 7
33
- - 8
34
- version: 0.7.8
35
- name: curb
36
- version_requirements: *id001
46
+ - 15
47
+ version: 0.7.15
48
+ requirement: *id002
37
49
  prerelease: false
38
- - !ruby/object:Gem::Dependency
39
50
  type: :runtime
40
- requirement: &id002 !ruby/object:Gem::Requirement
51
+ name: curb
52
+ - !ruby/object:Gem::Dependency
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
41
54
  none: false
42
55
  requirements:
43
- - - "="
56
+ - - ~>
44
57
  - !ruby/object:Gem::Version
45
- hash: 13
58
+ hash: 5
46
59
  segments:
47
60
  - 0
48
- - 5
49
- - 3
50
- version: 0.5.3
51
- name: faraday
52
- version_requirements: *id002
61
+ - 6
62
+ - 1
63
+ version: 0.6.1
64
+ requirement: *id003
53
65
  prerelease: false
54
- - !ruby/object:Gem::Dependency
55
66
  type: :runtime
56
- requirement: &id003 !ruby/object:Gem::Requirement
67
+ name: faraday
68
+ - !ruby/object:Gem::Dependency
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
57
70
  none: false
58
71
  requirements:
59
- - - "="
72
+ - - ~>
60
73
  - !ruby/object:Gem::Version
61
- hash: 17
74
+ hash: 1
62
75
  segments:
63
76
  - 0
77
+ - 6
64
78
  - 3
65
- - 1
66
- version: 0.3.1
67
- name: faraday_middleware
68
- version_requirements: *id003
79
+ version: 0.6.3
80
+ requirement: *id004
69
81
  prerelease: false
70
- - !ruby/object:Gem::Dependency
71
82
  type: :runtime
72
- requirement: &id004 !ruby/object:Gem::Requirement
83
+ name: faraday_middleware
84
+ - !ruby/object:Gem::Dependency
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
73
86
  none: false
74
87
  requirements:
75
- - - "="
88
+ - - ~>
76
89
  - !ruby/object:Gem::Version
77
- hash: 21
90
+ hash: 23
78
91
  segments:
92
+ - 1
79
93
  - 0
80
94
  - 0
81
- - 5
82
- version: 0.0.5
83
- name: multi_json
84
- version_requirements: *id004
95
+ version: 1.0.0
96
+ requirement: *id005
85
97
  prerelease: false
86
- - !ruby/object:Gem::Dependency
87
98
  type: :runtime
88
- requirement: &id005 !ruby/object:Gem::Requirement
99
+ name: multi_json
100
+ - !ruby/object:Gem::Dependency
101
+ version_requirements: &id006 !ruby/object:Gem::Requirement
89
102
  none: false
90
103
  requirements:
91
- - - "="
104
+ - - ~>
92
105
  - !ruby/object:Gem::Version
93
- hash: 11
106
+ hash: 1
94
107
  segments:
95
108
  - 1
96
- - 4
97
- - 6
98
- version: 1.4.6
99
- name: json
100
- version_requirements: *id005
109
+ - 5
110
+ - 1
111
+ version: 1.5.1
112
+ requirement: *id006
101
113
  prerelease: false
102
- - !ruby/object:Gem::Dependency
103
114
  type: :runtime
104
- requirement: &id006 !ruby/object:Gem::Requirement
115
+ name: json
116
+ - !ruby/object:Gem::Dependency
117
+ version_requirements: &id007 !ruby/object:Gem::Requirement
105
118
  none: false
106
119
  requirements:
107
- - - "="
120
+ - - ~>
108
121
  - !ruby/object:Gem::Version
109
- hash: 19
122
+ hash: 59
110
123
  segments:
111
124
  - 0
112
- - 7
113
125
  - 8
114
- version: 0.7.8
115
- name: yajl-ruby
116
- version_requirements: *id006
126
+ - 2
127
+ version: 0.8.2
128
+ requirement: *id007
117
129
  prerelease: false
118
- - !ruby/object:Gem::Dependency
119
130
  type: :runtime
120
- requirement: &id007 !ruby/object:Gem::Requirement
131
+ name: yajl-ruby
132
+ - !ruby/object:Gem::Dependency
133
+ version_requirements: &id008 !ruby/object:Gem::Requirement
121
134
  none: false
122
135
  requirements:
123
- - - "="
136
+ - - <
137
+ - !ruby/object:Gem::Version
138
+ hash: 63
139
+ segments:
140
+ - 4
141
+ - 0
142
+ - 0
143
+ version: 4.0.0
144
+ - - ">="
124
145
  - !ruby/object:Gem::Version
125
146
  hash: 15
126
147
  segments:
@@ -128,15 +149,39 @@ dependencies:
128
149
  - 1
129
150
  - 2
130
151
  version: 2.1.2
131
- name: builder
132
- version_requirements: *id007
152
+ requirement: *id008
133
153
  prerelease: false
134
- - !ruby/object:Gem::Dependency
135
154
  type: :runtime
136
- requirement: &id008 !ruby/object:Gem::Requirement
155
+ name: builder
156
+ - !ruby/object:Gem::Dependency
157
+ version_requirements: &id009 !ruby/object:Gem::Requirement
137
158
  none: false
138
159
  requirements:
139
160
  - - ~>
161
+ - !ruby/object:Gem::Version
162
+ hash: 13
163
+ segments:
164
+ - 2
165
+ - 2
166
+ - 5
167
+ version: 2.2.5
168
+ requirement: *id009
169
+ prerelease: false
170
+ type: :runtime
171
+ name: addressable
172
+ - !ruby/object:Gem::Dependency
173
+ version_requirements: &id010 !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - <
177
+ - !ruby/object:Gem::Version
178
+ hash: 63
179
+ segments:
180
+ - 4
181
+ - 0
182
+ - 0
183
+ version: 4.0.0
184
+ - - ">="
140
185
  - !ruby/object:Gem::Version
141
186
  hash: 1923831917
142
187
  segments:
@@ -145,69 +190,110 @@ dependencies:
145
190
  - pre
146
191
  - 2
147
192
  version: 3.0.pre2
148
- name: will_paginate
149
- version_requirements: *id008
193
+ requirement: *id010
150
194
  prerelease: false
195
+ type: :runtime
196
+ name: will_paginate
151
197
  - !ruby/object:Gem::Dependency
152
- type: :development
153
- requirement: &id009 !ruby/object:Gem::Requirement
198
+ version_requirements: &id011 !ruby/object:Gem::Requirement
154
199
  none: false
155
200
  requirements:
156
- - - ">="
201
+ - - ~>
157
202
  - !ruby/object:Gem::Version
158
203
  hash: 3
159
204
  segments:
205
+ - 2
206
+ - 3
160
207
  - 0
161
- version: "0"
162
- name: rspec
163
- version_requirements: *id009
208
+ version: 2.3.0
209
+ requirement: *id011
164
210
  prerelease: false
165
- - !ruby/object:Gem::Dependency
166
211
  type: :development
167
- requirement: &id010 !ruby/object:Gem::Requirement
212
+ name: rspec
213
+ - !ruby/object:Gem::Dependency
214
+ version_requirements: &id012 !ruby/object:Gem::Requirement
168
215
  none: false
169
216
  requirements:
170
- - - ">="
217
+ - - ~>
171
218
  - !ruby/object:Gem::Version
172
- hash: 3
219
+ hash: 7
173
220
  segments:
221
+ - 1
222
+ - 4
174
223
  - 0
175
- version: "0"
176
- name: jeweler
177
- version_requirements: *id010
224
+ version: 1.4.0
225
+ requirement: *id012
178
226
  prerelease: false
227
+ type: :development
228
+ name: webmock
179
229
  - !ruby/object:Gem::Dependency
230
+ version_requirements: &id013 !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ~>
234
+ - !ruby/object:Gem::Version
235
+ hash: 7
236
+ segments:
237
+ - 1
238
+ - 5
239
+ - 2
240
+ version: 1.5.2
241
+ requirement: *id013
242
+ prerelease: false
180
243
  type: :development
181
- requirement: &id011 !ruby/object:Gem::Requirement
244
+ name: jeweler
245
+ - !ruby/object:Gem::Dependency
246
+ version_requirements: &id014 !ruby/object:Gem::Requirement
182
247
  none: false
183
248
  requirements:
184
- - - ">="
249
+ - - ~>
185
250
  - !ruby/object:Gem::Version
186
- hash: 3
251
+ hash: 23
187
252
  segments:
188
253
  - 0
189
- version: "0"
190
- name: curb
191
- version_requirements: *id011
254
+ - 2
255
+ - 0
256
+ version: 0.2.0
257
+ requirement: *id014
192
258
  prerelease: false
259
+ type: :development
260
+ name: typhoeus
193
261
  - !ruby/object:Gem::Dependency
262
+ version_requirements: &id015 !ruby/object:Gem::Requirement
263
+ none: false
264
+ requirements:
265
+ - - ~>
266
+ - !ruby/object:Gem::Version
267
+ hash: 9
268
+ segments:
269
+ - 1
270
+ - 6
271
+ - 3
272
+ version: 1.6.3
273
+ requirement: *id015
274
+ prerelease: false
194
275
  type: :development
195
- requirement: &id012 !ruby/object:Gem::Requirement
276
+ name: ci_reporter
277
+ - !ruby/object:Gem::Dependency
278
+ version_requirements: &id016 !ruby/object:Gem::Requirement
196
279
  none: false
197
280
  requirements:
198
- - - ">="
281
+ - - ~>
199
282
  - !ruby/object:Gem::Version
200
- hash: 3
283
+ hash: 41
201
284
  segments:
202
285
  - 0
203
- version: "0"
204
- name: json
205
- version_requirements: *id012
286
+ - 9
287
+ - 9
288
+ version: 0.9.9
289
+ requirement: *id016
206
290
  prerelease: false
291
+ type: :development
292
+ name: rcov
207
293
  description: A library for interacting with the flexmls web services.
208
294
  email: api-support@flexmls.com
209
- executables: []
210
-
295
+ executables:
296
+ - flexmls_api
211
297
  extensions: []
212
298
 
213
299
  extra_rdoc_files:
@@ -220,11 +306,21 @@ files:
220
306
  - README.md
221
307
  - Rakefile
222
308
  - VERSION
309
+ - bin/flexmls_api
223
310
  - lib/flexmls_api.rb
224
311
  - lib/flexmls_api/authentication.rb
225
312
  - lib/flexmls_api/authentication/api_auth.rb
226
313
  - lib/flexmls_api/authentication/base_auth.rb
227
314
  - lib/flexmls_api/authentication/oauth2.rb
315
+ - lib/flexmls_api/authentication/oauth2_impl/grant_type_base.rb
316
+ - lib/flexmls_api/authentication/oauth2_impl/grant_type_code.rb
317
+ - lib/flexmls_api/authentication/oauth2_impl/grant_type_password.rb
318
+ - lib/flexmls_api/authentication/oauth2_impl/grant_type_refresh.rb
319
+ - lib/flexmls_api/authentication/oauth2_impl/middleware.rb
320
+ - lib/flexmls_api/cli.rb
321
+ - lib/flexmls_api/cli/api_auth.rb
322
+ - lib/flexmls_api/cli/oauth2.rb
323
+ - lib/flexmls_api/cli/setup.rb
228
324
  - lib/flexmls_api/client.rb
229
325
  - lib/flexmls_api/configuration.rb
230
326
  - lib/flexmls_api/faraday.rb
@@ -238,29 +334,57 @@ files:
238
334
  - lib/flexmls_api/models/finders.rb
239
335
  - lib/flexmls_api/models/idx_link.rb
240
336
  - lib/flexmls_api/models/listing.rb
337
+ - lib/flexmls_api/models/listing_cart.rb
241
338
  - lib/flexmls_api/models/market_statistics.rb
242
339
  - lib/flexmls_api/models/note.rb
243
340
  - lib/flexmls_api/models/photo.rb
244
341
  - lib/flexmls_api/models/property_types.rb
342
+ - lib/flexmls_api/models/saved_search.rb
343
+ - lib/flexmls_api/models/shared_listing.rb
245
344
  - lib/flexmls_api/models/standard_fields.rb
246
345
  - lib/flexmls_api/models/subresource.rb
247
346
  - lib/flexmls_api/models/system_info.rb
248
347
  - lib/flexmls_api/models/tour_of_home.rb
249
348
  - lib/flexmls_api/models/video.rb
250
349
  - lib/flexmls_api/models/virtual_tour.rb
350
+ - lib/flexmls_api/multi_client.rb
251
351
  - lib/flexmls_api/paginate.rb
252
352
  - lib/flexmls_api/primary_array.rb
253
353
  - lib/flexmls_api/request.rb
254
354
  - lib/flexmls_api/version.rb
355
+ - script/console
356
+ - script/example.rb
357
+ - spec/fixtures/accounts/all.json
358
+ - spec/fixtures/accounts/my.json
359
+ - spec/fixtures/accounts/my_portal.json
360
+ - spec/fixtures/accounts/my_put.json
361
+ - spec/fixtures/accounts/my_save.json
362
+ - spec/fixtures/accounts/office.json
255
363
  - spec/fixtures/add_note.json
256
364
  - spec/fixtures/agent_shared_note.json
257
365
  - spec/fixtures/agent_shared_note_empty.json
258
366
  - spec/fixtures/authentication_failure.json
367
+ - spec/fixtures/base.json
368
+ - spec/fixtures/contact_my.json
369
+ - spec/fixtures/contact_new.json
370
+ - spec/fixtures/contact_new_empty.json
371
+ - spec/fixtures/contact_new_notify.json
372
+ - spec/fixtures/contact_tags.json
259
373
  - spec/fixtures/contacts.json
374
+ - spec/fixtures/contacts_post.json
260
375
  - spec/fixtures/count.json
376
+ - spec/fixtures/empty.json
261
377
  - spec/fixtures/errors/expired.json
378
+ - spec/fixtures/errors/failure.json
262
379
  - spec/fixtures/generic_delete.json
263
380
  - spec/fixtures/generic_failure.json
381
+ - spec/fixtures/listing_cart.json
382
+ - spec/fixtures/listing_cart_add_listing.json
383
+ - spec/fixtures/listing_cart_add_listing_post.json
384
+ - spec/fixtures/listing_cart_empty.json
385
+ - spec/fixtures/listing_cart_new.json
386
+ - spec/fixtures/listing_cart_post.json
387
+ - spec/fixtures/listing_cart_remove_listing.json
264
388
  - spec/fixtures/listing_document_index.json
265
389
  - spec/fixtures/listing_no_subresources.json
266
390
  - spec/fixtures/listing_photos_index.json
@@ -271,9 +395,19 @@ files:
271
395
  - spec/fixtures/listing_with_supplement.json
272
396
  - spec/fixtures/listing_with_videos.json
273
397
  - spec/fixtures/listing_with_vtour.json
274
- - spec/fixtures/oauth2_access.json
398
+ - spec/fixtures/note_new.json
399
+ - spec/fixtures/oauth2/access.json
400
+ - spec/fixtures/oauth2/access_with_old_refresh.json
401
+ - spec/fixtures/oauth2/access_with_refresh.json
402
+ - spec/fixtures/oauth2/authorization_code_body.json
403
+ - spec/fixtures/oauth2/error.json
404
+ - spec/fixtures/oauth2/password_body.json
405
+ - spec/fixtures/oauth2/refresh_body.json
275
406
  - spec/fixtures/oauth2_error.json
407
+ - spec/fixtures/saved_search.json
276
408
  - spec/fixtures/session.json
409
+ - spec/fixtures/shared_listing_new.json
410
+ - spec/fixtures/shared_listing_post.json
277
411
  - spec/fixtures/standardfields.json
278
412
  - spec/fixtures/standardfields_city.json
279
413
  - spec/fixtures/standardfields_nearby.json
@@ -281,8 +415,11 @@ files:
281
415
  - spec/fixtures/success.json
282
416
  - spec/fixtures/tour_of_homes.json
283
417
  - spec/json_helper.rb
418
+ - spec/mock_helper.rb
419
+ - spec/oauth2_helper.rb
284
420
  - spec/spec_helper.rb
285
421
  - spec/unit/flexmls_api/authentication/api_auth_spec.rb
422
+ - spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb
286
423
  - spec/unit/flexmls_api/authentication/oauth2_spec.rb
287
424
  - spec/unit/flexmls_api/authentication_spec.rb
288
425
  - spec/unit/flexmls_api/configuration_spec.rb
@@ -292,19 +429,22 @@ files:
292
429
  - spec/unit/flexmls_api/models/connect_prefs_spec.rb
293
430
  - spec/unit/flexmls_api/models/contact_spec.rb
294
431
  - spec/unit/flexmls_api/models/document_spec.rb
432
+ - spec/unit/flexmls_api/models/listing_cart_spec.rb
295
433
  - spec/unit/flexmls_api/models/listing_spec.rb
296
434
  - spec/unit/flexmls_api/models/note_spec.rb
297
435
  - spec/unit/flexmls_api/models/photo_spec.rb
298
436
  - spec/unit/flexmls_api/models/property_types_spec.rb
437
+ - spec/unit/flexmls_api/models/saved_search_spec.rb
438
+ - spec/unit/flexmls_api/models/shared_listing_spec.rb
299
439
  - spec/unit/flexmls_api/models/standard_fields_spec.rb
300
440
  - spec/unit/flexmls_api/models/system_info_spec.rb
301
441
  - spec/unit/flexmls_api/models/tour_of_home_spec.rb
302
442
  - spec/unit/flexmls_api/models/video_spec.rb
303
443
  - spec/unit/flexmls_api/models/virtual_tour_spec.rb
444
+ - spec/unit/flexmls_api/multi_client_spec.rb
304
445
  - spec/unit/flexmls_api/paginate_spec.rb
305
446
  - spec/unit/flexmls_api/primary_array_spec.rb
306
447
  - spec/unit/flexmls_api/request_spec.rb
307
- - spec/unit/flexmls_api/standard_fields_spec.rb
308
448
  - spec/unit/flexmls_api_spec.rb
309
449
  has_rdoc: true
310
450
  homepage: https://github.com/flexmls/flexmls_api
@@ -342,8 +482,11 @@ specification_version: 3
342
482
  summary: A library for interacting with the flexmls web services.
343
483
  test_files:
344
484
  - spec/json_helper.rb
485
+ - spec/mock_helper.rb
486
+ - spec/oauth2_helper.rb
345
487
  - spec/spec_helper.rb
346
488
  - spec/unit/flexmls_api/authentication/api_auth_spec.rb
489
+ - spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb
347
490
  - spec/unit/flexmls_api/authentication/oauth2_spec.rb
348
491
  - spec/unit/flexmls_api/authentication_spec.rb
349
492
  - spec/unit/flexmls_api/configuration_spec.rb
@@ -353,17 +496,20 @@ test_files:
353
496
  - spec/unit/flexmls_api/models/connect_prefs_spec.rb
354
497
  - spec/unit/flexmls_api/models/contact_spec.rb
355
498
  - spec/unit/flexmls_api/models/document_spec.rb
499
+ - spec/unit/flexmls_api/models/listing_cart_spec.rb
356
500
  - spec/unit/flexmls_api/models/listing_spec.rb
357
501
  - spec/unit/flexmls_api/models/note_spec.rb
358
502
  - spec/unit/flexmls_api/models/photo_spec.rb
359
503
  - spec/unit/flexmls_api/models/property_types_spec.rb
504
+ - spec/unit/flexmls_api/models/saved_search_spec.rb
505
+ - spec/unit/flexmls_api/models/shared_listing_spec.rb
360
506
  - spec/unit/flexmls_api/models/standard_fields_spec.rb
361
507
  - spec/unit/flexmls_api/models/system_info_spec.rb
362
508
  - spec/unit/flexmls_api/models/tour_of_home_spec.rb
363
509
  - spec/unit/flexmls_api/models/video_spec.rb
364
510
  - spec/unit/flexmls_api/models/virtual_tour_spec.rb
511
+ - spec/unit/flexmls_api/multi_client_spec.rb
365
512
  - spec/unit/flexmls_api/paginate_spec.rb
366
513
  - spec/unit/flexmls_api/primary_array_spec.rb
367
514
  - spec/unit/flexmls_api/request_spec.rb
368
- - spec/unit/flexmls_api/standard_fields_spec.rb
369
515
  - spec/unit/flexmls_api_spec.rb