bookingsync-api 0.0.10 → 0.0.11
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.
- checksums.yaml +4 -4
- data/lib/bookingsync/api/client/rentals.rb +8 -0
- data/lib/bookingsync/api/version.rb +1 -1
- data/spec/bookingsync/api/client/rentals_spec.rb +12 -0
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_encoded_photo_file.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_photo_path.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo_with_remote_URL.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_description.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_edit_photo/updates_photo_s_image_file.yml +1 -1
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_all_rentals.yml +61 -0
- data/spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_requested_rentals.yml +61 -0
- metadata +22 -18
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 51db4dbf5c9122f90256f188025901d2d4c1e888
         | 
| 4 | 
            +
              data.tar.gz: 27aa6a0c3eda3170b43dee0f11a180d5f5503845
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 236b3d61f27e0db9c9f033d2312e4e267590b1d331e805102c4ebbca15eb42a5bfc5a1679bff69038a42e3b5568e8def1fcc762df487eb44fef0af247f012012
         | 
| 7 | 
            +
              data.tar.gz: 8de2a6fa1ad9a44efdd97d729da813a71a264e6fff76891ba9cbf320ac188317cd9c1cb64738790196f66831d8596c2ff73d962597b83d2d4919d8b28ca7d302
         | 
| @@ -56,6 +56,14 @@ module BookingSync::API | |
| 56 56 | 
             
                  def rental(rental)
         | 
| 57 57 | 
             
                    get("rentals/#{rental}").pop
         | 
| 58 58 | 
             
                  end
         | 
| 59 | 
            +
             | 
| 60 | 
            +
                  # Get meta information about rentals.
         | 
| 61 | 
            +
                  #
         | 
| 62 | 
            +
                  # @param rentals [Array] IDs of Rentals, leave empty for all account's rentals
         | 
| 63 | 
            +
                  # @return [BookingSync::API::Resource]
         | 
| 64 | 
            +
                  def rentals_meta(rentals = nil)
         | 
| 65 | 
            +
                    get(["rentals", Array(rentals).join(","), "meta"].compact.join("/")).pop
         | 
| 66 | 
            +
                  end
         | 
| 59 67 | 
             
                end
         | 
| 60 68 | 
             
              end
         | 
| 61 69 | 
             
            end
         | 
| @@ -73,4 +73,16 @@ describe BookingSync::API::Client::Rentals do | |
| 73 73 | 
             
                  assert_requested :delete, bs_url("rentals/4")
         | 
| 74 74 | 
             
                end
         | 
| 75 75 | 
             
              end
         | 
| 76 | 
            +
             | 
| 77 | 
            +
              describe ".rentals_meta", :vcr do
         | 
| 78 | 
            +
                it "returns meta information about requested rentals" do
         | 
| 79 | 
            +
                  client.rentals_meta([67, 68])
         | 
| 80 | 
            +
                  assert_requested :get, bs_url("rentals/67,68/meta")
         | 
| 81 | 
            +
                end
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                it "returns meta information about all rentals" do
         | 
| 84 | 
            +
                  client.rentals_meta
         | 
| 85 | 
            +
                  assert_requested :get, bs_url("rentals/meta")
         | 
| 86 | 
            +
                end
         | 
| 87 | 
            +
              end
         | 
| 76 88 | 
             
            end
         | 
    
        data/spec/fixtures/cassettes/BookingSync_API_Client_Photos/_create_photo/creates_a_photo.yml
    CHANGED
    
    | @@ -57,7 +57,7 @@ http_interactions: | |
| 57 57 | 
             
                  - close
         | 
| 58 58 | 
             
                body:
         | 
| 59 59 | 
             
                  encoding: UTF-8
         | 
| 60 | 
            -
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Funny"},"kind":"livingroom","large_url":" | 
| 60 | 
            +
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Funny"},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/37/large_b0e94d712c4916323d4c7da35635f02e.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/37/normal_b0e94d712c4916323d4c7da35635f02e.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/37/thumb_b0e94d712c4916323d4c7da35635f02e.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/37/micro_b0e94d712c4916323d4c7da35635f02e.jpg","position":8}]}'
         | 
| 61 61 | 
             
                http_version: 
         | 
| 62 62 | 
             
              recorded_at: Fri, 09 May 2014 12:33:10 GMT
         | 
| 63 63 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -57,7 +57,7 @@ http_interactions: | |
| 57 57 | 
             
                  - close
         | 
| 58 58 | 
             
                body:
         | 
| 59 59 | 
             
                  encoding: UTF-8
         | 
| 60 | 
            -
                  string: '{"photos":[{"id":35,"rental_id":2,"description":{"en":null},"kind":"livingroom","large_url":" | 
| 60 | 
            +
                  string: '{"photos":[{"id":35,"rental_id":2,"description":{"en":null},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/35/large_c4f99f519298a8beb84fbdf391db639b.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/35/normal_c4f99f519298a8beb84fbdf391db639b.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/35/thumb_c4f99f519298a8beb84fbdf391db639b.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/35/micro_c4f99f519298a8beb84fbdf391db639b.jpg","position":6}]}'
         | 
| 61 61 | 
             
                http_version: 
         | 
| 62 62 | 
             
              recorded_at: Fri, 09 May 2014 12:33:05 GMT
         | 
| 63 63 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -57,7 +57,7 @@ http_interactions: | |
| 57 57 | 
             
                  - close
         | 
| 58 58 | 
             
                body:
         | 
| 59 59 | 
             
                  encoding: UTF-8
         | 
| 60 | 
            -
                  string: '{"photos":[{"id":34,"rental_id":2,"description":{"en":"Funny"},"kind":"livingroom","large_url":" | 
| 60 | 
            +
                  string: '{"photos":[{"id":34,"rental_id":2,"description":{"en":"Funny"},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/34/large_fba820ae0b51959ff4f560ec050c281c.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/34/normal_fba820ae0b51959ff4f560ec050c281c.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/34/thumb_fba820ae0b51959ff4f560ec050c281c.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/34/micro_fba820ae0b51959ff4f560ec050c281c.jpg","position":5}]}'
         | 
| 61 61 | 
             
                http_version: 
         | 
| 62 62 | 
             
              recorded_at: Fri, 09 May 2014 12:33:05 GMT
         | 
| 63 63 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -57,7 +57,7 @@ http_interactions: | |
| 57 57 | 
             
                  - close
         | 
| 58 58 | 
             
                body:
         | 
| 59 59 | 
             
                  encoding: UTF-8
         | 
| 60 | 
            -
                  string: '{"photos":[{"id":36,"rental_id":2,"description":{"en":null},"kind":"livingroom","large_url":" | 
| 60 | 
            +
                  string: '{"photos":[{"id":36,"rental_id":2,"description":{"en":null},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/36/large_3b2a5fb7453e698aa5222f863bb8e601.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/36/normal_3b2a5fb7453e698aa5222f863bb8e601.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/36/thumb_3b2a5fb7453e698aa5222f863bb8e601.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/36/micro_3b2a5fb7453e698aa5222f863bb8e601.jpg","position":7}]}'
         | 
| 61 61 | 
             
                http_version: 
         | 
| 62 62 | 
             
              recorded_at: Fri, 09 May 2014 12:33:09 GMT
         | 
| 63 63 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -55,7 +55,7 @@ http_interactions: | |
| 55 55 | 
             
                  - close
         | 
| 56 56 | 
             
                body:
         | 
| 57 57 | 
             
                  encoding: UTF-8
         | 
| 58 | 
            -
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Not funny anymore"},"kind":"livingroom","large_url":" | 
| 58 | 
            +
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Not funny anymore"},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/37/large_b0e94d712c4916323d4c7da35635f02e.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/37/normal_b0e94d712c4916323d4c7da35635f02e.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/37/thumb_b0e94d712c4916323d4c7da35635f02e.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/37/micro_b0e94d712c4916323d4c7da35635f02e.jpg","position":8}]}'
         | 
| 59 59 | 
             
                http_version: 
         | 
| 60 60 | 
             
              recorded_at: Fri, 09 May 2014 12:37:34 GMT
         | 
| 61 61 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -55,7 +55,7 @@ http_interactions: | |
| 55 55 | 
             
                  - close
         | 
| 56 56 | 
             
                body:
         | 
| 57 57 | 
             
                  encoding: UTF-8
         | 
| 58 | 
            -
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Not funny anymore"},"kind":"livingroom","large_url":" | 
| 58 | 
            +
                  string: '{"photos":[{"id":37,"rental_id":2,"description":{"en":"Not funny anymore"},"kind":"livingroom","large_url":"https:://www.bookingsync.com/files/development/photo/photo/37/large_b0e94d712c4916323d4c7da35635f02e.jpg","normal_url":"https:://www.bookingsync.com/files/development/photo/photo/37/normal_b0e94d712c4916323d4c7da35635f02e.jpg","thumb_url":"https:://www.bookingsync.com/files/development/photo/photo/37/thumb_b0e94d712c4916323d4c7da35635f02e.jpg","micro_url":"https:://www.bookingsync.com/files/development/photo/photo/37/micro_b0e94d712c4916323d4c7da35635f02e.jpg","position":8}]}'
         | 
| 59 59 | 
             
                http_version: 
         | 
| 60 60 | 
             
              recorded_at: Fri, 09 May 2014 12:37:34 GMT
         | 
| 61 61 | 
             
            recorded_with: VCR 2.9.0
         | 
| @@ -0,0 +1,61 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            http_interactions:
         | 
| 3 | 
            +
            - request:
         | 
| 4 | 
            +
                method: get
         | 
| 5 | 
            +
                uri: https://www.bookingsync.com/api/v3/rentals/meta
         | 
| 6 | 
            +
                body:
         | 
| 7 | 
            +
                  encoding: US-ASCII
         | 
| 8 | 
            +
                  string: ''
         | 
| 9 | 
            +
                headers:
         | 
| 10 | 
            +
                  User-Agent:
         | 
| 11 | 
            +
                  - Faraday v0.9.0
         | 
| 12 | 
            +
                  Accept:
         | 
| 13 | 
            +
                  - application/vnd.api+json
         | 
| 14 | 
            +
                  Content-Type:
         | 
| 15 | 
            +
                  - application/vnd.api+json
         | 
| 16 | 
            +
                  Authorization:
         | 
| 17 | 
            +
                  - Bearer <<ACCESS_TOKEN>>
         | 
| 18 | 
            +
                  Accept-Encoding:
         | 
| 19 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 20 | 
            +
              response:
         | 
| 21 | 
            +
                status:
         | 
| 22 | 
            +
                  code: 200
         | 
| 23 | 
            +
                  message: OK
         | 
| 24 | 
            +
                headers:
         | 
| 25 | 
            +
                  X-Ratelimit-Limit:
         | 
| 26 | 
            +
                  - '1000'
         | 
| 27 | 
            +
                  X-Ratelimit-Reset:
         | 
| 28 | 
            +
                  - '1401375600'
         | 
| 29 | 
            +
                  X-Ratelimit-Remaining:
         | 
| 30 | 
            +
                  - '996'
         | 
| 31 | 
            +
                  Link:
         | 
| 32 | 
            +
                  - <https://www.bookingsync.com/api/v3/rentals/meta?page=1>; rel="first"
         | 
| 33 | 
            +
                  Access-Control-Allow-Origin:
         | 
| 34 | 
            +
                  - "*"
         | 
| 35 | 
            +
                  Access-Control-Request-Method:
         | 
| 36 | 
            +
                  - "*"
         | 
| 37 | 
            +
                  Content-Type:
         | 
| 38 | 
            +
                  - application/vnd.api+json; charset=utf-8
         | 
| 39 | 
            +
                  X-Ua-Compatible:
         | 
| 40 | 
            +
                  - IE=Edge
         | 
| 41 | 
            +
                  Etag:
         | 
| 42 | 
            +
                  - '"36171a199e62810a25e7a2e22ed243d1"'
         | 
| 43 | 
            +
                  Cache-Control:
         | 
| 44 | 
            +
                  - max-age=0, private, must-revalidate
         | 
| 45 | 
            +
                  P3p:
         | 
| 46 | 
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         | 
| 47 | 
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         | 
| 48 | 
            +
                  X-Request-Id:
         | 
| 49 | 
            +
                  - 2a80562ae108eeebc99b1aa0e93e1668
         | 
| 50 | 
            +
                  X-Runtime:
         | 
| 51 | 
            +
                  - '0.194290'
         | 
| 52 | 
            +
                  Date:
         | 
| 53 | 
            +
                  - Thu, 29 May 2014 14:13:03 GMT
         | 
| 54 | 
            +
                  Connection:
         | 
| 55 | 
            +
                  - close
         | 
| 56 | 
            +
                body:
         | 
| 57 | 
            +
                  encoding: UTF-8
         | 
| 58 | 
            +
                  string: '{"links":{"rentals_meta.destinations":"https://www.bookingsync.com/api/v3/destinations/{rentals_meta.destinations}"},"rentals_meta":[{"links":{"destinations":[35,36]},"price_range":{"currency":"EUR","max_price":700,"min_price":null},"rental_types":[{"name":"villa","counter":2}],"destinations":[{"id":35,"name":{"en":"Name-1"},"fullname":{"en":"Name-1"},"permalink":{"en":"name-1"},"aliases":{"en":null}},{"id":36,"name":{"en":"Name-2"},"fullname":{"en":"Name-2"},"permalink":{"en":"name-2"},"aliases":{"en":null}}]}]}'
         | 
| 59 | 
            +
                http_version:
         | 
| 60 | 
            +
              recorded_at: Thu, 29 May 2014 14:13:04 GMT
         | 
| 61 | 
            +
            recorded_with: VCR 2.9.1
         | 
| @@ -0,0 +1,61 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            http_interactions:
         | 
| 3 | 
            +
            - request:
         | 
| 4 | 
            +
                method: get
         | 
| 5 | 
            +
                uri: https://www.bookingsync.com/api/v3/rentals/67,68/meta
         | 
| 6 | 
            +
                body:
         | 
| 7 | 
            +
                  encoding: US-ASCII
         | 
| 8 | 
            +
                  string: ''
         | 
| 9 | 
            +
                headers:
         | 
| 10 | 
            +
                  User-Agent:
         | 
| 11 | 
            +
                  - Faraday v0.9.0
         | 
| 12 | 
            +
                  Accept:
         | 
| 13 | 
            +
                  - application/vnd.api+json
         | 
| 14 | 
            +
                  Content-Type:
         | 
| 15 | 
            +
                  - application/vnd.api+json
         | 
| 16 | 
            +
                  Authorization:
         | 
| 17 | 
            +
                  - Bearer <<ACCESS_TOKEN>>
         | 
| 18 | 
            +
                  Accept-Encoding:
         | 
| 19 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 20 | 
            +
              response:
         | 
| 21 | 
            +
                status:
         | 
| 22 | 
            +
                  code: 200
         | 
| 23 | 
            +
                  message: OK
         | 
| 24 | 
            +
                headers:
         | 
| 25 | 
            +
                  X-Ratelimit-Limit:
         | 
| 26 | 
            +
                  - '1000'
         | 
| 27 | 
            +
                  X-Ratelimit-Reset:
         | 
| 28 | 
            +
                  - '1401375600'
         | 
| 29 | 
            +
                  X-Ratelimit-Remaining:
         | 
| 30 | 
            +
                  - '997'
         | 
| 31 | 
            +
                  Link:
         | 
| 32 | 
            +
                  - <https://www.bookingsync.com/api/v3/rentals/67,68/meta?page=1>; rel="first"
         | 
| 33 | 
            +
                  Access-Control-Allow-Origin:
         | 
| 34 | 
            +
                  - "*"
         | 
| 35 | 
            +
                  Access-Control-Request-Method:
         | 
| 36 | 
            +
                  - "*"
         | 
| 37 | 
            +
                  Content-Type:
         | 
| 38 | 
            +
                  - application/vnd.api+json; charset=utf-8
         | 
| 39 | 
            +
                  X-Ua-Compatible:
         | 
| 40 | 
            +
                  - IE=Edge
         | 
| 41 | 
            +
                  Etag:
         | 
| 42 | 
            +
                  - '"aa58598e981ac89717233f163d47419c"'
         | 
| 43 | 
            +
                  Cache-Control:
         | 
| 44 | 
            +
                  - max-age=0, private, must-revalidate
         | 
| 45 | 
            +
                  P3p:
         | 
| 46 | 
            +
                  - CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
         | 
| 47 | 
            +
                    OUR SAMi OTRo UNRo PUBi IND UNI STA"
         | 
| 48 | 
            +
                  X-Request-Id:
         | 
| 49 | 
            +
                  - 58813ecdd5a29f7ebe74b4d5e92cde4f
         | 
| 50 | 
            +
                  X-Runtime:
         | 
| 51 | 
            +
                  - '0.095492'
         | 
| 52 | 
            +
                  Date:
         | 
| 53 | 
            +
                  - Thu, 29 May 2014 14:13:03 GMT
         | 
| 54 | 
            +
                  Connection:
         | 
| 55 | 
            +
                  - close
         | 
| 56 | 
            +
                body:
         | 
| 57 | 
            +
                  encoding: UTF-8
         | 
| 58 | 
            +
                  string: '{"links":{"rentals_meta.destinations":"https://www.bookingsync.com/api/v3/destinations/{rentals_meta.destinations}"},"rentals_meta":[{"links":{"destinations":[35]},"price_range":{"currency":"EUR","max_price":700,"min_price":null},"rental_types":[{"name":"villa","counter":1}],"destinations":[{"id":35,"name":{"en":"Name-1"},"fullname":{"en":"Name-1"},"permalink":{"en":"name-1"},"aliases":{"en":null}}]}]}'
         | 
| 59 | 
            +
                http_version:
         | 
| 60 | 
            +
              recorded_at: Thu, 29 May 2014 14:13:03 GMT
         | 
| 61 | 
            +
            recorded_with: VCR 2.9.1
         | 
    
        metadata
    CHANGED
    
    | @@ -1,83 +1,83 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: bookingsync-api
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.11
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sébastien Grosjean
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014-05- | 
| 11 | 
            +
            date: 2014-05-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - -  | 
| 17 | 
            +
                - - ~>
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 19 | 
             
                    version: '0.9'
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 | 
            -
                - -  | 
| 24 | 
            +
                - - ~>
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 26 | 
             
                    version: '0.9'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: addressable
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 | 
            -
                - -  | 
| 31 | 
            +
                - - '>='
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 33 | 
             
                    version: '0'
         | 
| 34 34 | 
             
              type: :runtime
         | 
| 35 35 | 
             
              prerelease: false
         | 
| 36 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 37 | 
             
                requirements:
         | 
| 38 | 
            -
                - -  | 
| 38 | 
            +
                - - '>='
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 40 | 
             
                    version: '0'
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: hashie
         | 
| 43 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 44 | 
             
                requirements:
         | 
| 45 | 
            -
                - -  | 
| 45 | 
            +
                - - '>='
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 47 | 
             
                    version: '0'
         | 
| 48 48 | 
             
              type: :runtime
         | 
| 49 49 | 
             
              prerelease: false
         | 
| 50 50 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 51 | 
             
                requirements:
         | 
| 52 | 
            -
                - -  | 
| 52 | 
            +
                - - '>='
         | 
| 53 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 54 | 
             
                    version: '0'
         | 
| 55 55 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 56 | 
             
              name: bundler
         | 
| 57 57 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 58 | 
             
                requirements:
         | 
| 59 | 
            -
                - -  | 
| 59 | 
            +
                - - ~>
         | 
| 60 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 61 | 
             
                    version: '1.5'
         | 
| 62 62 | 
             
              type: :development
         | 
| 63 63 | 
             
              prerelease: false
         | 
| 64 64 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 65 | 
             
                requirements:
         | 
| 66 | 
            -
                - -  | 
| 66 | 
            +
                - - ~>
         | 
| 67 67 | 
             
                  - !ruby/object:Gem::Version
         | 
| 68 68 | 
             
                    version: '1.5'
         | 
| 69 69 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 70 70 | 
             
              name: rake
         | 
| 71 71 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 72 | 
             
                requirements:
         | 
| 73 | 
            -
                - -  | 
| 73 | 
            +
                - - '>='
         | 
| 74 74 | 
             
                  - !ruby/object:Gem::Version
         | 
| 75 75 | 
             
                    version: '0'
         | 
| 76 76 | 
             
              type: :development
         | 
| 77 77 | 
             
              prerelease: false
         | 
| 78 78 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 79 | 
             
                requirements:
         | 
| 80 | 
            -
                - -  | 
| 80 | 
            +
                - - '>='
         | 
| 81 81 | 
             
                  - !ruby/object:Gem::Version
         | 
| 82 82 | 
             
                    version: '0'
         | 
| 83 83 | 
             
            description: This gem allows to interact with the BookingSync API via Ruby objects
         | 
| @@ -87,9 +87,9 @@ executables: [] | |
| 87 87 | 
             
            extensions: []
         | 
| 88 88 | 
             
            extra_rdoc_files: []
         | 
| 89 89 | 
             
            files:
         | 
| 90 | 
            -
            -  | 
| 91 | 
            -
            -  | 
| 92 | 
            -
            -  | 
| 90 | 
            +
            - .gitignore
         | 
| 91 | 
            +
            - .rspec
         | 
| 92 | 
            +
            - .travis.yml
         | 
| 93 93 | 
             
            - Gemfile
         | 
| 94 94 | 
             
            - Guardfile
         | 
| 95 95 | 
             
            - LICENSE.txt
         | 
| @@ -201,6 +201,8 @@ files: | |
| 201 201 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
         | 
| 202 202 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
         | 
| 203 203 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals_by_ids.yml
         | 
| 204 | 
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_all_rentals.yml
         | 
| 205 | 
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_requested_rentals.yml
         | 
| 204 206 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml
         | 
| 205 207 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml
         | 
| 206 208 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml
         | 
| @@ -228,17 +230,17 @@ require_paths: | |
| 228 230 | 
             
            - lib
         | 
| 229 231 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 230 232 | 
             
              requirements:
         | 
| 231 | 
            -
              - -  | 
| 233 | 
            +
              - - '>='
         | 
| 232 234 | 
             
                - !ruby/object:Gem::Version
         | 
| 233 235 | 
             
                  version: '0'
         | 
| 234 236 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 235 237 | 
             
              requirements:
         | 
| 236 | 
            -
              - -  | 
| 238 | 
            +
              - - '>='
         | 
| 237 239 | 
             
                - !ruby/object:Gem::Version
         | 
| 238 240 | 
             
                  version: '0'
         | 
| 239 241 | 
             
            requirements: []
         | 
| 240 242 | 
             
            rubyforge_project: 
         | 
| 241 | 
            -
            rubygems_version: 2. | 
| 243 | 
            +
            rubygems_version: 2.0.14
         | 
| 242 244 | 
             
            signing_key: 
         | 
| 243 245 | 
             
            specification_version: 4
         | 
| 244 246 | 
             
            summary: Ruby interface for accessing https://www.bookingsync.com
         | 
| @@ -318,6 +320,8 @@ test_files: | |
| 318 320 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml
         | 
| 319 321 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml
         | 
| 320 322 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals_by_ids.yml
         | 
| 323 | 
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_all_rentals.yml
         | 
| 324 | 
            +
            - spec/fixtures/cassettes/BookingSync_API_Client_Rentals/_rentals_meta/returns_meta_information_about_requested_rentals.yml
         | 
| 321 325 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_amenity.yml
         | 
| 322 326 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/links/returns_associated_rental.yml
         | 
| 323 327 | 
             
            - spec/fixtures/cassettes/BookingSync_API_Client_RentalsAmenities/_rentals_amenities/returns_rentals_amenities.yml
         |