lib/nightcrawler_swift/gateway.rb in nightcrawler_swift-0.6.0 vs lib/nightcrawler_swift/gateway.rb in nightcrawler_swift-0.7.0

- old
+ new

@@ -60,10 +60,13 @@ :ssl_client_cert, :ssl_client_key, :ssl_ca_file ].inject({}) {|hash, key| - hash.tap {hash[key] = options[key]} + hash.tap { + # OpenStruct in Ruby 1.9.x doesn't have the method [] + hash[key] = options.send(key) + } }.compact end def recoverable? e @retries and