outback 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *0.0.10 (March 26, 2012)*
2
+
3
+ * Fix broken tar call, which ignored exclude option
4
+
1
5
  *0.0.9 (March 21, 2012)*
2
6
 
3
7
  * Removed aws-s3 gem in favour of s3 gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -23,7 +23,8 @@ module Outback
23
23
  archive_name = Pathname.new(tmpdir).join("#{backup_name}_#{timestamp}_#{source_name}.tar.gz")
24
24
  exclude_list = Pathname.new(tmpdir).join('exclude_list.txt')
25
25
  File.open(exclude_list, 'w') { |f| f << excludes.join("\n") }
26
- commandline = "tar --create --file #{archive_name} --preserve-permissions --gzip --exclude-from #{exclude_list} --directory / #{source_dir.to_s.sub(/\A\//, '')}"
26
+ verbose_switch = Outback.verbose? ? 'v' : ''
27
+ commandline = "tar -cz#{verbose_switch}pf #{archive_name} --exclude-from=#{exclude_list} --directory=/ #{source_dir.to_s.sub(/\A\//, '')}"
27
28
  Outback.debug "executing command: #{commandline}"
28
29
  result = `#{commandline}`
29
30
  Outback.debug "result: #{result}"
metadata CHANGED
@@ -1,63 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: outback
3
- version: !ruby/object:Gem::Version
4
- hash: 13
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.10
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 9
10
- version: 0.0.9
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Matthias Grosser
14
9
  - onrooby GmbH
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2012-03-21 00:00:00 +01:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2012-03-21 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: s3
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &3523290 !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
34
23
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: activesupport
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *3523290
26
+ - !ruby/object:Gem::Dependency
27
+ name: activesupport
28
+ requirement: &3523030 !ruby/object:Gem::Requirement
40
29
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 7
45
- segments:
46
- - 3
47
- - 0
48
- - 0
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
49
33
  version: 3.0.0
50
34
  type: :runtime
51
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: *3523030
52
37
  description: A Ruby backup tool
53
38
  email: admin@onrooby.com
54
- executables:
39
+ executables:
55
40
  - outback
56
41
  extensions: []
57
-
58
42
  extra_rdoc_files: []
59
-
60
- files:
43
+ files:
61
44
  - lib/outback/archive.rb
62
45
  - lib/outback/backup.rb
63
46
  - lib/outback/cli.rb
@@ -87,39 +70,28 @@ files:
87
70
  - VERSION
88
71
  - README.md
89
72
  - CHANGELOG
90
- has_rdoc: true
91
73
  homepage: http://rubygems.org/gems/outback
92
74
  licenses: []
93
-
94
75
  post_install_message:
95
76
  rdoc_options: []
96
-
97
- require_paths:
77
+ require_paths:
98
78
  - lib
99
- required_ruby_version: !ruby/object:Gem::Requirement
79
+ required_ruby_version: !ruby/object:Gem::Requirement
100
80
  none: false
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
106
- - 0
107
- version: "0"
108
- required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
86
  none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
- version: "0"
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
117
91
  requirements: []
118
-
119
92
  rubyforge_project:
120
- rubygems_version: 1.5.3
93
+ rubygems_version: 1.8.11
121
94
  signing_key:
122
95
  specification_version: 3
123
96
  summary: Ruby Backup Tool
124
97
  test_files: []
125
-