1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
Commit graph

3 commits

Author SHA1 Message Date
David Bishop
62256219f4 Modernize various tests to Ruby 2.x syntax
Also fix up various things that rubocop called out, though not
everything. Mostly whitespace fixes, changing double-quotes to single if
double wasn't required, changing to use ruby 2.x hash syntax where
possible, etc. While tests don't run, they are no more broken than
before (at least, as far as I can tell).
2018-10-16 16:12:42 -06:00
sue445
d9d9d2f97f git grep -l "Compute::AWS" -- tests/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
Eddie Johnston
66187d73fb Fix Fog::Compute::AWS::Images#all
Calling #all fails with the error: `Excon::Error::Socket: 25:28: FATAL: Document is empty (Nokogiri::XML::SyntaxError)`. This was because of the parser not handling nil creationDate values:

```
when 'creationDate'
  @image[name] = Time.parse(value)
```

This commit ensures nil `creationDate` fields are not parsed.
2017-07-11 16:36:48 +01:00