spark_api 1.4.29 → 1.5.1

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 (71) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +1 -1
  3. data/VERSION +1 -1
  4. data/lib/spark_api/authentication/api_auth.rb +1 -1
  5. data/lib/spark_api/authentication/oauth2.rb +1 -1
  6. data/lib/spark_api/authentication/oauth2_impl/grant_type_base.rb +1 -1
  7. data/lib/spark_api/client.rb +2 -2
  8. data/lib/spark_api/models.rb +2 -0
  9. data/lib/spark_api/models/floplan.rb +24 -0
  10. data/lib/spark_api/models/listing.rb +11 -1
  11. data/lib/spark_api/models/media.rb +30 -0
  12. data/lib/spark_api/models/subresource.rb +2 -2
  13. data/lib/spark_api/models/video.rb +108 -0
  14. data/lib/spark_api/models/virtual_tour.rb +16 -0
  15. data/lib/spark_api/request.rb +2 -2
  16. data/script/reso_middleware_example.rb +70 -0
  17. data/spec/fixtures/listings/floplans_index.json +15 -0
  18. data/spec/spec_helper.rb +9 -4
  19. data/spec/unit/spark_api/authentication/api_auth_spec.rb +21 -22
  20. data/spec/unit/spark_api/authentication/base_auth_spec.rb +3 -3
  21. data/spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb +1 -1
  22. data/spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb +1 -1
  23. data/spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb +2 -2
  24. data/spec/unit/spark_api/authentication/oauth2_spec.rb +40 -40
  25. data/spec/unit/spark_api/authentication_spec.rb +2 -2
  26. data/spec/unit/spark_api/configuration/yaml_spec.rb +44 -44
  27. data/spec/unit/spark_api/configuration_spec.rb +56 -57
  28. data/spec/unit/spark_api/faraday_middleware_spec.rb +12 -12
  29. data/spec/unit/spark_api/models/account_spec.rb +20 -20
  30. data/spec/unit/spark_api/models/activity_spec.rb +5 -5
  31. data/spec/unit/spark_api/models/base_spec.rb +32 -32
  32. data/spec/unit/spark_api/models/concerns/destroyable_spec.rb +2 -2
  33. data/spec/unit/spark_api/models/concerns/savable_spec.rb +19 -19
  34. data/spec/unit/spark_api/models/connect_prefs_spec.rb +1 -1
  35. data/spec/unit/spark_api/models/constraint_spec.rb +1 -1
  36. data/spec/unit/spark_api/models/contact_spec.rb +50 -50
  37. data/spec/unit/spark_api/models/dirty_spec.rb +12 -12
  38. data/spec/unit/spark_api/models/document_spec.rb +3 -3
  39. data/spec/unit/spark_api/models/fields_spec.rb +17 -17
  40. data/spec/unit/spark_api/models/finders_spec.rb +7 -7
  41. data/spec/unit/spark_api/models/floplan_spec.rb +24 -0
  42. data/spec/unit/spark_api/models/listing_cart_spec.rb +46 -46
  43. data/spec/unit/spark_api/models/listing_meta_translations_spec.rb +6 -6
  44. data/spec/unit/spark_api/models/listing_spec.rb +91 -91
  45. data/spec/unit/spark_api/models/message_spec.rb +10 -10
  46. data/spec/unit/spark_api/models/note_spec.rb +10 -10
  47. data/spec/unit/spark_api/models/notification_spec.rb +6 -6
  48. data/spec/unit/spark_api/models/open_house_spec.rb +4 -4
  49. data/spec/unit/spark_api/models/photo_spec.rb +8 -8
  50. data/spec/unit/spark_api/models/portal_spec.rb +4 -4
  51. data/spec/unit/spark_api/models/property_types_spec.rb +5 -5
  52. data/spec/unit/spark_api/models/rental_calendar_spec.rb +13 -11
  53. data/spec/unit/spark_api/models/rule_spec.rb +2 -2
  54. data/spec/unit/spark_api/models/saved_search_spec.rb +33 -33
  55. data/spec/unit/spark_api/models/search_template/quick_search_spec.rb +5 -5
  56. data/spec/unit/spark_api/models/shared_listing_spec.rb +12 -12
  57. data/spec/unit/spark_api/models/sort_spec.rb +3 -3
  58. data/spec/unit/spark_api/models/standard_fields_spec.rb +12 -12
  59. data/spec/unit/spark_api/models/subresource_spec.rb +33 -15
  60. data/spec/unit/spark_api/models/system_info_spec.rb +7 -7
  61. data/spec/unit/spark_api/models/tour_of_home_spec.rb +3 -3
  62. data/spec/unit/spark_api/models/video_spec.rb +9 -9
  63. data/spec/unit/spark_api/models/virtual_tour_spec.rb +7 -7
  64. data/spec/unit/spark_api/models/vow_account_spec.rb +8 -8
  65. data/spec/unit/spark_api/multi_client_spec.rb +14 -14
  66. data/spec/unit/spark_api/options_hash_spec.rb +4 -4
  67. data/spec/unit/spark_api/paginate_spec.rb +71 -71
  68. data/spec/unit/spark_api/primary_array_spec.rb +5 -5
  69. data/spec/unit/spark_api/request_spec.rb +65 -59
  70. data/spec/unit/spark_api_spec.rb +6 -6
  71. metadata +184 -248
@@ -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.should eq(MultiJson::Adapters::Yajl) unless jruby?
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.should match(/\d+\.\d+\.\d+/)
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.should be_a(SparkApi::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.should_not eq(c1)
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.should eq(Logger::DEBUG) # default overridden in spec_helper
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.should eq(Logger::WARN)
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.29
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hornseth
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-24 00:00:00.000000000 Z
12
+ date: 2021-02-11 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.9.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.9.0
27
+ version: 0.17.3
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: multi_json
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -43,14 +43,14 @@ dependencies:
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
@@ -107,92 +107,36 @@ dependencies:
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.9.2
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.9.2
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: 2.14.0
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: 2.14.0
137
+ version: '0'
152
138
  - !ruby/object:Gem::Dependency
153
139
  name: webmock
154
- requirement: !ruby/object:Gem::Requirement
155
- 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
140
  requirement: !ruby/object:Gem::Requirement
197
141
  requirements:
198
142
  - - ">="
@@ -206,7 +150,7 @@ dependencies:
206
150
  - !ruby/object:Gem::Version
207
151
  version: '0'
208
152
  - !ruby/object:Gem::Dependency
209
- name: rb-fsevent
153
+ name: rexml
210
154
  requirement: !ruby/object:Gem::Requirement
211
155
  requirements:
212
156
  - - ">="
@@ -220,7 +164,7 @@ dependencies:
220
164
  - !ruby/object:Gem::Version
221
165
  version: '0'
222
166
  - !ruby/object:Gem::Dependency
223
- name: simplecov
167
+ name: typhoeus
224
168
  requirement: !ruby/object:Gem::Requirement
225
169
  requirements:
226
170
  - - ">="
@@ -234,7 +178,7 @@ dependencies:
234
178
  - !ruby/object:Gem::Version
235
179
  version: '0'
236
180
  - !ruby/object:Gem::Dependency
237
- name: simplecov-rcov
181
+ name: ci_reporter_rspec
238
182
  requirement: !ruby/object:Gem::Requirement
239
183
  requirements:
240
184
  - - ">="
@@ -248,21 +192,7 @@ dependencies:
248
192
  - !ruby/object:Gem::Version
249
193
  version: '0'
250
194
  - !ruby/object:Gem::Dependency
251
- name: listen
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
  - - ">="
@@ -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
@@ -342,6 +273,7 @@ files:
342
273
  - lib/spark_api/models/listing_cart.rb
343
274
  - lib/spark_api/models/listing_meta_translations.rb
344
275
  - lib/spark_api/models/market_statistics.rb
276
+ - lib/spark_api/models/media.rb
345
277
  - lib/spark_api/models/message.rb
346
278
  - lib/spark_api/models/news_feed_meta.rb
347
279
  - lib/spark_api/models/newsfeed.rb
@@ -382,6 +314,7 @@ files:
382
314
  - script/example.rb
383
315
  - script/oauth2_example.rb
384
316
  - script/release
317
+ - script/reso_middleware_example.rb
385
318
  - spec/fixtures/accounts/all.json
386
319
  - spec/fixtures/accounts/my.json
387
320
  - spec/fixtures/accounts/my_portal.json
@@ -440,6 +373,7 @@ files:
440
373
  - spec/fixtures/listings/constraints.json
441
374
  - spec/fixtures/listings/constraints_with_pagination.json
442
375
  - spec/fixtures/listings/document_index.json
376
+ - spec/fixtures/listings/floplans_index.json
443
377
  - spec/fixtures/listings/multiple.json
444
378
  - spec/fixtures/listings/no_subresources.json
445
379
  - spec/fixtures/listings/open_houses.json
@@ -548,6 +482,7 @@ files:
548
482
  - spec/unit/spark_api/models/email_link_spec.rb
549
483
  - spec/unit/spark_api/models/fields_spec.rb
550
484
  - spec/unit/spark_api/models/finders_spec.rb
485
+ - spec/unit/spark_api/models/floplan_spec.rb
551
486
  - spec/unit/spark_api/models/listing_cart_spec.rb
552
487
  - spec/unit/spark_api/models/listing_meta_translations_spec.rb
553
488
  - spec/unit/spark_api/models/listing_spec.rb
@@ -599,206 +534,207 @@ required_rubygems_version: !ruby/object:Gem::Requirement
599
534
  - !ruby/object:Gem::Version
600
535
  version: '1.8'
601
536
  requirements: []
602
- rubyforge_project: spark_api
603
- rubygems_version: 2.5.2
537
+ rubygems_version: 3.1.4
604
538
  signing_key:
605
539
  specification_version: 4
606
540
  summary: A library for interacting with the Spark web services.
607
541
  test_files:
608
- - spec/fixtures/accounts/all.json
542
+ - spec/fixtures/fields/settings.json
543
+ - spec/fixtures/fields/order.json
544
+ - spec/fixtures/fields/order_a.json
545
+ - spec/fixtures/empty.json
546
+ - spec/fixtures/finders.json
547
+ - spec/fixtures/accounts/my_put.json
548
+ - spec/fixtures/accounts/password_save.json
609
549
  - spec/fixtures/accounts/my.json
610
550
  - spec/fixtures/accounts/my_portal.json
611
- - spec/fixtures/accounts/my_put.json
612
- - spec/fixtures/accounts/my_save.json
613
551
  - spec/fixtures/accounts/office.json
614
- - spec/fixtures/accounts/password_save.json
615
- - spec/fixtures/activities/get.json
616
- - spec/fixtures/authentication_failure.json
552
+ - spec/fixtures/accounts/all.json
553
+ - spec/fixtures/accounts/my_save.json
617
554
  - spec/fixtures/base.json
618
- - spec/fixtures/comments/get.json
619
- - spec/fixtures/comments/new.json
620
- - spec/fixtures/comments/post.json
621
- - spec/fixtures/contacts/contacts.json
555
+ - spec/fixtures/success.json
556
+ - spec/fixtures/property_types/property_types.json
557
+ - spec/fixtures/saved_searches/get.json
558
+ - spec/fixtures/saved_searches/without_newsfeed.json
559
+ - spec/fixtures/saved_searches/with_inactive_newsfeed.json
560
+ - spec/fixtures/saved_searches/get_provided.json
561
+ - spec/fixtures/saved_searches/update.json
562
+ - spec/fixtures/saved_searches/post.json
563
+ - spec/fixtures/saved_searches/new.json
564
+ - spec/fixtures/saved_searches/with_newsfeed.json
565
+ - spec/fixtures/standardfields/stateorprovince.json
566
+ - spec/fixtures/standardfields/standardfields.json
567
+ - spec/fixtures/standardfields/city.json
568
+ - spec/fixtures/standardfields/nearby.json
569
+ - spec/fixtures/portal/my.json
570
+ - spec/fixtures/portal/my_non_existant.json
571
+ - spec/fixtures/portal/enable.json
572
+ - spec/fixtures/portal/post.json
573
+ - spec/fixtures/portal/disable.json
574
+ - spec/fixtures/portal/new.json
575
+ - spec/fixtures/oauth2_error.json
576
+ - spec/fixtures/sharedlinks/success.json
577
+ - spec/fixtures/authentication_failure.json
578
+ - spec/fixtures/activities/get.json
579
+ - spec/fixtures/idx_links/get.json
622
580
  - spec/fixtures/contacts/my.json
623
- - spec/fixtures/contacts/new.json
581
+ - spec/fixtures/contacts/vow_accounts/get.json
582
+ - spec/fixtures/contacts/vow_accounts/edit.json
583
+ - spec/fixtures/contacts/vow_accounts/post.json
584
+ - spec/fixtures/contacts/vow_accounts/new.json
624
585
  - spec/fixtures/contacts/new_empty.json
625
- - spec/fixtures/contacts/new_notify.json
626
586
  - spec/fixtures/contacts/post.json
587
+ - spec/fixtures/contacts/new.json
627
588
  - spec/fixtures/contacts/tags.json
628
- - spec/fixtures/contacts/vow_accounts/edit.json
629
- - spec/fixtures/contacts/vow_accounts/get.json
630
- - spec/fixtures/contacts/vow_accounts/new.json
631
- - spec/fixtures/contacts/vow_accounts/post.json
632
- - spec/fixtures/count.json
633
- - spec/fixtures/empty.json
634
- - spec/fixtures/errors/expired.json
635
- - spec/fixtures/errors/failure.json
636
- - spec/fixtures/errors/failure_with_constraint.json
637
- - spec/fixtures/errors/failure_with_msg.json
638
- - spec/fixtures/fields/order.json
639
- - spec/fixtures/fields/order_a.json
640
- - spec/fixtures/fields/settings.json
641
- - spec/fixtures/finders.json
589
+ - spec/fixtures/contacts/new_notify.json
590
+ - spec/fixtures/contacts/contacts.json
591
+ - spec/fixtures/no_results.json
642
592
  - spec/fixtures/generic_delete.json
643
- - spec/fixtures/generic_failure.json
644
- - spec/fixtures/idx_links/get.json
645
- - spec/fixtures/listing_carts/add_listing.json
646
- - spec/fixtures/listing_carts/add_listing_post.json
647
- - spec/fixtures/listing_carts/add_listings.json
648
- - spec/fixtures/listing_carts/add_listings_post.json
649
- - spec/fixtures/listing_carts/add_portal_cart_listings.json
650
- - spec/fixtures/listing_carts/add_portal_cart_listings_post.json
651
- - spec/fixtures/listing_carts/empty.json
652
- - spec/fixtures/listing_carts/listing_cart.json
653
- - spec/fixtures/listing_carts/listing_portal_cart.json
654
- - spec/fixtures/listing_carts/new.json
655
- - spec/fixtures/listing_carts/new_portal_cart.json
656
- - spec/fixtures/listing_carts/post.json
657
- - spec/fixtures/listing_carts/post_portal_cart.json
658
- - spec/fixtures/listing_carts/put.json
659
- - spec/fixtures/listing_carts/put_ids.json
660
- - spec/fixtures/listing_carts/put_name.json
661
- - spec/fixtures/listing_carts/remove_listing.json
662
- - spec/fixtures/listing_meta_translations/get.json
663
- - spec/fixtures/listings/constraints.json
664
- - spec/fixtures/listings/constraints_with_pagination.json
665
- - spec/fixtures/listings/document_index.json
666
- - spec/fixtures/listings/multiple.json
593
+ - spec/fixtures/sorts/get.json
594
+ - spec/fixtures/search_templates/quick_searches/get.json
595
+ - spec/fixtures/comments/get.json
596
+ - spec/fixtures/comments/post.json
597
+ - spec/fixtures/comments/new.json
598
+ - spec/fixtures/session.json
599
+ - spec/fixtures/notes/agent_shared.json
600
+ - spec/fixtures/notes/add.json
601
+ - spec/fixtures/notes/new.json
602
+ - spec/fixtures/notes/agent_shared_empty.json
603
+ - spec/fixtures/logo_fbs.png
667
604
  - spec/fixtures/listings/no_subresources.json
605
+ - spec/fixtures/listings/constraints_with_pagination.json
668
606
  - spec/fixtures/listings/open_houses.json
669
- - spec/fixtures/listings/photos/batch_delete.json
607
+ - spec/fixtures/listings/put_expiration_date.json
608
+ - spec/fixtures/listings/tour_of_homes_search.json
609
+ - spec/fixtures/listings/reorder_photo.json
610
+ - spec/fixtures/listings/shared_listing_post.json
611
+ - spec/fixtures/listings/multiple.json
612
+ - spec/fixtures/listings/with_videos.json
613
+ - spec/fixtures/listings/with_supplement.json
670
614
  - spec/fixtures/listings/photos/index.json
671
- - spec/fixtures/listings/photos/new.json
672
615
  - spec/fixtures/listings/photos/post.json
616
+ - spec/fixtures/listings/photos/new.json
617
+ - spec/fixtures/listings/photos/batch_delete.json
673
618
  - spec/fixtures/listings/photos/rollback.json
674
619
  - spec/fixtures/listings/photos/rotate.json
675
- - spec/fixtures/listings/put.json
676
- - spec/fixtures/listings/put_expiration_date.json
677
- - spec/fixtures/listings/put_reorder_photo.json
620
+ - spec/fixtures/listings/floplans_index.json
621
+ - spec/fixtures/listings/with_vtour.json
622
+ - spec/fixtures/listings/with_rental_calendar.json
623
+ - spec/fixtures/listings/videos_index.json
678
624
  - spec/fixtures/listings/rental_calendar.json
679
- - spec/fixtures/listings/reorder_photo.json
625
+ - spec/fixtures/listings/with_photos.json
680
626
  - spec/fixtures/listings/shared_listing_get.json
681
- - spec/fixtures/listings/shared_listing_new.json
682
- - spec/fixtures/listings/shared_listing_post.json
683
627
  - spec/fixtures/listings/tour_of_homes.json
684
- - spec/fixtures/listings/tour_of_homes_search.json
685
- - spec/fixtures/listings/videos_index.json
686
- - spec/fixtures/listings/virtual_tours_index.json
687
- - spec/fixtures/listings/with_documents.json
628
+ - spec/fixtures/listings/document_index.json
629
+ - spec/fixtures/listings/constraints.json
630
+ - spec/fixtures/listings/put.json
688
631
  - spec/fixtures/listings/with_permissions.json
689
- - spec/fixtures/listings/with_photos.json
690
- - spec/fixtures/listings/with_rental_calendar.json
691
- - spec/fixtures/listings/with_supplement.json
692
- - spec/fixtures/listings/with_videos.json
693
- - spec/fixtures/listings/with_vtour.json
694
- - spec/fixtures/logo_fbs.png
695
- - spec/fixtures/messages/count.json
696
- - spec/fixtures/messages/get.json
697
- - spec/fixtures/messages/new.json
698
- - spec/fixtures/messages/new_empty.json
699
- - spec/fixtures/messages/new_with_recipients.json
700
- - spec/fixtures/messages/post.json
701
- - spec/fixtures/newsfeeds/get.json
702
- - spec/fixtures/newsfeeds/inactive.json
703
- - spec/fixtures/newsfeeds/meta.json
704
- - spec/fixtures/no_results.json
705
- - spec/fixtures/notes/add.json
706
- - spec/fixtures/notes/agent_shared.json
707
- - spec/fixtures/notes/agent_shared_empty.json
708
- - spec/fixtures/notes/new.json
709
- - spec/fixtures/notifications/mark_read.json
710
- - spec/fixtures/notifications/new.json
632
+ - spec/fixtures/listings/with_documents.json
633
+ - spec/fixtures/listings/put_reorder_photo.json
634
+ - spec/fixtures/listings/shared_listing_new.json
635
+ - spec/fixtures/listings/virtual_tours_index.json
636
+ - spec/fixtures/listing_meta_translations/get.json
637
+ - spec/fixtures/notifications/unread.json
711
638
  - spec/fixtures/notifications/new_empty.json
712
639
  - spec/fixtures/notifications/notifications.json
713
640
  - spec/fixtures/notifications/post.json
714
- - spec/fixtures/notifications/unread.json
641
+ - spec/fixtures/notifications/new.json
642
+ - spec/fixtures/notifications/mark_read.json
643
+ - spec/fixtures/rules/get.json
715
644
  - spec/fixtures/oauth2/access.json
716
645
  - spec/fixtures/oauth2/access_with_old_refresh.json
717
- - spec/fixtures/oauth2/access_with_refresh.json
718
646
  - spec/fixtures/oauth2/authorization_code_body.json
719
- - spec/fixtures/oauth2/error.json
720
647
  - spec/fixtures/oauth2/password_body.json
721
648
  - spec/fixtures/oauth2/refresh_body.json
722
- - spec/fixtures/oauth2_error.json
723
- - spec/fixtures/portal/disable.json
724
- - spec/fixtures/portal/enable.json
725
- - spec/fixtures/portal/my.json
726
- - spec/fixtures/portal/my_non_existant.json
727
- - spec/fixtures/portal/new.json
728
- - spec/fixtures/portal/post.json
729
- - spec/fixtures/property_types/property_types.json
730
- - spec/fixtures/rules/get.json
731
- - spec/fixtures/saved_searches/get.json
732
- - spec/fixtures/saved_searches/get_provided.json
733
- - spec/fixtures/saved_searches/new.json
734
- - spec/fixtures/saved_searches/post.json
735
- - spec/fixtures/saved_searches/update.json
736
- - spec/fixtures/saved_searches/with_inactive_newsfeed.json
737
- - spec/fixtures/saved_searches/with_newsfeed.json
738
- - spec/fixtures/saved_searches/without_newsfeed.json
739
- - spec/fixtures/search_templates/quick_searches/get.json
740
- - spec/fixtures/session.json
741
- - spec/fixtures/sharedlinks/success.json
742
- - spec/fixtures/sorts/get.json
743
- - spec/fixtures/standardfields/city.json
744
- - spec/fixtures/standardfields/nearby.json
745
- - spec/fixtures/standardfields/standardfields.json
746
- - spec/fixtures/standardfields/stateorprovince.json
747
- - spec/fixtures/success.json
748
- - spec/unit/spark_api/authentication/api_auth_spec.rb
749
- - spec/unit/spark_api/authentication/base_auth_spec.rb
750
- - spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
751
- - spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
752
- - spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
753
- - spec/unit/spark_api/authentication/oauth2_spec.rb
754
- - spec/unit/spark_api/authentication_spec.rb
755
- - spec/unit/spark_api/configuration/yaml_spec.rb
649
+ - spec/fixtures/oauth2/error.json
650
+ - spec/fixtures/oauth2/access_with_refresh.json
651
+ - spec/fixtures/messages/get.json
652
+ - spec/fixtures/messages/new_empty.json
653
+ - spec/fixtures/messages/post.json
654
+ - spec/fixtures/messages/new.json
655
+ - spec/fixtures/messages/new_with_recipients.json
656
+ - spec/fixtures/messages/count.json
657
+ - spec/fixtures/count.json
658
+ - spec/fixtures/generic_failure.json
659
+ - spec/fixtures/newsfeeds/get.json
660
+ - spec/fixtures/newsfeeds/meta.json
661
+ - spec/fixtures/newsfeeds/inactive.json
662
+ - spec/fixtures/errors/expired.json
663
+ - spec/fixtures/errors/failure_with_constraint.json
664
+ - spec/fixtures/errors/failure_with_msg.json
665
+ - spec/fixtures/errors/failure.json
666
+ - spec/fixtures/listing_carts/post_portal_cart.json
667
+ - spec/fixtures/listing_carts/empty.json
668
+ - spec/fixtures/listing_carts/put_name.json
669
+ - spec/fixtures/listing_carts/add_portal_cart_listings_post.json
670
+ - spec/fixtures/listing_carts/add_listings_post.json
671
+ - spec/fixtures/listing_carts/new_portal_cart.json
672
+ - spec/fixtures/listing_carts/remove_listing.json
673
+ - spec/fixtures/listing_carts/add_listing_post.json
674
+ - spec/fixtures/listing_carts/add_listing.json
675
+ - spec/fixtures/listing_carts/post.json
676
+ - spec/fixtures/listing_carts/new.json
677
+ - spec/fixtures/listing_carts/listing_portal_cart.json
678
+ - spec/fixtures/listing_carts/add_listings.json
679
+ - spec/fixtures/listing_carts/put.json
680
+ - spec/fixtures/listing_carts/add_portal_cart_listings.json
681
+ - spec/fixtures/listing_carts/put_ids.json
682
+ - spec/fixtures/listing_carts/listing_cart.json
756
683
  - spec/unit/spark_api/configuration_spec.rb
757
- - spec/unit/spark_api/faraday_middleware_spec.rb
758
- - spec/unit/spark_api/models/account_report_spec.rb
759
- - spec/unit/spark_api/models/account_spec.rb
760
- - spec/unit/spark_api/models/activity_spec.rb
761
- - spec/unit/spark_api/models/base_spec.rb
684
+ - spec/unit/spark_api/models/document_spec.rb
685
+ - spec/unit/spark_api/models/rental_calendar_spec.rb
686
+ - spec/unit/spark_api/models/system_info_spec.rb
687
+ - spec/unit/spark_api/models/listing_spec.rb
688
+ - spec/unit/spark_api/models/listing_meta_translations_spec.rb
689
+ - spec/unit/spark_api/models/contact_spec.rb
762
690
  - spec/unit/spark_api/models/concerns/destroyable_spec.rb
763
691
  - spec/unit/spark_api/models/concerns/savable_spec.rb
764
- - spec/unit/spark_api/models/connect_prefs_spec.rb
765
- - spec/unit/spark_api/models/constraint_spec.rb
766
- - spec/unit/spark_api/models/contact_spec.rb
767
- - spec/unit/spark_api/models/defaultable_spec.rb
768
- - spec/unit/spark_api/models/dirty_spec.rb
769
- - spec/unit/spark_api/models/document_spec.rb
692
+ - spec/unit/spark_api/models/video_spec.rb
693
+ - spec/unit/spark_api/models/shared_listing_spec.rb
770
694
  - spec/unit/spark_api/models/email_link_spec.rb
771
- - spec/unit/spark_api/models/fields_spec.rb
772
- - spec/unit/spark_api/models/finders_spec.rb
773
- - spec/unit/spark_api/models/listing_cart_spec.rb
774
- - spec/unit/spark_api/models/listing_meta_translations_spec.rb
775
- - spec/unit/spark_api/models/listing_spec.rb
776
- - spec/unit/spark_api/models/message_spec.rb
777
- - spec/unit/spark_api/models/news_feed_meta_spec.rb
778
- - spec/unit/spark_api/models/newsfeed_spec.rb
779
695
  - spec/unit/spark_api/models/note_spec.rb
780
- - spec/unit/spark_api/models/notification_spec.rb
781
- - spec/unit/spark_api/models/open_house_spec.rb
782
- - spec/unit/spark_api/models/photo_spec.rb
783
- - spec/unit/spark_api/models/portal_spec.rb
784
- - spec/unit/spark_api/models/property_types_spec.rb
785
- - spec/unit/spark_api/models/rental_calendar_spec.rb
786
696
  - spec/unit/spark_api/models/rule_spec.rb
697
+ - spec/unit/spark_api/models/vow_account_spec.rb
698
+ - spec/unit/spark_api/models/account_report_spec.rb
699
+ - spec/unit/spark_api/models/tour_of_home_spec.rb
700
+ - spec/unit/spark_api/models/activity_spec.rb
787
701
  - spec/unit/spark_api/models/saved_search_spec.rb
788
- - spec/unit/spark_api/models/search_template/quick_search_spec.rb
789
- - spec/unit/spark_api/models/shared_link_spec.rb
790
- - spec/unit/spark_api/models/shared_listing_spec.rb
791
- - spec/unit/spark_api/models/sort_spec.rb
792
- - spec/unit/spark_api/models/standard_fields_spec.rb
702
+ - spec/unit/spark_api/models/listing_cart_spec.rb
793
703
  - spec/unit/spark_api/models/subresource_spec.rb
794
- - spec/unit/spark_api/models/system_info_spec.rb
795
- - spec/unit/spark_api/models/tour_of_home_spec.rb
796
- - spec/unit/spark_api/models/video_spec.rb
704
+ - spec/unit/spark_api/models/newsfeed_spec.rb
705
+ - spec/unit/spark_api/models/portal_spec.rb
706
+ - spec/unit/spark_api/models/photo_spec.rb
797
707
  - spec/unit/spark_api/models/virtual_tour_spec.rb
798
- - spec/unit/spark_api/models/vow_account_spec.rb
708
+ - spec/unit/spark_api/models/news_feed_meta_spec.rb
709
+ - spec/unit/spark_api/models/sort_spec.rb
710
+ - spec/unit/spark_api/models/open_house_spec.rb
711
+ - spec/unit/spark_api/models/fields_spec.rb
712
+ - spec/unit/spark_api/models/message_spec.rb
713
+ - spec/unit/spark_api/models/connect_prefs_spec.rb
714
+ - spec/unit/spark_api/models/base_spec.rb
715
+ - spec/unit/spark_api/models/account_spec.rb
716
+ - spec/unit/spark_api/models/dirty_spec.rb
717
+ - spec/unit/spark_api/models/finders_spec.rb
718
+ - spec/unit/spark_api/models/defaultable_spec.rb
719
+ - spec/unit/spark_api/models/notification_spec.rb
720
+ - spec/unit/spark_api/models/property_types_spec.rb
721
+ - spec/unit/spark_api/models/standard_fields_spec.rb
722
+ - spec/unit/spark_api/models/shared_link_spec.rb
723
+ - spec/unit/spark_api/models/constraint_spec.rb
724
+ - spec/unit/spark_api/models/search_template/quick_search_spec.rb
725
+ - spec/unit/spark_api/models/floplan_spec.rb
726
+ - spec/unit/spark_api/faraday_middleware_spec.rb
727
+ - spec/unit/spark_api/paginate_spec.rb
728
+ - spec/unit/spark_api/authentication/api_auth_spec.rb
729
+ - spec/unit/spark_api/authentication/base_auth_spec.rb
730
+ - spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
731
+ - spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
732
+ - spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
733
+ - spec/unit/spark_api/authentication/oauth2_spec.rb
734
+ - spec/unit/spark_api/configuration/yaml_spec.rb
799
735
  - spec/unit/spark_api/multi_client_spec.rb
736
+ - spec/unit/spark_api/authentication_spec.rb
800
737
  - spec/unit/spark_api/options_hash_spec.rb
801
- - spec/unit/spark_api/paginate_spec.rb
802
738
  - spec/unit/spark_api/primary_array_spec.rb
803
739
  - spec/unit/spark_api/request_spec.rb
804
740
  - spec/unit/spark_api_spec.rb