mysql_truck 0.6.1 → 0.6.2

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.
@@ -131,9 +131,11 @@ puts s3_path
131
131
  'x-amz-storage-class' => 'REDUCED_REDUNDANCY'
132
132
  })
133
133
 
134
- key = RightAws::S3::Key.create(@bucket, s3_path)
135
- config[:grantees].split(",").each do |grantee|
136
- RightAws::S3::Grantee.new(key, grantee, "FULL_CONTROL", :apply)
134
+ if config[:grantees]
135
+ key = RightAws::S3::Key.create(@bucket, s3_path)
136
+ config[:grantees].split(",").each do |grantee|
137
+ RightAws::S3::Grantee.new(key, grantee, "FULL_CONTROL", :apply)
138
+ end
137
139
  end
138
140
  end
139
141
 
@@ -1,3 +1,3 @@
1
1
  module MysqlTruck
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_truck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: