aws 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ec2/ec2.rb +1 -1
  2. metadata +2 -2
data/lib/ec2/ec2.rb CHANGED
@@ -559,7 +559,7 @@ module Aws
559
559
  # Otherwise, some of UserData symbols will be lost...
560
560
  params['UserData'] = Base64.encode64(options[:user_data]).delete("\n").strip unless Aws::Utils.blank?(options[:user_data])
561
561
  end
562
- unless options[:block_device_mappings].blank?
562
+ unless Aws::Utils.blank?(options[:block_device_mappings])
563
563
  options[:block_device_mappings].size.times do |n|
564
564
  if options[:block_device_mappings][n][:virtual_name]
565
565
  params["BlockDeviceMapping.#{n+1}.VirtualName"] = options[:block_device_mappings][n][:virtual_name]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: aws
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.5.1
5
+ version: 2.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Reeder
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-05-08 00:00:00 Z
15
+ date: 2011-05-09 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: uuidtools