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.
- data/Gemfile +2 -17
- data/Gemfile.lock +35 -27
- data/README.md +23 -1
- data/Rakefile +18 -5
- data/VERSION +1 -1
- data/bin/flexmls_api +8 -0
- data/lib/flexmls_api.rb +2 -0
- data/lib/flexmls_api/authentication.rb +5 -6
- data/lib/flexmls_api/authentication/api_auth.rb +4 -2
- data/lib/flexmls_api/authentication/oauth2.rb +51 -99
- data/lib/flexmls_api/authentication/oauth2_impl/grant_type_base.rb +85 -0
- data/lib/flexmls_api/authentication/oauth2_impl/grant_type_code.rb +48 -0
- data/lib/flexmls_api/authentication/oauth2_impl/grant_type_password.rb +45 -0
- data/lib/flexmls_api/authentication/oauth2_impl/grant_type_refresh.rb +36 -0
- data/lib/flexmls_api/authentication/oauth2_impl/middleware.rb +39 -0
- data/lib/flexmls_api/cli.rb +132 -0
- data/lib/flexmls_api/cli/api_auth.rb +8 -0
- data/lib/flexmls_api/cli/oauth2.rb +43 -0
- data/lib/flexmls_api/cli/setup.rb +44 -0
- data/lib/flexmls_api/configuration.rb +6 -6
- data/lib/flexmls_api/faraday.rb +11 -21
- data/lib/flexmls_api/models.rb +3 -0
- data/lib/flexmls_api/models/account.rb +48 -5
- data/lib/flexmls_api/models/base.rb +27 -2
- data/lib/flexmls_api/models/contact.rb +28 -9
- data/lib/flexmls_api/models/listing_cart.rb +72 -0
- data/lib/flexmls_api/models/note.rb +0 -2
- data/lib/flexmls_api/models/saved_search.rb +16 -0
- data/lib/flexmls_api/models/shared_listing.rb +35 -0
- data/lib/flexmls_api/multi_client.rb +37 -0
- data/lib/flexmls_api/paginate.rb +5 -0
- data/lib/flexmls_api/request.rb +7 -3
- data/script/console +6 -0
- data/script/example.rb +27 -0
- data/spec/fixtures/accounts/all.json +160 -0
- data/spec/fixtures/accounts/my.json +74 -0
- data/spec/fixtures/accounts/my_portal.json +20 -0
- data/spec/fixtures/accounts/my_put.json +5 -0
- data/spec/fixtures/accounts/my_save.json +5 -0
- data/spec/fixtures/accounts/office.json +142 -0
- data/spec/fixtures/base.json +13 -0
- data/spec/fixtures/contact_my.json +19 -0
- data/spec/fixtures/contact_new.json +11 -0
- data/spec/fixtures/contact_new_empty.json +8 -0
- data/spec/fixtures/contact_new_notify.json +11 -0
- data/spec/fixtures/contact_tags.json +11 -0
- data/spec/fixtures/contacts.json +6 -3
- data/spec/fixtures/contacts_post.json +10 -0
- data/spec/fixtures/empty.json +3 -0
- data/spec/fixtures/errors/failure.json +5 -0
- data/spec/fixtures/listing_cart.json +19 -0
- data/spec/fixtures/listing_cart_add_listing.json +13 -0
- data/spec/fixtures/listing_cart_add_listing_post.json +5 -0
- data/spec/fixtures/listing_cart_empty.json +5 -0
- data/spec/fixtures/listing_cart_new.json +12 -0
- data/spec/fixtures/listing_cart_post.json +10 -0
- data/spec/fixtures/listing_cart_remove_listing.json +13 -0
- data/spec/fixtures/note_new.json +5 -0
- data/spec/fixtures/{oauth2_access.json → oauth2/access.json} +0 -0
- data/spec/fixtures/oauth2/access_with_old_refresh.json +5 -0
- data/spec/fixtures/oauth2/access_with_refresh.json +5 -0
- data/spec/fixtures/oauth2/authorization_code_body.json +7 -0
- data/spec/fixtures/oauth2/error.json +3 -0
- data/spec/fixtures/oauth2/password_body.json +7 -0
- data/spec/fixtures/oauth2/refresh_body.json +7 -0
- data/spec/fixtures/saved_search.json +17 -0
- data/spec/fixtures/shared_listing_new.json +9 -0
- data/spec/fixtures/shared_listing_post.json +10 -0
- data/spec/mock_helper.rb +123 -0
- data/spec/oauth2_helper.rb +69 -0
- data/spec/spec_helper.rb +1 -57
- data/spec/unit/flexmls_api/authentication/api_auth_spec.rb +1 -0
- data/spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb +10 -0
- data/spec/unit/flexmls_api/authentication/oauth2_spec.rb +74 -79
- data/spec/unit/flexmls_api/configuration_spec.rb +25 -4
- data/spec/unit/flexmls_api/models/account_spec.rb +152 -85
- data/spec/unit/flexmls_api/models/base_spec.rb +69 -25
- data/spec/unit/flexmls_api/models/contact_spec.rb +48 -34
- data/spec/unit/flexmls_api/models/document_spec.rb +1 -7
- data/spec/unit/flexmls_api/models/listing_cart_spec.rb +114 -0
- data/spec/unit/flexmls_api/models/listing_spec.rb +8 -56
- data/spec/unit/flexmls_api/models/note_spec.rb +8 -38
- data/spec/unit/flexmls_api/models/photo_spec.rb +1 -11
- data/spec/unit/flexmls_api/models/saved_search_spec.rb +34 -0
- data/spec/unit/flexmls_api/models/shared_listing_spec.rb +30 -0
- data/spec/unit/flexmls_api/models/standard_fields_spec.rb +50 -30
- data/spec/unit/flexmls_api/models/tour_of_home_spec.rb +1 -7
- data/spec/unit/flexmls_api/models/video_spec.rb +1 -10
- data/spec/unit/flexmls_api/models/virtual_tour_spec.rb +1 -7
- data/spec/unit/flexmls_api/multi_client_spec.rb +48 -0
- data/spec/unit/flexmls_api/request_spec.rb +42 -5
- metadata +239 -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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 6
|
8
9
|
- 4
|
9
|
-
|
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-
|
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
|
-
|
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:
|
42
|
+
hash: 29
|
30
43
|
segments:
|
31
44
|
- 0
|
32
45
|
- 7
|
33
|
-
-
|
34
|
-
version: 0.7.
|
35
|
-
|
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
|
-
|
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:
|
58
|
+
hash: 5
|
46
59
|
segments:
|
47
60
|
- 0
|
48
|
-
-
|
49
|
-
-
|
50
|
-
version: 0.
|
51
|
-
|
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
|
-
|
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:
|
74
|
+
hash: 1
|
62
75
|
segments:
|
63
76
|
- 0
|
77
|
+
- 6
|
64
78
|
- 3
|
65
|
-
|
66
|
-
|
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
|
-
|
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:
|
90
|
+
hash: 23
|
78
91
|
segments:
|
92
|
+
- 1
|
79
93
|
- 0
|
80
94
|
- 0
|
81
|
-
|
82
|
-
|
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
|
-
|
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:
|
106
|
+
hash: 1
|
94
107
|
segments:
|
95
108
|
- 1
|
96
|
-
-
|
97
|
-
-
|
98
|
-
version: 1.
|
99
|
-
|
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
|
-
|
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:
|
122
|
+
hash: 59
|
110
123
|
segments:
|
111
124
|
- 0
|
112
|
-
- 7
|
113
125
|
- 8
|
114
|
-
|
115
|
-
|
116
|
-
|
126
|
+
- 2
|
127
|
+
version: 0.8.2
|
128
|
+
requirement: *id007
|
117
129
|
prerelease: false
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
130
|
type: :runtime
|
120
|
-
|
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
|
-
|
132
|
-
version_requirements: *id007
|
152
|
+
requirement: *id008
|
133
153
|
prerelease: false
|
134
|
-
- !ruby/object:Gem::Dependency
|
135
154
|
type: :runtime
|
136
|
-
|
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
|
-
|
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
|
-
|
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:
|
162
|
-
|
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
|
-
|
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:
|
219
|
+
hash: 7
|
173
220
|
segments:
|
221
|
+
- 1
|
222
|
+
- 4
|
174
223
|
- 0
|
175
|
-
version:
|
176
|
-
|
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
|
-
|
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:
|
251
|
+
hash: 23
|
187
252
|
segments:
|
188
253
|
- 0
|
189
|
-
|
190
|
-
|
191
|
-
|
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
|
-
|
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:
|
283
|
+
hash: 41
|
201
284
|
segments:
|
202
285
|
- 0
|
203
|
-
|
204
|
-
|
205
|
-
|
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/
|
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
|