s3backup 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -58,3 +58,7 @@ gem install sqlite3
58
58
  === 0.8.4 2010-02-13
59
59
  * mod bug if directory name is so long,backup is failed.
60
60
  * mod bug temporary file was remained.
61
+
62
+ === 0.8.5 2010-02-15
63
+ * mod bug if symbolic link was differed before, backup is failed.
64
+ * tar command output information level.
@@ -95,7 +95,7 @@ module S3backup
95
95
  end
96
96
  cmd = "(cd #{shell_name(File.dirname(dir))};tar -czvf #{shell_name(path)} #{exclude} -- " +
97
97
  "#{shell_name(File.basename(dir))} > /dev/null 2>&1)"
98
- S3log.debug(cmd)
98
+ S3log.info(cmd)
99
99
  system(cmd)
100
100
  unless $?.success?
101
101
  S3log.error("feiled #{cmd} execute. #{$?.inspect}")
@@ -104,7 +104,7 @@ module S3backup
104
104
  end
105
105
  def from_tgz(path,dir)
106
106
  cmd = "tar -xzvf #{shell_name(path)} -C #{shell_name(dir)} > /dev/null 2>&1"
107
- S3log.debug(cmd)
107
+ S3log.info(cmd)
108
108
  system(cmd)
109
109
  unless $?.success?
110
110
  S3log.error("feiled #{cmd} execute. #{$?.inspect}")
@@ -214,7 +214,7 @@ module S3backup
214
214
  end
215
215
  sym_infos = []
216
216
  links.each do |l|
217
- sym_infos.push({:name=>f[0],:source=>f[1]})
217
+ sym_infos.push({:name=>l[0],:source=>l[1]})
218
218
  end
219
219
  yield({:name => name,:mtime=>mtime,:files => file_infos ,:links => sym_infos})
220
220
  end
data/lib/s3backup.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
  module S3backup
4
- VERSION = '0.8.4'
4
+ VERSION = '0.8.5'
5
5
  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.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi Morita
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-13 00:00:00 +09:00
12
+ date: 2010-02-15 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency