isotope11-suitcase 1.7.11 → 1.7.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -280,7 +280,7 @@ module Suitcase
280
280
  # Returns an Array of Hashes representing Hotels.
281
281
  def self.split(parsed)
282
282
  hotels = parsed["HotelListResponse"]["HotelList"]
283
- hotels["HotelSummary"]
283
+ hotels["HotelSummary"] || [] # If there are no hotels in the response, this would return nil without the [] shortcircuit
284
284
  end
285
285
 
286
286
  # Public: Get the thumbnail URL of the image.
@@ -1,3 +1,3 @@
1
1
  module Suitcase
2
- VERSION = "1.7.11"
2
+ VERSION = "1.7.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isotope11-suitcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.11
4
+ version: 1.7.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-23 00:00:00.000000000 Z
13
+ date: 2012-11-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest