spark_api 1.4.12 → 1.4.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzE2ZTA5MzY5ZGJhOGIzYTA0OWE4YWYwMjJkZWMxYjY4YjhmZDE3Nw==
4
+ YTJiNGE3YjNiNGNmMTlmYmQ3YmRiMWVhNmE3N2M4ZjlkNTcyMDI5ZA==
5
5
  data.tar.gz: !binary |-
6
- MTlkMzg3M2QzOWM2YzQ0NDQxYjdhYjMyMTExODBiZDE1YmE3YjcyZQ==
6
+ YmIzMDkzMWZlOTI3YjNjY2U1ZWIzYzA1NjY2ZTJmMDUwZGIzMjVmOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2Q4YTlhODhlY2MxNmY5NzE2MmQ0ZWI0MDEwN2ExZDNlNmU4ODM2Y2U4M2Qy
10
- ZTMxYzIzMzIyNzE0MWMxMGQ0MThkMGJhYjQ4YmE5ZjYzOGY4NjUyYTM4YTM3
11
- ZTVjMTJkMTJkMmNhOWE2Y2Q1NjExNTMzNTEzNzhjYWFiYTZhMjc=
9
+ ZDhkZmIzNDJjZWE1Mjc1ZjYwM2JkYzFkYmYxOTExMWJkMTFmOTk2YTExMWJi
10
+ MGY4NWY1NjI1ZTZiZWNiZWRhNzU4OTNhYzI3NGQxODA3MjczOGM5NWM0NmJl
11
+ ZmRmMzcxMTk4ZjAwNGFiZTM4ZjgzMTE1NjYxMTY0NWZjNWFkOWM=
12
12
  data.tar.gz: !binary |-
13
- ZTlhYTc1NzExY2U0NjdhZTRjZTYxMjU3MzFiMWU1NzZlOWZjOTU5YzhhMjM2
14
- OTUxMjM5MjE5YmM1YmVjZTZhODllMWZmZWZlNTc3NmViOWMxZWNjZTM1OWVj
15
- ZTBmZTM3OTkyOGNlYjM4MTk1OGJmYmRiNzIzN2UwZTNiMjAzMjU=
13
+ YWNjYTNlZDM3ZTBhNjM1YzRkN2RjNThjNWZjMTk2MGM4ZjQ5YTU5N2M4NDQ0
14
+ ZWYyY2U3YmQwZDA4MDNiOGJhYjNiYzlkNjY3YjVlM2Y5MzE0MDcxMjgxM2Y0
15
+ Njk2ZTA2MzllNGYzMTY3OGM4YmY0ZmFhN2MxNzZhMzJjZjAwNWM=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.12
1
+ 1.4.13
@@ -40,6 +40,7 @@ require 'spark_api/models/shared_listing'
40
40
  require 'spark_api/models/sort'
41
41
  require 'spark_api/models/standard_fields'
42
42
  require 'spark_api/models/system_info'
43
+ require 'spark_api/models/system_info_search'
43
44
  require 'spark_api/models/tour_of_home'
44
45
  require 'spark_api/models/video'
45
46
  require 'spark_api/models/virtual_tour'
@@ -0,0 +1,9 @@
1
+ module SparkApi
2
+ module Models
3
+ class SystemInfoSearch < Base
4
+
5
+ self.element_name="system/search"
6
+
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ {
2
+ "D": {
3
+ "Results": [
4
+ {
5
+ "Id": "20060725225010201442000000,20060918191319441822000000"
6
+ }
7
+ ],
8
+ "Success": true
9
+ }
10
+ }
@@ -358,8 +358,8 @@ describe Listing do
358
358
  l = Listing.find(list_id, :_expand => "Photos")
359
359
  photo_id1 = l.photos[0].Id
360
360
  photo_id2 = l.photos[1].Id
361
- stub_api_delete("/listings/#{list_id}/photos/#{photo_id1},#{photo_id2}", 'success.json')
362
- l.delete_photos(photo_id1 + "," + photo_id2).should be(true)
361
+ stub_api_delete("/listings/#{list_id}/photos/#{photo_id1},#{photo_id2}", 'listings/photos/index.json')
362
+ l.delete_photos(photo_id1 + "," + photo_id2).should_not be_empty
363
363
  end
364
364
  end
365
365
  end
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.12
4
+ version: 1.4.13
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: 2017-01-13 00:00:00.000000000 Z
12
+ date: 2017-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -359,6 +359,7 @@ files:
359
359
  - lib/spark_api/models/standard_fields.rb
360
360
  - lib/spark_api/models/subresource.rb
361
361
  - lib/spark_api/models/system_info.rb
362
+ - lib/spark_api/models/system_info_search.rb
362
363
  - lib/spark_api/models/tour_of_home.rb
363
364
  - lib/spark_api/models/video.rb
364
365
  - lib/spark_api/models/virtual_tour.rb
@@ -436,6 +437,7 @@ files:
436
437
  - spec/fixtures/listings/multiple.json
437
438
  - spec/fixtures/listings/no_subresources.json
438
439
  - spec/fixtures/listings/open_houses.json
440
+ - spec/fixtures/listings/photos/batch_delete.json
439
441
  - spec/fixtures/listings/photos/index.json
440
442
  - spec/fixtures/listings/photos/new.json
441
443
  - spec/fixtures/listings/photos/post.json
@@ -702,6 +704,7 @@ test_files:
702
704
  - spec/fixtures/listings/photos/index.json
703
705
  - spec/fixtures/listings/photos/new.json
704
706
  - spec/fixtures/listings/photos/rollback.json
707
+ - spec/fixtures/listings/photos/batch_delete.json
705
708
  - spec/fixtures/listings/photos/rotate.json
706
709
  - spec/fixtures/listings/put_expiration_date.json
707
710
  - spec/fixtures/listings/with_photos.json