spark_api 1.4.28 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/spark_api/authentication/api_auth.rb +1 -1
- data/lib/spark_api/authentication/oauth2.rb +1 -1
- data/lib/spark_api/authentication/oauth2_impl/grant_type_base.rb +1 -1
- data/lib/spark_api/client.rb +2 -2
- data/lib/spark_api/models.rb +1 -0
- data/lib/spark_api/models/account.rb +7 -1
- data/lib/spark_api/models/account_report.rb +0 -5
- data/lib/spark_api/models/floplan.rb +24 -0
- data/lib/spark_api/models/listing.rb +11 -1
- data/lib/spark_api/models/subresource.rb +2 -2
- data/lib/spark_api/request.rb +2 -2
- data/script/reso_middleware_example.rb +70 -0
- data/spec/fixtures/listings/floplans_index.json +15 -0
- data/spec/spec_helper.rb +9 -4
- data/spec/unit/spark_api/authentication/api_auth_spec.rb +21 -22
- data/spec/unit/spark_api/authentication/base_auth_spec.rb +3 -3
- data/spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb +1 -1
- data/spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb +1 -1
- data/spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb +2 -2
- data/spec/unit/spark_api/authentication/oauth2_spec.rb +40 -40
- data/spec/unit/spark_api/authentication_spec.rb +2 -2
- data/spec/unit/spark_api/configuration/yaml_spec.rb +44 -44
- data/spec/unit/spark_api/configuration_spec.rb +56 -57
- data/spec/unit/spark_api/faraday_middleware_spec.rb +12 -12
- data/spec/unit/spark_api/models/account_report_spec.rb +2 -22
- data/spec/unit/spark_api/models/account_spec.rb +24 -21
- data/spec/unit/spark_api/models/activity_spec.rb +5 -5
- data/spec/unit/spark_api/models/base_spec.rb +32 -32
- data/spec/unit/spark_api/models/concerns/destroyable_spec.rb +2 -2
- data/spec/unit/spark_api/models/concerns/savable_spec.rb +19 -19
- data/spec/unit/spark_api/models/connect_prefs_spec.rb +1 -1
- data/spec/unit/spark_api/models/constraint_spec.rb +1 -1
- data/spec/unit/spark_api/models/contact_spec.rb +50 -50
- data/spec/unit/spark_api/models/dirty_spec.rb +12 -12
- data/spec/unit/spark_api/models/document_spec.rb +3 -3
- data/spec/unit/spark_api/models/fields_spec.rb +17 -17
- data/spec/unit/spark_api/models/finders_spec.rb +7 -7
- data/spec/unit/spark_api/models/floplan_spec.rb +24 -0
- data/spec/unit/spark_api/models/listing_cart_spec.rb +46 -46
- data/spec/unit/spark_api/models/listing_meta_translations_spec.rb +6 -6
- data/spec/unit/spark_api/models/listing_spec.rb +91 -91
- data/spec/unit/spark_api/models/message_spec.rb +10 -10
- data/spec/unit/spark_api/models/note_spec.rb +10 -10
- data/spec/unit/spark_api/models/notification_spec.rb +6 -6
- data/spec/unit/spark_api/models/open_house_spec.rb +4 -4
- data/spec/unit/spark_api/models/photo_spec.rb +8 -8
- data/spec/unit/spark_api/models/portal_spec.rb +4 -4
- data/spec/unit/spark_api/models/property_types_spec.rb +5 -5
- data/spec/unit/spark_api/models/rental_calendar_spec.rb +13 -11
- data/spec/unit/spark_api/models/rule_spec.rb +2 -2
- data/spec/unit/spark_api/models/saved_search_spec.rb +33 -33
- data/spec/unit/spark_api/models/search_template/quick_search_spec.rb +5 -5
- data/spec/unit/spark_api/models/shared_listing_spec.rb +12 -12
- data/spec/unit/spark_api/models/sort_spec.rb +3 -3
- data/spec/unit/spark_api/models/standard_fields_spec.rb +12 -12
- data/spec/unit/spark_api/models/subresource_spec.rb +33 -15
- data/spec/unit/spark_api/models/system_info_spec.rb +7 -7
- data/spec/unit/spark_api/models/tour_of_home_spec.rb +3 -3
- data/spec/unit/spark_api/models/video_spec.rb +9 -9
- data/spec/unit/spark_api/models/virtual_tour_spec.rb +7 -7
- data/spec/unit/spark_api/models/vow_account_spec.rb +8 -8
- data/spec/unit/spark_api/multi_client_spec.rb +14 -14
- data/spec/unit/spark_api/options_hash_spec.rb +4 -4
- data/spec/unit/spark_api/paginate_spec.rb +71 -71
- data/spec/unit/spark_api/primary_array_spec.rb +5 -5
- data/spec/unit/spark_api/request_spec.rb +65 -59
- data/spec/unit/spark_api_spec.rb +6 -6
- metadata +215 -280
data/spec/unit/spark_api_spec.rb
CHANGED
@@ -3,30 +3,30 @@ require './spec/spec_helper'
|
|
3
3
|
describe SparkApi do
|
4
4
|
|
5
5
|
it "should use 'yajl-ruby' for parsing json" do
|
6
|
-
MultiJson.engine.
|
6
|
+
expect(MultiJson.engine).to eq(MultiJson::Adapters::Yajl) unless jruby?
|
7
7
|
end
|
8
8
|
|
9
9
|
it "should load the version" do
|
10
|
-
subject::VERSION.
|
10
|
+
expect(subject::VERSION).to match(/\d+\.\d+\.\d+/)
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should give me a client connection" do
|
14
|
-
subject.client.
|
14
|
+
expect(subject.client).to be_a(SparkApi::Client)
|
15
15
|
end
|
16
16
|
|
17
17
|
it "should reset my connection" do
|
18
18
|
c1 = subject.client
|
19
19
|
subject.reset
|
20
|
-
subject.client.
|
20
|
+
expect(subject.client).not_to eq(c1)
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should let me override the default logger" do
|
24
|
-
subject.logger.level.
|
24
|
+
expect(subject.logger.level).to eq(Logger::DEBUG) # default overridden in spec_helper
|
25
25
|
|
26
26
|
subject.logger = Logger.new('/dev/null')
|
27
27
|
subject.logger.level = Logger::WARN
|
28
28
|
|
29
|
-
SparkApi.logger.level.
|
29
|
+
expect(SparkApi.logger.level).to eq(Logger::WARN)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spark_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hornseth
|
@@ -9,270 +9,200 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-12-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.17.3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: 0.17.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: multi_json
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '1.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '1.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: json
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '1.7'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '1.7'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: builder
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 2.1.2
|
63
|
-
- - <
|
63
|
+
- - "<"
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 4.0.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 2.1.2
|
73
|
-
- - <
|
73
|
+
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 4.0.0
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: will_paginate
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 3.0.pre2
|
83
|
-
- - <
|
83
|
+
- - "<"
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 4.0.0
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- -
|
90
|
+
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 3.0.pre2
|
93
|
-
- - <
|
93
|
+
- - "<"
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 4.0.0
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: highline
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '1.0'
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '1.0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: public_suffix
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ~>
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 1.4.6
|
117
|
-
type: :development
|
118
|
-
prerelease: false
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ~>
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 1.4.6
|
124
110
|
- !ruby/object:Gem::Dependency
|
125
111
|
name: rake
|
126
112
|
requirement: !ruby/object:Gem::Requirement
|
127
113
|
requirements:
|
128
|
-
- -
|
114
|
+
- - ">="
|
129
115
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0
|
116
|
+
version: '0'
|
131
117
|
type: :development
|
132
118
|
prerelease: false
|
133
119
|
version_requirements: !ruby/object:Gem::Requirement
|
134
120
|
requirements:
|
135
|
-
- -
|
121
|
+
- - ">="
|
136
122
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0
|
123
|
+
version: '0'
|
138
124
|
- !ruby/object:Gem::Dependency
|
139
125
|
name: rspec
|
140
126
|
requirement: !ruby/object:Gem::Requirement
|
141
127
|
requirements:
|
142
|
-
- -
|
128
|
+
- - ">="
|
143
129
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
130
|
+
version: '0'
|
145
131
|
type: :development
|
146
132
|
prerelease: false
|
147
133
|
version_requirements: !ruby/object:Gem::Requirement
|
148
134
|
requirements:
|
149
|
-
- -
|
135
|
+
- - ">="
|
150
136
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
137
|
+
version: '0'
|
152
138
|
- !ruby/object:Gem::Dependency
|
153
139
|
name: webmock
|
154
140
|
requirement: !ruby/object:Gem::Requirement
|
155
141
|
requirements:
|
156
|
-
- -
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '1.9'
|
159
|
-
type: :development
|
160
|
-
prerelease: false
|
161
|
-
version_requirements: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - ~>
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '1.9'
|
166
|
-
- !ruby/object:Gem::Dependency
|
167
|
-
name: typhoeus
|
168
|
-
requirement: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - ~>
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.3'
|
173
|
-
type: :development
|
174
|
-
prerelease: false
|
175
|
-
version_requirements: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - ~>
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '0.3'
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
|
-
name: ci_reporter
|
182
|
-
requirement: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - ~>
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: 1.7.0
|
187
|
-
type: :development
|
188
|
-
prerelease: false
|
189
|
-
version_requirements: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - ~>
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: 1.7.0
|
194
|
-
- !ruby/object:Gem::Dependency
|
195
|
-
name: rb-readline
|
196
|
-
requirement: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - ! '>='
|
142
|
+
- - ">="
|
199
143
|
- !ruby/object:Gem::Version
|
200
144
|
version: '0'
|
201
145
|
type: :development
|
202
146
|
prerelease: false
|
203
147
|
version_requirements: !ruby/object:Gem::Requirement
|
204
148
|
requirements:
|
205
|
-
- -
|
149
|
+
- - ">="
|
206
150
|
- !ruby/object:Gem::Version
|
207
151
|
version: '0'
|
208
152
|
- !ruby/object:Gem::Dependency
|
209
|
-
name:
|
153
|
+
name: rexml
|
210
154
|
requirement: !ruby/object:Gem::Requirement
|
211
155
|
requirements:
|
212
|
-
- -
|
156
|
+
- - ">="
|
213
157
|
- !ruby/object:Gem::Version
|
214
158
|
version: '0'
|
215
159
|
type: :development
|
216
160
|
prerelease: false
|
217
161
|
version_requirements: !ruby/object:Gem::Requirement
|
218
162
|
requirements:
|
219
|
-
- -
|
163
|
+
- - ">="
|
220
164
|
- !ruby/object:Gem::Version
|
221
165
|
version: '0'
|
222
166
|
- !ruby/object:Gem::Dependency
|
223
|
-
name:
|
167
|
+
name: typhoeus
|
224
168
|
requirement: !ruby/object:Gem::Requirement
|
225
169
|
requirements:
|
226
|
-
- -
|
170
|
+
- - ">="
|
227
171
|
- !ruby/object:Gem::Version
|
228
172
|
version: '0'
|
229
173
|
type: :development
|
230
174
|
prerelease: false
|
231
175
|
version_requirements: !ruby/object:Gem::Requirement
|
232
176
|
requirements:
|
233
|
-
- -
|
177
|
+
- - ">="
|
234
178
|
- !ruby/object:Gem::Version
|
235
179
|
version: '0'
|
236
180
|
- !ruby/object:Gem::Dependency
|
237
|
-
name:
|
181
|
+
name: ci_reporter_rspec
|
238
182
|
requirement: !ruby/object:Gem::Requirement
|
239
183
|
requirements:
|
240
|
-
- -
|
184
|
+
- - ">="
|
241
185
|
- !ruby/object:Gem::Version
|
242
186
|
version: '0'
|
243
187
|
type: :development
|
244
188
|
prerelease: false
|
245
189
|
version_requirements: !ruby/object:Gem::Requirement
|
246
190
|
requirements:
|
247
|
-
- -
|
191
|
+
- - ">="
|
248
192
|
- !ruby/object:Gem::Version
|
249
193
|
version: '0'
|
250
194
|
- !ruby/object:Gem::Dependency
|
251
|
-
name:
|
252
|
-
requirement: !ruby/object:Gem::Requirement
|
253
|
-
requirements:
|
254
|
-
- - ~>
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: 3.0.8
|
257
|
-
type: :development
|
258
|
-
prerelease: false
|
259
|
-
version_requirements: !ruby/object:Gem::Requirement
|
260
|
-
requirements:
|
261
|
-
- - ~>
|
262
|
-
- !ruby/object:Gem::Version
|
263
|
-
version: 3.0.8
|
264
|
-
- !ruby/object:Gem::Dependency
|
265
|
-
name: guard-rspec
|
195
|
+
name: simplecov-rcov
|
266
196
|
requirement: !ruby/object:Gem::Requirement
|
267
197
|
requirements:
|
268
|
-
- -
|
198
|
+
- - ">="
|
269
199
|
- !ruby/object:Gem::Version
|
270
200
|
version: '0'
|
271
201
|
type: :development
|
272
202
|
prerelease: false
|
273
203
|
version_requirements: !ruby/object:Gem::Requirement
|
274
204
|
requirements:
|
275
|
-
- -
|
205
|
+
- - ">="
|
276
206
|
- !ruby/object:Gem::Version
|
277
207
|
version: '0'
|
278
208
|
description: The spark_api gem handles most of the boilerplate for communicating with
|
@@ -335,6 +265,7 @@ files:
|
|
335
265
|
- lib/spark_api/models/email_link.rb
|
336
266
|
- lib/spark_api/models/fields.rb
|
337
267
|
- lib/spark_api/models/finders.rb
|
268
|
+
- lib/spark_api/models/floplan.rb
|
338
269
|
- lib/spark_api/models/idx.rb
|
339
270
|
- lib/spark_api/models/idx_link.rb
|
340
271
|
- lib/spark_api/models/incomplete_listing.rb
|
@@ -382,6 +313,7 @@ files:
|
|
382
313
|
- script/example.rb
|
383
314
|
- script/oauth2_example.rb
|
384
315
|
- script/release
|
316
|
+
- script/reso_middleware_example.rb
|
385
317
|
- spec/fixtures/accounts/all.json
|
386
318
|
- spec/fixtures/accounts/my.json
|
387
319
|
- spec/fixtures/accounts/my_portal.json
|
@@ -440,6 +372,7 @@ files:
|
|
440
372
|
- spec/fixtures/listings/constraints.json
|
441
373
|
- spec/fixtures/listings/constraints_with_pagination.json
|
442
374
|
- spec/fixtures/listings/document_index.json
|
375
|
+
- spec/fixtures/listings/floplans_index.json
|
443
376
|
- spec/fixtures/listings/multiple.json
|
444
377
|
- spec/fixtures/listings/no_subresources.json
|
445
378
|
- spec/fixtures/listings/open_houses.json
|
@@ -548,6 +481,7 @@ files:
|
|
548
481
|
- spec/unit/spark_api/models/email_link_spec.rb
|
549
482
|
- spec/unit/spark_api/models/fields_spec.rb
|
550
483
|
- spec/unit/spark_api/models/finders_spec.rb
|
484
|
+
- spec/unit/spark_api/models/floplan_spec.rb
|
551
485
|
- spec/unit/spark_api/models/listing_cart_spec.rb
|
552
486
|
- spec/unit/spark_api/models/listing_meta_translations_spec.rb
|
553
487
|
- spec/unit/spark_api/models/listing_spec.rb
|
@@ -590,216 +524,217 @@ require_paths:
|
|
590
524
|
- lib
|
591
525
|
required_ruby_version: !ruby/object:Gem::Requirement
|
592
526
|
requirements:
|
593
|
-
- -
|
527
|
+
- - ">="
|
594
528
|
- !ruby/object:Gem::Version
|
595
529
|
version: '0'
|
596
530
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
597
531
|
requirements:
|
598
|
-
- -
|
532
|
+
- - ">="
|
599
533
|
- !ruby/object:Gem::Version
|
600
534
|
version: '1.8'
|
601
535
|
requirements: []
|
602
|
-
|
603
|
-
rubygems_version: 2.2.5
|
536
|
+
rubygems_version: 3.1.4
|
604
537
|
signing_key:
|
605
538
|
specification_version: 4
|
606
539
|
summary: A library for interacting with the Spark web services.
|
607
540
|
test_files:
|
608
|
-
- spec/fixtures/generic_delete.json
|
609
|
-
- spec/fixtures/listing_meta_translations/get.json
|
610
|
-
- spec/fixtures/oauth2/refresh_body.json
|
611
|
-
- spec/fixtures/oauth2/access.json
|
612
|
-
- spec/fixtures/oauth2/authorization_code_body.json
|
613
|
-
- spec/fixtures/oauth2/access_with_old_refresh.json
|
614
|
-
- spec/fixtures/oauth2/access_with_refresh.json
|
615
|
-
- spec/fixtures/oauth2/error.json
|
616
|
-
- spec/fixtures/oauth2/password_body.json
|
617
|
-
- spec/fixtures/fields/settings.json
|
618
|
-
- spec/fixtures/fields/order_a.json
|
619
|
-
- spec/fixtures/fields/order.json
|
620
|
-
- spec/fixtures/success.json
|
621
|
-
- spec/fixtures/session.json
|
622
|
-
- spec/fixtures/sorts/get.json
|
623
|
-
- spec/fixtures/oauth2_error.json
|
624
|
-
- spec/fixtures/base.json
|
625
|
-
- spec/fixtures/idx_links/get.json
|
626
|
-
- spec/fixtures/authentication_failure.json
|
627
|
-
- spec/fixtures/standardfields/nearby.json
|
628
|
-
- spec/fixtures/standardfields/city.json
|
629
|
-
- spec/fixtures/standardfields/standardfields.json
|
630
|
-
- spec/fixtures/standardfields/stateorprovince.json
|
631
|
-
- spec/fixtures/rules/get.json
|
632
|
-
- spec/fixtures/finders.json
|
633
|
-
- spec/fixtures/notes/agent_shared_empty.json
|
634
|
-
- spec/fixtures/notes/new.json
|
635
|
-
- spec/fixtures/notes/add.json
|
636
|
-
- spec/fixtures/notes/agent_shared.json
|
637
|
-
- spec/fixtures/accounts/office.json
|
638
541
|
- spec/fixtures/accounts/all.json
|
639
|
-
- spec/fixtures/accounts/
|
640
|
-
- spec/fixtures/accounts/my.json
|
542
|
+
- spec/fixtures/accounts/my_put.json
|
641
543
|
- spec/fixtures/accounts/my_portal.json
|
544
|
+
- spec/fixtures/accounts/office.json
|
545
|
+
- spec/fixtures/accounts/my.json
|
642
546
|
- spec/fixtures/accounts/password_save.json
|
643
|
-
- spec/fixtures/accounts/
|
644
|
-
- spec/fixtures/
|
645
|
-
- spec/fixtures/
|
646
|
-
- spec/fixtures/
|
647
|
-
- spec/fixtures/
|
648
|
-
- spec/fixtures/
|
649
|
-
- spec/fixtures/
|
650
|
-
- spec/fixtures/
|
547
|
+
- spec/fixtures/accounts/my_save.json
|
548
|
+
- spec/fixtures/authentication_failure.json
|
549
|
+
- spec/fixtures/notes/new.json
|
550
|
+
- spec/fixtures/notes/agent_shared.json
|
551
|
+
- spec/fixtures/notes/agent_shared_empty.json
|
552
|
+
- spec/fixtures/notes/add.json
|
553
|
+
- spec/fixtures/contacts/new_empty.json
|
554
|
+
- spec/fixtures/contacts/contacts.json
|
555
|
+
- spec/fixtures/contacts/new.json
|
556
|
+
- spec/fixtures/contacts/tags.json
|
557
|
+
- spec/fixtures/contacts/post.json
|
558
|
+
- spec/fixtures/contacts/vow_accounts/get.json
|
559
|
+
- spec/fixtures/contacts/vow_accounts/new.json
|
560
|
+
- spec/fixtures/contacts/vow_accounts/edit.json
|
561
|
+
- spec/fixtures/contacts/vow_accounts/post.json
|
562
|
+
- spec/fixtures/contacts/my.json
|
563
|
+
- spec/fixtures/contacts/new_notify.json
|
564
|
+
- spec/fixtures/session.json
|
565
|
+
- spec/fixtures/no_results.json
|
566
|
+
- spec/fixtures/base.json
|
567
|
+
- spec/fixtures/success.json
|
568
|
+
- spec/fixtures/logo_fbs.png
|
651
569
|
- spec/fixtures/search_templates/quick_searches/get.json
|
652
|
-
- spec/fixtures/
|
653
|
-
- spec/fixtures/
|
654
|
-
- spec/fixtures/
|
570
|
+
- spec/fixtures/sorts/get.json
|
571
|
+
- spec/fixtures/errors/expired.json
|
572
|
+
- spec/fixtures/errors/failure_with_constraint.json
|
573
|
+
- spec/fixtures/errors/failure.json
|
574
|
+
- spec/fixtures/errors/failure_with_msg.json
|
575
|
+
- spec/fixtures/oauth2_error.json
|
576
|
+
- spec/fixtures/portal/my_non_existant.json
|
577
|
+
- spec/fixtures/portal/new.json
|
578
|
+
- spec/fixtures/portal/enable.json
|
579
|
+
- spec/fixtures/portal/disable.json
|
580
|
+
- spec/fixtures/portal/post.json
|
581
|
+
- spec/fixtures/portal/my.json
|
582
|
+
- spec/fixtures/rules/get.json
|
583
|
+
- spec/fixtures/messages/new_empty.json
|
584
|
+
- spec/fixtures/messages/get.json
|
585
|
+
- spec/fixtures/messages/new_with_recipients.json
|
586
|
+
- spec/fixtures/messages/new.json
|
587
|
+
- spec/fixtures/messages/post.json
|
588
|
+
- spec/fixtures/messages/count.json
|
589
|
+
- spec/fixtures/comments/get.json
|
590
|
+
- spec/fixtures/comments/new.json
|
591
|
+
- spec/fixtures/comments/post.json
|
592
|
+
- spec/fixtures/fields/settings.json
|
593
|
+
- spec/fixtures/fields/order.json
|
594
|
+
- spec/fixtures/fields/order_a.json
|
595
|
+
- spec/fixtures/generic_failure.json
|
655
596
|
- spec/fixtures/listing_carts/add_listings.json
|
656
|
-
- spec/fixtures/listing_carts/
|
657
|
-
- spec/fixtures/listing_carts/
|
658
|
-
- spec/fixtures/listing_carts/
|
659
|
-
- spec/fixtures/listing_carts/
|
597
|
+
- spec/fixtures/listing_carts/listing_portal_cart.json
|
598
|
+
- spec/fixtures/listing_carts/remove_listing.json
|
599
|
+
- spec/fixtures/listing_carts/post_portal_cart.json
|
600
|
+
- spec/fixtures/listing_carts/add_portal_cart_listings_post.json
|
660
601
|
- spec/fixtures/listing_carts/put.json
|
602
|
+
- spec/fixtures/listing_carts/new_portal_cart.json
|
661
603
|
- spec/fixtures/listing_carts/new.json
|
662
|
-
- spec/fixtures/listing_carts/
|
663
|
-
- spec/fixtures/listing_carts/listing_portal_cart.json
|
664
|
-
- spec/fixtures/listing_carts/listing_cart.json
|
604
|
+
- spec/fixtures/listing_carts/add_listing_post.json
|
665
605
|
- spec/fixtures/listing_carts/add_listings_post.json
|
666
|
-
- spec/fixtures/listing_carts/new_portal_cart.json
|
667
|
-
- spec/fixtures/listing_carts/put_name.json
|
668
606
|
- spec/fixtures/listing_carts/put_ids.json
|
669
|
-
- spec/fixtures/
|
670
|
-
- spec/fixtures/
|
671
|
-
- spec/fixtures/
|
672
|
-
- spec/fixtures/
|
673
|
-
- spec/fixtures/
|
674
|
-
- spec/fixtures/
|
675
|
-
- spec/fixtures/
|
676
|
-
- spec/fixtures/
|
677
|
-
- spec/fixtures/
|
607
|
+
- spec/fixtures/listing_carts/add_listing.json
|
608
|
+
- spec/fixtures/listing_carts/post.json
|
609
|
+
- spec/fixtures/listing_carts/listing_cart.json
|
610
|
+
- spec/fixtures/listing_carts/empty.json
|
611
|
+
- spec/fixtures/listing_carts/add_portal_cart_listings.json
|
612
|
+
- spec/fixtures/listing_carts/put_name.json
|
613
|
+
- spec/fixtures/notifications/new_empty.json
|
614
|
+
- spec/fixtures/notifications/mark_read.json
|
615
|
+
- spec/fixtures/notifications/new.json
|
616
|
+
- spec/fixtures/notifications/notifications.json
|
617
|
+
- spec/fixtures/notifications/post.json
|
618
|
+
- spec/fixtures/notifications/unread.json
|
619
|
+
- spec/fixtures/listing_meta_translations/get.json
|
620
|
+
- spec/fixtures/finders.json
|
621
|
+
- spec/fixtures/generic_delete.json
|
678
622
|
- spec/fixtures/empty.json
|
679
|
-
- spec/fixtures/
|
680
|
-
- spec/fixtures/
|
681
|
-
- spec/fixtures/
|
682
|
-
- spec/fixtures/
|
683
|
-
- spec/fixtures/
|
684
|
-
- spec/fixtures/
|
685
|
-
- spec/fixtures/
|
686
|
-
- spec/fixtures/
|
687
|
-
- spec/fixtures/
|
688
|
-
- spec/fixtures/
|
689
|
-
- spec/fixtures/saved_searches/get.json
|
690
|
-
- spec/fixtures/saved_searches/with_inactive_newsfeed.json
|
691
|
-
- spec/fixtures/sharedlinks/success.json
|
692
|
-
- spec/fixtures/messages/post.json
|
693
|
-
- spec/fixtures/messages/count.json
|
694
|
-
- spec/fixtures/messages/new_with_recipients.json
|
695
|
-
- spec/fixtures/messages/new.json
|
696
|
-
- spec/fixtures/messages/new_empty.json
|
697
|
-
- spec/fixtures/messages/get.json
|
698
|
-
- spec/fixtures/listings/put_reorder_photo.json
|
699
|
-
- spec/fixtures/listings/reorder_photo.json
|
700
|
-
- spec/fixtures/listings/constraints.json
|
701
|
-
- spec/fixtures/listings/tour_of_homes_search.json
|
702
|
-
- spec/fixtures/listings/tour_of_homes.json
|
703
|
-
- spec/fixtures/listings/no_subresources.json
|
704
|
-
- spec/fixtures/listings/with_vtour.json
|
705
|
-
- spec/fixtures/listings/multiple.json
|
706
|
-
- spec/fixtures/listings/with_documents.json
|
707
|
-
- spec/fixtures/listings/with_supplement.json
|
623
|
+
- spec/fixtures/oauth2/error.json
|
624
|
+
- spec/fixtures/oauth2/access_with_old_refresh.json
|
625
|
+
- spec/fixtures/oauth2/authorization_code_body.json
|
626
|
+
- spec/fixtures/oauth2/password_body.json
|
627
|
+
- spec/fixtures/oauth2/access.json
|
628
|
+
- spec/fixtures/oauth2/access_with_refresh.json
|
629
|
+
- spec/fixtures/oauth2/refresh_body.json
|
630
|
+
- spec/fixtures/newsfeeds/get.json
|
631
|
+
- spec/fixtures/newsfeeds/inactive.json
|
632
|
+
- spec/fixtures/newsfeeds/meta.json
|
708
633
|
- spec/fixtures/listings/rental_calendar.json
|
634
|
+
- spec/fixtures/listings/constraints_with_pagination.json
|
635
|
+
- spec/fixtures/listings/with_supplement.json
|
636
|
+
- spec/fixtures/listings/put_expiration_date.json
|
709
637
|
- spec/fixtures/listings/with_rental_calendar.json
|
710
|
-
- spec/fixtures/listings/put.json
|
711
|
-
- spec/fixtures/listings/with_permissions.json
|
712
|
-
- spec/fixtures/listings/with_videos.json
|
713
638
|
- spec/fixtures/listings/shared_listing_get.json
|
714
|
-
- spec/fixtures/listings/
|
715
|
-
- spec/fixtures/listings/shared_listing_new.json
|
716
|
-
- spec/fixtures/listings/document_index.json
|
717
|
-
- spec/fixtures/listings/photos/post.json
|
718
|
-
- spec/fixtures/listings/photos/index.json
|
639
|
+
- spec/fixtures/listings/photos/rotate.json
|
719
640
|
- spec/fixtures/listings/photos/new.json
|
720
641
|
- spec/fixtures/listings/photos/rollback.json
|
642
|
+
- spec/fixtures/listings/photos/post.json
|
721
643
|
- spec/fixtures/listings/photos/batch_delete.json
|
722
|
-
- spec/fixtures/listings/photos/
|
723
|
-
- spec/fixtures/listings/
|
724
|
-
- spec/fixtures/listings/with_photos.json
|
725
|
-
- spec/fixtures/listings/open_houses.json
|
644
|
+
- spec/fixtures/listings/photos/index.json
|
645
|
+
- spec/fixtures/listings/tour_of_homes_search.json
|
726
646
|
- spec/fixtures/listings/virtual_tours_index.json
|
727
|
-
- spec/fixtures/listings/
|
647
|
+
- spec/fixtures/listings/multiple.json
|
648
|
+
- spec/fixtures/listings/shared_listing_new.json
|
649
|
+
- spec/fixtures/listings/put.json
|
650
|
+
- spec/fixtures/listings/shared_listing_post.json
|
728
651
|
- spec/fixtures/listings/videos_index.json
|
729
|
-
- spec/fixtures/
|
730
|
-
- spec/fixtures/
|
731
|
-
- spec/fixtures/
|
732
|
-
- spec/fixtures/
|
733
|
-
- spec/fixtures/
|
734
|
-
- spec/fixtures/
|
735
|
-
- spec/fixtures/
|
736
|
-
- spec/fixtures/
|
737
|
-
- spec/fixtures/
|
738
|
-
- spec/fixtures/
|
739
|
-
- spec/fixtures/
|
740
|
-
- spec/fixtures/
|
741
|
-
- spec/fixtures/
|
742
|
-
- spec/fixtures/
|
743
|
-
- spec/fixtures/
|
744
|
-
- spec/fixtures/
|
745
|
-
- spec/fixtures/
|
746
|
-
- spec/fixtures/
|
747
|
-
- spec/fixtures/
|
748
|
-
- spec/
|
749
|
-
- spec/
|
750
|
-
- spec/
|
751
|
-
- spec/
|
752
|
-
- spec/
|
753
|
-
- spec/
|
754
|
-
- spec/
|
652
|
+
- spec/fixtures/listings/document_index.json
|
653
|
+
- spec/fixtures/listings/with_permissions.json
|
654
|
+
- spec/fixtures/listings/constraints.json
|
655
|
+
- spec/fixtures/listings/with_vtour.json
|
656
|
+
- spec/fixtures/listings/with_photos.json
|
657
|
+
- spec/fixtures/listings/no_subresources.json
|
658
|
+
- spec/fixtures/listings/with_videos.json
|
659
|
+
- spec/fixtures/listings/with_documents.json
|
660
|
+
- spec/fixtures/listings/reorder_photo.json
|
661
|
+
- spec/fixtures/listings/floplans_index.json
|
662
|
+
- spec/fixtures/listings/tour_of_homes.json
|
663
|
+
- spec/fixtures/listings/put_reorder_photo.json
|
664
|
+
- spec/fixtures/listings/open_houses.json
|
665
|
+
- spec/fixtures/standardfields/stateorprovince.json
|
666
|
+
- spec/fixtures/standardfields/standardfields.json
|
667
|
+
- spec/fixtures/standardfields/city.json
|
668
|
+
- spec/fixtures/standardfields/nearby.json
|
669
|
+
- spec/fixtures/count.json
|
670
|
+
- spec/fixtures/saved_searches/with_inactive_newsfeed.json
|
671
|
+
- spec/fixtures/saved_searches/get_provided.json
|
672
|
+
- spec/fixtures/saved_searches/get.json
|
673
|
+
- spec/fixtures/saved_searches/with_newsfeed.json
|
674
|
+
- spec/fixtures/saved_searches/new.json
|
675
|
+
- spec/fixtures/saved_searches/post.json
|
676
|
+
- spec/fixtures/saved_searches/update.json
|
677
|
+
- spec/fixtures/saved_searches/without_newsfeed.json
|
678
|
+
- spec/fixtures/idx_links/get.json
|
679
|
+
- spec/fixtures/property_types/property_types.json
|
680
|
+
- spec/fixtures/sharedlinks/success.json
|
681
|
+
- spec/fixtures/activities/get.json
|
682
|
+
- spec/unit/spark_api/authentication/base_auth_spec.rb
|
755
683
|
- spec/unit/spark_api/authentication/api_auth_spec.rb
|
756
|
-
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
757
|
-
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
758
684
|
- spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
685
|
+
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
686
|
+
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
759
687
|
- spec/unit/spark_api/authentication/oauth2_spec.rb
|
760
|
-
- spec/unit/spark_api/
|
761
|
-
- spec/unit/spark_api/
|
688
|
+
- spec/unit/spark_api/options_hash_spec.rb
|
689
|
+
- spec/unit/spark_api/paginate_spec.rb
|
762
690
|
- spec/unit/spark_api/request_spec.rb
|
763
|
-
- spec/unit/spark_api/
|
764
|
-
- spec/unit/spark_api/
|
765
|
-
- spec/unit/spark_api/
|
766
|
-
- spec/unit/spark_api/models/
|
767
|
-
- spec/unit/spark_api/models/system_info_spec.rb
|
768
|
-
- spec/unit/spark_api/models/virtual_tour_spec.rb
|
769
|
-
- spec/unit/spark_api/models/rental_calendar_spec.rb
|
770
|
-
- spec/unit/spark_api/models/listing_cart_spec.rb
|
771
|
-
- spec/unit/spark_api/models/dirty_spec.rb
|
772
|
-
- spec/unit/spark_api/models/standard_fields_spec.rb
|
773
|
-
- spec/unit/spark_api/models/shared_listing_spec.rb
|
774
|
-
- spec/unit/spark_api/models/finders_spec.rb
|
775
|
-
- spec/unit/spark_api/models/account_spec.rb
|
776
|
-
- spec/unit/spark_api/models/listing_meta_translations_spec.rb
|
691
|
+
- spec/unit/spark_api/authentication_spec.rb
|
692
|
+
- spec/unit/spark_api/primary_array_spec.rb
|
693
|
+
- spec/unit/spark_api/configuration_spec.rb
|
694
|
+
- spec/unit/spark_api/models/property_types_spec.rb
|
777
695
|
- spec/unit/spark_api/models/listing_spec.rb
|
778
696
|
- spec/unit/spark_api/models/video_spec.rb
|
779
|
-
- spec/unit/spark_api/models/shared_link_spec.rb
|
780
|
-
- spec/unit/spark_api/models/account_report_spec.rb
|
781
697
|
- spec/unit/spark_api/models/sort_spec.rb
|
782
|
-
- spec/unit/spark_api/models/
|
698
|
+
- spec/unit/spark_api/models/finders_spec.rb
|
699
|
+
- spec/unit/spark_api/models/document_spec.rb
|
700
|
+
- spec/unit/spark_api/models/vow_account_spec.rb
|
701
|
+
- spec/unit/spark_api/models/listing_meta_translations_spec.rb
|
702
|
+
- spec/unit/spark_api/models/fields_spec.rb
|
703
|
+
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
704
|
+
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
705
|
+
- spec/unit/spark_api/models/activity_spec.rb
|
706
|
+
- spec/unit/spark_api/models/rule_spec.rb
|
707
|
+
- spec/unit/spark_api/models/listing_cart_spec.rb
|
708
|
+
- spec/unit/spark_api/models/account_report_spec.rb
|
783
709
|
- spec/unit/spark_api/models/contact_spec.rb
|
784
710
|
- spec/unit/spark_api/models/email_link_spec.rb
|
785
|
-
- spec/unit/spark_api/models/portal_spec.rb
|
786
|
-
- spec/unit/spark_api/models/message_spec.rb
|
787
|
-
- spec/unit/spark_api/models/constraint_spec.rb
|
788
|
-
- spec/unit/spark_api/models/tour_of_home_spec.rb
|
789
|
-
- spec/unit/spark_api/models/photo_spec.rb
|
790
711
|
- spec/unit/spark_api/models/notification_spec.rb
|
712
|
+
- spec/unit/spark_api/models/open_house_spec.rb
|
713
|
+
- spec/unit/spark_api/models/search_template/quick_search_spec.rb
|
714
|
+
- spec/unit/spark_api/models/constraint_spec.rb
|
715
|
+
- spec/unit/spark_api/models/dirty_spec.rb
|
791
716
|
- spec/unit/spark_api/models/note_spec.rb
|
717
|
+
- spec/unit/spark_api/models/standard_fields_spec.rb
|
792
718
|
- spec/unit/spark_api/models/connect_prefs_spec.rb
|
793
|
-
- spec/unit/spark_api/models/
|
794
|
-
- spec/unit/spark_api/models/rule_spec.rb
|
795
|
-
- spec/unit/spark_api/models/fields_spec.rb
|
796
|
-
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
797
|
-
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
798
|
-
- spec/unit/spark_api/models/search_template/quick_search_spec.rb
|
799
|
-
- spec/unit/spark_api/models/property_types_spec.rb
|
719
|
+
- spec/unit/spark_api/models/message_spec.rb
|
800
720
|
- spec/unit/spark_api/models/base_spec.rb
|
721
|
+
- spec/unit/spark_api/models/floplan_spec.rb
|
801
722
|
- spec/unit/spark_api/models/subresource_spec.rb
|
802
|
-
- spec/unit/spark_api/models/
|
803
|
-
- spec/unit/spark_api/models/
|
723
|
+
- spec/unit/spark_api/models/system_info_spec.rb
|
724
|
+
- spec/unit/spark_api/models/virtual_tour_spec.rb
|
725
|
+
- spec/unit/spark_api/models/tour_of_home_spec.rb
|
726
|
+
- spec/unit/spark_api/models/shared_link_spec.rb
|
727
|
+
- spec/unit/spark_api/models/photo_spec.rb
|
728
|
+
- spec/unit/spark_api/models/account_spec.rb
|
729
|
+
- spec/unit/spark_api/models/saved_search_spec.rb
|
730
|
+
- spec/unit/spark_api/models/defaultable_spec.rb
|
731
|
+
- spec/unit/spark_api/models/news_feed_meta_spec.rb
|
732
|
+
- spec/unit/spark_api/models/rental_calendar_spec.rb
|
733
|
+
- spec/unit/spark_api/models/shared_listing_spec.rb
|
734
|
+
- spec/unit/spark_api/models/newsfeed_spec.rb
|
735
|
+
- spec/unit/spark_api/models/portal_spec.rb
|
736
|
+
- spec/unit/spark_api/configuration/yaml_spec.rb
|
737
|
+
- spec/unit/spark_api/multi_client_spec.rb
|
738
|
+
- spec/unit/spark_api/faraday_middleware_spec.rb
|
804
739
|
- spec/unit/spark_api_spec.rb
|
805
740
|
- spec/spec_helper.rb
|