s3backup 0.6.4 → 0.6.5
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.
- data/History.txt +4 -0
- data/lib/s3backup/s3wrapper.rb +3 -2
- data/lib/s3backup.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/s3backup/s3wrapper.rb
CHANGED
@@ -17,8 +17,9 @@ module S3backup
|
|
17
17
|
if @proxy.size != 0
|
18
18
|
args[:proxy] = @proxy
|
19
19
|
end
|
20
|
+
@args = args
|
20
21
|
#AWS S3に接続
|
21
|
-
AWS::S3::Base.establish_connection!(args)
|
22
|
+
AWS::S3::Base.establish_connection!(@args)
|
22
23
|
if create_flg
|
23
24
|
begin
|
24
25
|
@bucket = AWS::S3::Bucket.find(@bucket_name)
|
@@ -62,7 +63,7 @@ module S3backup
|
|
62
63
|
break;
|
63
64
|
rescue => ex
|
64
65
|
count+=1;
|
65
|
-
AWS::S3::Base.establish_connection!(args)
|
66
|
+
AWS::S3::Base.establish_connection!(@args)
|
66
67
|
end
|
67
68
|
end
|
68
69
|
if count >= MAX_TRY_COUNT
|
data/lib/s3backup.rb
CHANGED