rehabilitate 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rehabilitate/plugins/splitter.rb +1 -1
- data/lib/rehabilitate/version.rb +1 -1
- data/rehabilitate-0.4.11.gem +0 -0
- metadata +58 -105
@@ -4,7 +4,7 @@ class Splitter < Rehabilitate::Plugin
|
|
4
4
|
MAX_FILE_SIZE = (4.5*1024*1024*1024*1024*10).to_i #4.5TB
|
5
5
|
|
6
6
|
def join(files)
|
7
|
-
base_file =
|
7
|
+
base_file = files.first.match(/(.*)-.*/)[1]
|
8
8
|
log %[ cat #{base_file}-[aa-zz] > #{base_file} ]
|
9
9
|
log %x[ cat #{base_file}-[aa-zz] > #{base_file} ]
|
10
10
|
base_file
|
data/lib/rehabilitate/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,128 +1,90 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rehabilitate
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.12
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 11
|
10
|
-
version: 0.4.11
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jamie van Dyke
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-05 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: commander
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70151823530560 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 55
|
29
|
-
segments:
|
30
|
-
- 4
|
31
|
-
- 0
|
32
|
-
- 4
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 4.0.4
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: pluginfactory
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: *70151823530560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: pluginfactory
|
27
|
+
requirement: &70151823530060 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
29
|
+
requirements:
|
42
30
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 25
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 0
|
48
|
-
- 7
|
31
|
+
- !ruby/object:Gem::Version
|
49
32
|
version: 1.0.7
|
50
33
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: log4r
|
54
34
|
prerelease: false
|
55
|
-
|
35
|
+
version_requirements: *70151823530060
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: log4r
|
38
|
+
requirement: &70151823529600 !ruby/object:Gem::Requirement
|
56
39
|
none: false
|
57
|
-
requirements:
|
40
|
+
requirements:
|
58
41
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 1
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 1
|
64
|
-
- 9
|
42
|
+
- !ruby/object:Gem::Version
|
65
43
|
version: 1.1.9
|
66
44
|
type: :runtime
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: net-ssh
|
70
45
|
prerelease: false
|
71
|
-
|
46
|
+
version_requirements: *70151823529600
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: net-ssh
|
49
|
+
requirement: &70151823529140 !ruby/object:Gem::Requirement
|
72
50
|
none: false
|
73
|
-
requirements:
|
51
|
+
requirements:
|
74
52
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 3
|
77
|
-
segments:
|
78
|
-
- 2
|
79
|
-
- 1
|
80
|
-
- 4
|
53
|
+
- !ruby/object:Gem::Version
|
81
54
|
version: 2.1.4
|
82
55
|
type: :runtime
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: net-scp
|
86
56
|
prerelease: false
|
87
|
-
|
57
|
+
version_requirements: *70151823529140
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: net-scp
|
60
|
+
requirement: &70151823528680 !ruby/object:Gem::Requirement
|
88
61
|
none: false
|
89
|
-
requirements:
|
62
|
+
requirements:
|
90
63
|
- - ~>
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 31
|
93
|
-
segments:
|
94
|
-
- 1
|
95
|
-
- 0
|
96
|
-
- 4
|
64
|
+
- !ruby/object:Gem::Version
|
97
65
|
version: 1.0.4
|
98
66
|
type: :runtime
|
99
|
-
version_requirements: *id005
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: fog
|
102
67
|
prerelease: false
|
103
|
-
|
68
|
+
version_requirements: *70151823528680
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: fog
|
71
|
+
requirement: &70151823528220 !ruby/object:Gem::Requirement
|
104
72
|
none: false
|
105
|
-
requirements:
|
73
|
+
requirements:
|
106
74
|
- - ~>
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
hash: 55
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
- 10
|
112
|
-
- 0
|
75
|
+
- !ruby/object:Gem::Version
|
113
76
|
version: 0.10.0
|
114
77
|
type: :runtime
|
115
|
-
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70151823528220
|
116
80
|
description: Handle backups with a plugin based architecture
|
117
|
-
email:
|
81
|
+
email:
|
118
82
|
- jamie@fearoffish.com
|
119
|
-
executables:
|
83
|
+
executables:
|
120
84
|
- rehabilitate
|
121
85
|
extensions: []
|
122
|
-
|
123
86
|
extra_rdoc_files: []
|
124
|
-
|
125
|
-
files:
|
87
|
+
files:
|
126
88
|
- .bundle/config
|
127
89
|
- .gitignore
|
128
90
|
- Gemfile
|
@@ -139,39 +101,30 @@ files:
|
|
139
101
|
- lib/rehabilitate/plugins/scp.rb
|
140
102
|
- lib/rehabilitate/plugins/splitter.rb
|
141
103
|
- lib/rehabilitate/version.rb
|
104
|
+
- rehabilitate-0.4.11.gem
|
142
105
|
- rehabilitate.gemspec
|
143
|
-
homepage:
|
106
|
+
homepage: ''
|
144
107
|
licenses: []
|
145
|
-
|
146
108
|
post_install_message:
|
147
109
|
rdoc_options: []
|
148
|
-
|
149
|
-
require_paths:
|
110
|
+
require_paths:
|
150
111
|
- lib
|
151
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
113
|
none: false
|
153
|
-
requirements:
|
154
|
-
- -
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
|
157
|
-
|
158
|
-
- 0
|
159
|
-
version: "0"
|
160
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
119
|
none: false
|
162
|
-
requirements:
|
163
|
-
- -
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
|
166
|
-
segments:
|
167
|
-
- 0
|
168
|
-
version: "0"
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
169
124
|
requirements: []
|
170
|
-
|
171
125
|
rubyforge_project: rehabilitate
|
172
126
|
rubygems_version: 1.8.10
|
173
127
|
signing_key:
|
174
128
|
specification_version: 3
|
175
129
|
summary: Handle backups with a plugin based architecture
|
176
130
|
test_files: []
|
177
|
-
|