s3backup 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -6,3 +6,7 @@
6
6
  * mod Access Error if the bucket was not found
7
7
  * mod bug if directory name has white space
8
8
 
9
+ === 0.6.4 2010-01-18
10
+ * mod bug if directory name has non english and shell special char
11
+ * retry 5 times if data post fails.
12
+
@@ -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
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module S3backup
5
- VERSION = '0.6.4'
5
+ VERSION = '0.6.5'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi Morita