spark_api 1.5.3 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a99d333efb4d06b28966e72fde3baa3b0576ca30249baa555a1dbb613616d78
4
- data.tar.gz: 9b83e6b6d097af7a0bd559121ab9bc702154d1a8afd39f2f9c59474946436c48
3
+ metadata.gz: bbd257984db9c6b0321b546eaf34794a8ddd42a0cedb46c284d48305ee1cf5aa
4
+ data.tar.gz: 3f2c191759d9ac5df0290d1ed2486cd55be3e11dc94b01ab4d779314aa42219e
5
5
  SHA512:
6
- metadata.gz: 51f1a951daccd3cabed8ffb0fd3abbf3c7f0b2be7bdd55453e8a806341f0a4c06c0f5073cf5f2c1b07d3dcdd4bd265274d2441b91e268414eba4b52b01e72c51
7
- data.tar.gz: 12b0fabf1ab8dab5d8871b4176ec6c2ec4b094a7713ab29e34f1c37f14a67e4aad69bb212a2bf94ff8d9d53298062010d13067054841a96b96a43bf268ff42b6
6
+ metadata.gz: e3aaba4e37303375cd7ffc8149b39d2ed9f3cefb36c987f0c7ed2632a9f4881e1040a41fcc1fd7b3ea8e26bc2d05631ccd92d52f163326f1ac398470749e7719
7
+ data.tar.gz: a0488169eb021611cb52fc6c75a56d256fcf32963a3923d6bd4ef1b9b7ab4ce25faa7f75e008b3f974bc8c8a6f18868d7f7819a1e6a236bdb4997c8d30c2b97d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.3
1
+ 1.6.0
@@ -1,4 +1,4 @@
1
- require "highline/import"
1
+ require "highline"
2
2
 
3
3
  module SparkApi
4
4
  module Authentication
@@ -18,7 +18,7 @@ module SparkApi
18
18
  def redirect(url)
19
19
  puts "Missing OAuth2 session, redirecting..."
20
20
  puts "Please visit #{url}, login as a user, and paste the authorization code here:"
21
- self.code = ask("Authorization code?") do |q|
21
+ self.code = HighLine.ask("Authorization code?") do |q|
22
22
  q.whitespace = :strip_and_collapse
23
23
  q.validate = /^\w+$/
24
24
  end
@@ -82,8 +82,8 @@ module SparkApi
82
82
 
83
83
  def load_file
84
84
  yaml = {}
85
- begin
86
- yaml = YAML.load(File.open(filename))
85
+ begin
86
+ yaml = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(File.open(filename)) : YAML.load(File.open(filename))
87
87
  yaml = {} if yaml == false
88
88
  rescue => e
89
89
  puts "no file: #{e.message}"
@@ -15,14 +15,18 @@ module SparkApi
15
15
  def on_complete(env)
16
16
  body = MultiJson.decode(env[:body])
17
17
  SparkApi.logger.debug { "[oauth2] Response Body: #{body.inspect}" }
18
+
18
19
  unless body.is_a?(Hash)
19
20
  raise InvalidResponse, "The server response could not be understood"
20
21
  end
22
+
21
23
  case env[:status]
22
24
  when 200..299
23
25
  SparkApi.logger.debug{ "[oauth2] Success!" }
24
26
  session = OAuthSession.new(body)
25
- else
27
+ else
28
+ SparkApi.logger.warn { "[oauth2] failure #{body.inspect}" }
29
+
26
30
  # Handle the WWW-Authenticate Response Header Field if present. This can be returned by
27
31
  # OAuth2 implementations and wouldn't hurt to log.
28
32
  auth_header_error = env[:request_headers]["WWW-Authenticate"]
@@ -16,7 +16,9 @@ module SparkApi
16
16
  def load_file(file)
17
17
  @file = file
18
18
  @name = File.basename(file, ".yml")
19
- config = YAML.load(ERB.new(File.read(file)).result)[api_env]
19
+
20
+ erb_file = ERB.new(File.read(file)).result
21
+ config = (YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(erb_file) : YAML.load(erb_file))[api_env]
20
22
  config["oauth2"] == true ? load_oauth2(config) : load_api_auth(config)
21
23
  rescue => e
22
24
  SparkApi.logger().error("Unable to load config file #{file}[#{api_env}]")
@@ -29,7 +29,11 @@ module SparkApi
29
29
  if paging.nil?
30
30
  results = response
31
31
  else
32
- q = CGI.parse(env[:url].query)
32
+ q = if http_method_override_request?(env)
33
+ CGI.parse(env[:request_body])
34
+ else
35
+ CGI.parse(env[:url].query)
36
+ end
33
37
  if q.key?("_pagination") && q["_pagination"].first == "count"
34
38
  results = paging['TotalRows']
35
39
  else
@@ -87,7 +91,13 @@ module SparkApi
87
91
 
88
92
  env[:body]
89
93
  end
90
-
94
+
95
+ private
96
+
97
+ def http_method_override_request?(env)
98
+ env[:request_headers]["X-HTTP-Method-Override"] == "GET"
99
+ end
100
+
91
101
  end
92
102
 
93
103
  Faraday::Response.register_middleware :spark_api => FaradayMiddleware
data/spec/spec_helper.rb CHANGED
@@ -2,10 +2,12 @@ if ENV['COVERAGE'] == "on"
2
2
  require 'simplecov'
3
3
  require 'simplecov-rcov'
4
4
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
5
- SimpleCov.start do
6
- add_filter '/vendor'
7
- add_filter '/spec'
8
- add_filter '/test'
5
+ unless SimpleCov.running # Hack to prevent starting SimpleCov multiple times see: https://github.com/simplecov-ruby/simplecov/issues/1003
6
+ SimpleCov.start do
7
+ add_filter '/vendor'
8
+ add_filter '/spec'
9
+ add_filter '/test'
10
+ end
9
11
  end
10
12
  end
11
13
 
@@ -21,13 +23,6 @@ require path + '/spark_api'
21
23
 
22
24
  require 'spark_api'
23
25
 
24
- if ENV['COVERAGE'] == "on"
25
- require 'simplecov'
26
- require 'simplecov-rcov'
27
- SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
28
- SimpleCov.start { add_filter %w(/vendor /spec /test) }
29
- end
30
-
31
26
  FileUtils.mkdir 'log' unless File.exists? 'log'
32
27
 
33
28
  module SparkApi
@@ -51,7 +46,7 @@ end
51
46
 
52
47
  # Requires supporting ruby files with custom matchers and macros, etc,
53
48
  # # in spec/support/ and its subdirectories.
54
- Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
49
+ Dir[File.expand_path(File.join(File.dirname(__FILE__), 'support', '**', '*.rb'))].each { |f| require f }
55
50
 
56
51
  RSpec.configure do |config|
57
52
 
@@ -66,6 +61,6 @@ RSpec.configure do |config|
66
61
  config.color = true
67
62
  end
68
63
 
69
- def jruby?
64
+ def jruby?
70
65
  RUBY_PLATFORM == "java"
71
66
  end
@@ -181,6 +181,12 @@ describe Listing do
181
181
  count = Listing.count()
182
182
  expect(count).to eq(2001)
183
183
  end
184
+
185
+ on_get_it "should return the count even if http_method_override: true is passed" do
186
+ stub_api_post('/listings', '_pagination=count', 'count.json')
187
+ count = Listing.count(http_method_override: true)
188
+ expect(count).to eq(2001)
189
+ end
184
190
  end
185
191
 
186
192
  context "/listings/<listing_id>", :support do
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.5.3
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hornseth
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-25 00:00:00.000000000 Z
12
+ date: 2022-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -18,6 +18,9 @@ dependencies:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.17.3
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '2.0'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -25,6 +28,9 @@ dependencies:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: 0.17.3
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: multi_json
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -539,203 +545,203 @@ signing_key:
539
545
  specification_version: 4
540
546
  summary: A library for interacting with the Spark web services.
541
547
  test_files:
542
- - spec/fixtures/activities/get.json
543
- - spec/fixtures/listing_meta_translations/get.json
548
+ - spec/fixtures/fields/order_a.json
549
+ - spec/fixtures/fields/settings.json
550
+ - spec/fixtures/fields/order.json
551
+ - spec/fixtures/errors/failure_with_msg.json
544
552
  - spec/fixtures/errors/failure.json
545
553
  - spec/fixtures/errors/expired.json
546
- - spec/fixtures/errors/failure_with_msg.json
547
554
  - spec/fixtures/errors/failure_with_constraint.json
548
- - spec/fixtures/notifications/new.json
549
- - spec/fixtures/notifications/new_empty.json
550
- - spec/fixtures/notifications/post.json
551
- - spec/fixtures/notifications/notifications.json
552
- - spec/fixtures/notifications/unread.json
553
- - spec/fixtures/notifications/mark_read.json
554
- - spec/fixtures/listings/tour_of_homes_search.json
555
- - spec/fixtures/listings/multiple.json
556
- - spec/fixtures/listings/virtual_tours_index.json
557
- - spec/fixtures/listings/shared_listing_post.json
558
- - spec/fixtures/listings/with_videos.json
559
- - spec/fixtures/listings/reorder_photo.json
560
- - spec/fixtures/listings/open_houses.json
561
- - spec/fixtures/listings/tour_of_homes.json
562
- - spec/fixtures/listings/photos/new.json
563
- - spec/fixtures/listings/photos/batch_delete.json
564
- - spec/fixtures/listings/photos/post.json
565
- - spec/fixtures/listings/photos/rollback.json
566
- - spec/fixtures/listings/photos/index.json
567
- - spec/fixtures/listings/photos/rotate.json
568
- - spec/fixtures/listings/with_vtour.json
569
- - spec/fixtures/listings/put.json
570
- - spec/fixtures/listings/floplans_index.json
571
- - spec/fixtures/listings/videos_index.json
572
- - spec/fixtures/listings/constraints_with_pagination.json
573
- - spec/fixtures/listings/document_index.json
574
- - spec/fixtures/listings/constraints.json
575
- - spec/fixtures/listings/with_permissions.json
576
- - spec/fixtures/listings/rental_calendar.json
577
- - spec/fixtures/listings/with_rental_calendar.json
578
- - spec/fixtures/listings/shared_listing_get.json
579
- - spec/fixtures/listings/put_reorder_photo.json
580
- - spec/fixtures/listings/shared_listing_new.json
581
- - spec/fixtures/listings/put_expiration_date.json
582
- - spec/fixtures/listings/with_supplement.json
583
- - spec/fixtures/listings/with_documents.json
584
- - spec/fixtures/listings/with_photos.json
585
- - spec/fixtures/listings/no_subresources.json
586
- - spec/fixtures/messages/new.json
587
- - spec/fixtures/messages/new_empty.json
588
- - spec/fixtures/messages/post.json
589
- - spec/fixtures/messages/count.json
590
- - spec/fixtures/messages/new_with_recipients.json
591
- - spec/fixtures/messages/get.json
592
- - spec/fixtures/logo_fbs.png
593
- - spec/fixtures/oauth2/access_with_refresh.json
555
+ - spec/fixtures/property_types/property_types.json
556
+ - spec/fixtures/listing_carts/put.json
557
+ - spec/fixtures/listing_carts/post.json
558
+ - spec/fixtures/listing_carts/put_name.json
559
+ - spec/fixtures/listing_carts/add_portal_cart_listings.json
560
+ - spec/fixtures/listing_carts/listing_cart.json
561
+ - spec/fixtures/listing_carts/new_portal_cart.json
562
+ - spec/fixtures/listing_carts/put_ids.json
563
+ - spec/fixtures/listing_carts/new.json
564
+ - spec/fixtures/listing_carts/remove_listing.json
565
+ - spec/fixtures/listing_carts/add_listing_post.json
566
+ - spec/fixtures/listing_carts/add_listing.json
567
+ - spec/fixtures/listing_carts/add_portal_cart_listings_post.json
568
+ - spec/fixtures/listing_carts/empty.json
569
+ - spec/fixtures/listing_carts/add_listings.json
570
+ - spec/fixtures/listing_carts/post_portal_cart.json
571
+ - spec/fixtures/listing_carts/listing_portal_cart.json
572
+ - spec/fixtures/listing_carts/add_listings_post.json
573
+ - spec/fixtures/success.json
574
+ - spec/fixtures/activities/get.json
575
+ - spec/fixtures/generic_failure.json
576
+ - spec/fixtures/search_templates/quick_searches/get.json
577
+ - spec/fixtures/comments/get.json
578
+ - spec/fixtures/comments/post.json
579
+ - spec/fixtures/comments/new.json
580
+ - spec/fixtures/contacts/vow_accounts/edit.json
581
+ - spec/fixtures/contacts/vow_accounts/get.json
582
+ - spec/fixtures/contacts/vow_accounts/post.json
583
+ - spec/fixtures/contacts/vow_accounts/new.json
584
+ - spec/fixtures/contacts/new_empty.json
585
+ - spec/fixtures/contacts/post.json
586
+ - spec/fixtures/contacts/my.json
587
+ - spec/fixtures/contacts/new.json
588
+ - spec/fixtures/contacts/contacts.json
589
+ - spec/fixtures/contacts/new_notify.json
590
+ - spec/fixtures/contacts/tags.json
594
591
  - spec/fixtures/oauth2/access_with_old_refresh.json
595
- - spec/fixtures/oauth2/access.json
592
+ - spec/fixtures/oauth2/error.json
593
+ - spec/fixtures/oauth2/authorization_code_body.json
596
594
  - spec/fixtures/oauth2/refresh_body.json
597
595
  - spec/fixtures/oauth2/password_body.json
598
- - spec/fixtures/oauth2/authorization_code_body.json
599
- - spec/fixtures/oauth2/error.json
600
- - spec/fixtures/comments/new.json
601
- - spec/fixtures/comments/post.json
602
- - spec/fixtures/comments/get.json
603
- - spec/fixtures/success.json
604
- - spec/fixtures/notes/new.json
596
+ - spec/fixtures/oauth2/access_with_refresh.json
597
+ - spec/fixtures/oauth2/access.json
598
+ - spec/fixtures/base.json
599
+ - spec/fixtures/idx_links/get.json
600
+ - spec/fixtures/saved_searches/with_inactive_newsfeed.json
601
+ - spec/fixtures/saved_searches/get_provided.json
602
+ - spec/fixtures/saved_searches/get.json
603
+ - spec/fixtures/saved_searches/post.json
604
+ - spec/fixtures/saved_searches/without_newsfeed.json
605
+ - spec/fixtures/saved_searches/with_newsfeed.json
606
+ - spec/fixtures/saved_searches/new.json
607
+ - spec/fixtures/saved_searches/update.json
608
+ - spec/fixtures/no_results.json
605
609
  - spec/fixtures/notes/agent_shared_empty.json
610
+ - spec/fixtures/notes/new.json
606
611
  - spec/fixtures/notes/add.json
607
612
  - spec/fixtures/notes/agent_shared.json
608
- - spec/fixtures/count.json
613
+ - spec/fixtures/accounts/my_put.json
614
+ - spec/fixtures/accounts/my_portal.json
609
615
  - spec/fixtures/accounts/my.json
610
616
  - spec/fixtures/accounts/office.json
611
- - spec/fixtures/accounts/my_portal.json
612
- - spec/fixtures/accounts/my_put.json
613
617
  - spec/fixtures/accounts/password_save.json
614
618
  - spec/fixtures/accounts/my_save.json
615
619
  - spec/fixtures/accounts/all.json
616
620
  - spec/fixtures/sharedlinks/success.json
617
- - spec/fixtures/finders.json
621
+ - spec/fixtures/listings/put.json
622
+ - spec/fixtures/listings/videos_index.json
623
+ - spec/fixtures/listings/photos/index.json
624
+ - spec/fixtures/listings/photos/post.json
625
+ - spec/fixtures/listings/photos/rotate.json
626
+ - spec/fixtures/listings/photos/rollback.json
627
+ - spec/fixtures/listings/photos/new.json
628
+ - spec/fixtures/listings/photos/batch_delete.json
629
+ - spec/fixtures/listings/constraints_with_pagination.json
630
+ - spec/fixtures/listings/with_rental_calendar.json
631
+ - spec/fixtures/listings/floplans_index.json
632
+ - spec/fixtures/listings/shared_listing_get.json
633
+ - spec/fixtures/listings/with_documents.json
634
+ - spec/fixtures/listings/tour_of_homes.json
635
+ - spec/fixtures/listings/with_supplement.json
636
+ - spec/fixtures/listings/with_videos.json
637
+ - spec/fixtures/listings/shared_listing_post.json
638
+ - spec/fixtures/listings/put_reorder_photo.json
639
+ - spec/fixtures/listings/rental_calendar.json
640
+ - spec/fixtures/listings/constraints.json
641
+ - spec/fixtures/listings/no_subresources.json
642
+ - spec/fixtures/listings/with_permissions.json
643
+ - spec/fixtures/listings/open_houses.json
644
+ - spec/fixtures/listings/with_photos.json
645
+ - spec/fixtures/listings/with_vtour.json
646
+ - spec/fixtures/listings/multiple.json
647
+ - spec/fixtures/listings/document_index.json
648
+ - spec/fixtures/listings/reorder_photo.json
649
+ - spec/fixtures/listings/put_expiration_date.json
650
+ - spec/fixtures/listings/virtual_tours_index.json
651
+ - spec/fixtures/listings/tour_of_homes_search.json
652
+ - spec/fixtures/listings/shared_listing_new.json
618
653
  - spec/fixtures/authentication_failure.json
619
- - spec/fixtures/idx_links/get.json
620
- - spec/fixtures/session.json
621
- - spec/fixtures/property_types/property_types.json
622
- - spec/fixtures/saved_searches/new.json
623
- - spec/fixtures/saved_searches/update.json
624
- - spec/fixtures/saved_searches/post.json
625
- - spec/fixtures/saved_searches/without_newsfeed.json
626
- - spec/fixtures/saved_searches/with_newsfeed.json
627
- - spec/fixtures/saved_searches/get_provided.json
628
- - spec/fixtures/saved_searches/with_inactive_newsfeed.json
629
- - spec/fixtures/saved_searches/get.json
630
- - spec/fixtures/search_templates/quick_searches/get.json
631
654
  - spec/fixtures/standardfields/city.json
655
+ - spec/fixtures/standardfields/nearby.json
632
656
  - spec/fixtures/standardfields/standardfields.json
633
657
  - spec/fixtures/standardfields/stateorprovince.json
634
- - spec/fixtures/standardfields/nearby.json
635
- - spec/fixtures/generic_delete.json
636
- - spec/fixtures/fields/order_a.json
637
- - spec/fixtures/fields/settings.json
638
- - spec/fixtures/fields/order.json
639
- - spec/fixtures/contacts/my.json
640
- - spec/fixtures/contacts/new.json
641
- - spec/fixtures/contacts/new_notify.json
642
- - spec/fixtures/contacts/new_empty.json
643
- - spec/fixtures/contacts/post.json
644
- - spec/fixtures/contacts/contacts.json
645
- - spec/fixtures/contacts/vow_accounts/new.json
646
- - spec/fixtures/contacts/vow_accounts/post.json
647
- - spec/fixtures/contacts/vow_accounts/get.json
648
- - spec/fixtures/contacts/vow_accounts/edit.json
649
- - spec/fixtures/contacts/tags.json
650
- - spec/fixtures/rules/get.json
651
- - spec/fixtures/newsfeeds/inactive.json
652
- - spec/fixtures/newsfeeds/meta.json
653
- - spec/fixtures/newsfeeds/get.json
654
- - spec/fixtures/listing_carts/post_portal_cart.json
655
- - spec/fixtures/listing_carts/listing_portal_cart.json
656
- - spec/fixtures/listing_carts/put_ids.json
657
- - spec/fixtures/listing_carts/new.json
658
- - spec/fixtures/listing_carts/add_listings.json
659
- - spec/fixtures/listing_carts/post.json
660
- - spec/fixtures/listing_carts/put.json
661
- - spec/fixtures/listing_carts/add_listing_post.json
662
- - spec/fixtures/listing_carts/new_portal_cart.json
663
- - spec/fixtures/listing_carts/add_portal_cart_listings_post.json
664
- - spec/fixtures/listing_carts/put_name.json
665
- - spec/fixtures/listing_carts/add_listings_post.json
666
- - spec/fixtures/listing_carts/remove_listing.json
667
- - spec/fixtures/listing_carts/add_listing.json
668
- - spec/fixtures/listing_carts/add_portal_cart_listings.json
669
- - spec/fixtures/listing_carts/empty.json
670
- - spec/fixtures/listing_carts/listing_cart.json
671
- - spec/fixtures/portal/my.json
672
- - spec/fixtures/portal/new.json
658
+ - spec/fixtures/count.json
659
+ - spec/fixtures/oauth2_error.json
660
+ - spec/fixtures/finders.json
673
661
  - spec/fixtures/portal/post.json
674
- - spec/fixtures/portal/disable.json
662
+ - spec/fixtures/portal/my.json
675
663
  - spec/fixtures/portal/my_non_existant.json
664
+ - spec/fixtures/portal/new.json
676
665
  - spec/fixtures/portal/enable.json
677
- - spec/fixtures/no_results.json
678
- - spec/fixtures/base.json
666
+ - spec/fixtures/portal/disable.json
667
+ - spec/fixtures/session.json
668
+ - spec/fixtures/rules/get.json
669
+ - spec/fixtures/newsfeeds/get.json
670
+ - spec/fixtures/newsfeeds/inactive.json
671
+ - spec/fixtures/newsfeeds/meta.json
672
+ - spec/fixtures/listing_meta_translations/get.json
679
673
  - spec/fixtures/empty.json
680
- - spec/fixtures/generic_failure.json
681
674
  - spec/fixtures/sorts/get.json
682
- - spec/fixtures/oauth2_error.json
675
+ - spec/fixtures/notifications/new_empty.json
676
+ - spec/fixtures/notifications/notifications.json
677
+ - spec/fixtures/notifications/post.json
678
+ - spec/fixtures/notifications/new.json
679
+ - spec/fixtures/notifications/mark_read.json
680
+ - spec/fixtures/notifications/unread.json
681
+ - spec/fixtures/logo_fbs.png
682
+ - spec/fixtures/generic_delete.json
683
+ - spec/fixtures/messages/new_empty.json
684
+ - spec/fixtures/messages/get.json
685
+ - spec/fixtures/messages/new_with_recipients.json
686
+ - spec/fixtures/messages/post.json
687
+ - spec/fixtures/messages/new.json
688
+ - spec/fixtures/messages/count.json
683
689
  - spec/unit/spark_api_spec.rb
684
- - spec/unit/spark_api/multi_client_spec.rb
685
- - spec/unit/spark_api/request_spec.rb
686
690
  - spec/unit/spark_api/paginate_spec.rb
687
- - spec/unit/spark_api/configuration/yaml_spec.rb
688
- - spec/unit/spark_api/authentication_spec.rb
689
- - spec/unit/spark_api/models/document_spec.rb
690
- - spec/unit/spark_api/models/newsfeed_spec.rb
691
- - spec/unit/spark_api/models/fields_spec.rb
692
- - spec/unit/spark_api/models/concerns/destroyable_spec.rb
693
- - spec/unit/spark_api/models/concerns/savable_spec.rb
694
- - spec/unit/spark_api/models/listing_meta_translations_spec.rb
691
+ - spec/unit/spark_api/request_spec.rb
692
+ - spec/unit/spark_api/options_hash_spec.rb
693
+ - spec/unit/spark_api/authentication/base_auth_spec.rb
694
+ - spec/unit/spark_api/authentication/oauth2_spec.rb
695
+ - spec/unit/spark_api/authentication/api_auth_spec.rb
696
+ - spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
697
+ - spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
698
+ - spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
695
699
  - spec/unit/spark_api/models/notification_spec.rb
696
- - spec/unit/spark_api/models/property_types_spec.rb
697
- - spec/unit/spark_api/models/vow_account_spec.rb
698
- - spec/unit/spark_api/models/rental_calendar_spec.rb
699
- - spec/unit/spark_api/models/shared_link_spec.rb
700
- - spec/unit/spark_api/models/saved_search_spec.rb
701
700
  - spec/unit/spark_api/models/floplan_spec.rb
702
- - spec/unit/spark_api/models/base_spec.rb
703
- - spec/unit/spark_api/models/portal_spec.rb
704
- - spec/unit/spark_api/models/shared_listing_spec.rb
705
- - spec/unit/spark_api/models/dirty_spec.rb
706
- - spec/unit/spark_api/models/photo_spec.rb
707
- - spec/unit/spark_api/models/standard_fields_spec.rb
708
- - spec/unit/spark_api/models/constraint_spec.rb
709
- - spec/unit/spark_api/models/search_template/quick_search_spec.rb
701
+ - spec/unit/spark_api/models/fields_spec.rb
702
+ - spec/unit/spark_api/models/open_house_spec.rb
703
+ - spec/unit/spark_api/models/document_spec.rb
704
+ - spec/unit/spark_api/models/newsfeed_spec.rb
710
705
  - spec/unit/spark_api/models/system_info_spec.rb
706
+ - spec/unit/spark_api/models/tour_of_home_spec.rb
707
+ - spec/unit/spark_api/models/vow_account_spec.rb
708
+ - spec/unit/spark_api/models/activity_spec.rb
709
+ - spec/unit/spark_api/models/listing_meta_translations_spec.rb
711
710
  - spec/unit/spark_api/models/news_feed_meta_spec.rb
711
+ - spec/unit/spark_api/models/listing_spec.rb
712
+ - spec/unit/spark_api/models/sort_spec.rb
713
+ - spec/unit/spark_api/models/subresource_spec.rb
714
+ - spec/unit/spark_api/models/connect_prefs_spec.rb
715
+ - spec/unit/spark_api/models/rule_spec.rb
712
716
  - spec/unit/spark_api/models/video_spec.rb
713
717
  - spec/unit/spark_api/models/virtual_tour_spec.rb
714
- - spec/unit/spark_api/models/connect_prefs_spec.rb
715
- - spec/unit/spark_api/models/account_spec.rb
716
- - spec/unit/spark_api/models/sort_spec.rb
717
718
  - spec/unit/spark_api/models/listing_cart_spec.rb
719
+ - spec/unit/spark_api/models/message_spec.rb
720
+ - spec/unit/spark_api/models/email_link_spec.rb
721
+ - spec/unit/spark_api/models/standard_fields_spec.rb
722
+ - spec/unit/spark_api/models/dirty_spec.rb
723
+ - spec/unit/spark_api/models/account_spec.rb
724
+ - spec/unit/spark_api/models/photo_spec.rb
725
+ - spec/unit/spark_api/models/finders_spec.rb
718
726
  - spec/unit/spark_api/models/note_spec.rb
719
- - spec/unit/spark_api/models/subresource_spec.rb
720
- - spec/unit/spark_api/models/listing_spec.rb
721
- - spec/unit/spark_api/models/account_report_spec.rb
727
+ - spec/unit/spark_api/models/concerns/savable_spec.rb
728
+ - spec/unit/spark_api/models/concerns/destroyable_spec.rb
729
+ - spec/unit/spark_api/models/portal_spec.rb
722
730
  - spec/unit/spark_api/models/defaultable_spec.rb
723
- - spec/unit/spark_api/models/finders_spec.rb
724
- - spec/unit/spark_api/models/rule_spec.rb
725
- - spec/unit/spark_api/models/message_spec.rb
731
+ - spec/unit/spark_api/models/constraint_spec.rb
732
+ - spec/unit/spark_api/models/shared_listing_spec.rb
733
+ - spec/unit/spark_api/models/property_types_spec.rb
734
+ - spec/unit/spark_api/models/search_template/quick_search_spec.rb
726
735
  - spec/unit/spark_api/models/contact_spec.rb
727
- - spec/unit/spark_api/models/open_house_spec.rb
728
- - spec/unit/spark_api/models/email_link_spec.rb
729
- - spec/unit/spark_api/models/tour_of_home_spec.rb
730
- - spec/unit/spark_api/models/activity_spec.rb
731
- - spec/unit/spark_api/primary_array_spec.rb
732
- - spec/unit/spark_api/configuration_spec.rb
733
- - spec/unit/spark_api/options_hash_spec.rb
734
- - spec/unit/spark_api/authentication/base_auth_spec.rb
735
- - spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
736
- - spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
737
- - spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
738
- - spec/unit/spark_api/authentication/oauth2_spec.rb
739
- - spec/unit/spark_api/authentication/api_auth_spec.rb
736
+ - spec/unit/spark_api/models/rental_calendar_spec.rb
737
+ - spec/unit/spark_api/models/saved_search_spec.rb
738
+ - spec/unit/spark_api/models/account_report_spec.rb
739
+ - spec/unit/spark_api/models/base_spec.rb
740
+ - spec/unit/spark_api/models/shared_link_spec.rb
740
741
  - spec/unit/spark_api/faraday_middleware_spec.rb
742
+ - spec/unit/spark_api/configuration_spec.rb
743
+ - spec/unit/spark_api/primary_array_spec.rb
744
+ - spec/unit/spark_api/configuration/yaml_spec.rb
745
+ - spec/unit/spark_api/multi_client_spec.rb
746
+ - spec/unit/spark_api/authentication_spec.rb
741
747
  - spec/spec_helper.rb