rehabilitate 0.3.5 → 0.3.6

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/Manifest CHANGED
@@ -3,7 +3,6 @@ Gemfile.lock
3
3
  Manifest
4
4
  README.mdown
5
5
  Rakefile
6
- backup.gemspec
7
6
  bin/rehabilitate
8
7
  lib/rehabilitate.rb
9
8
  lib/rehabilitate/plugin.rb
data/Rakefile CHANGED
@@ -2,14 +2,14 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('rehabilitate', "0.3.5") do |p|
5
+ Echoe.new('rehabilitate', "0.3.6") do |p|
6
6
  p.description = "Backup stuff"
7
7
  p.url = "https://github.com/fearoffish/rehabilitate"
8
8
  p.author = "Jamie van Dyke"
9
9
  p.email = "jamie@fearoffish.com"
10
10
  p.ignore_pattern = ["tmp/*", "script/*", "testing/*"]
11
11
  p.development_dependencies = []
12
- p.runtime_dependencies = [ 'echoe ~>4.3.1',
12
+ p.runtime_dependencies = [
13
13
  'commander ~>4.0.3',
14
14
  'pluginfactory ~>1.0.7',
15
15
  'log4r ~>1.1.8',
@@ -1,4 +1,4 @@
1
- require 'plugin'
1
+ require 'rehabilitate/plugin'
2
2
 
3
3
  class Lzop < Plugin
4
4
  def compress(options)
@@ -1,4 +1,4 @@
1
- require 'plugin'
1
+ require 'rehabilitate/plugin'
2
2
 
3
3
  class Postgresql < Plugin
4
4
  def backup(options)
@@ -1,4 +1,4 @@
1
- require 'plugin'
1
+ require 'rehabilitate/plugin'
2
2
  require 'fog'
3
3
  require 'yaml'
4
4
 
@@ -1,4 +1,4 @@
1
- require 'plugin'
1
+ require 'rehabilitate/plugin'
2
2
  require 'uri'
3
3
  require 'net/ssh'
4
4
  require 'net/scp'
@@ -1,4 +1,4 @@
1
- require 'plugin'
1
+ require 'rehabilitate/plugin'
2
2
 
3
3
  class Splitter < Plugin
4
4
  MAX_FILE_SIZE = (4.5*1024*1024*1024*1024*10).to_i #4.5TB
data/rehabilitate.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rehabilitate}
5
- s.version = "0.3.5"
5
+ s.version = "0.3.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jamie van Dyke"]
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.email = %q{jamie@fearoffish.com}
13
13
  s.executables = ["rehabilitate"]
14
14
  s.extra_rdoc_files = ["README.mdown", "bin/rehabilitate", "lib/rehabilitate.rb", "lib/rehabilitate/plugin.rb", "lib/rehabilitate/plugins/lzop.rb", "lib/rehabilitate/plugins/postgresql.rb", "lib/rehabilitate/plugins/s3.rb", "lib/rehabilitate/plugins/scp.rb", "lib/rehabilitate/plugins/splitter.rb"]
15
- s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.mdown", "Rakefile", "backup.gemspec", "bin/rehabilitate", "lib/rehabilitate.rb", "lib/rehabilitate/plugin.rb", "lib/rehabilitate/plugins/lzop.rb", "lib/rehabilitate/plugins/postgresql.rb", "lib/rehabilitate/plugins/s3.rb", "lib/rehabilitate/plugins/scp.rb", "lib/rehabilitate/plugins/splitter.rb", "rehabilitate.gemspec"]
15
+ s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.mdown", "Rakefile", "bin/rehabilitate", "lib/rehabilitate.rb", "lib/rehabilitate/plugin.rb", "lib/rehabilitate/plugins/lzop.rb", "lib/rehabilitate/plugins/postgresql.rb", "lib/rehabilitate/plugins/s3.rb", "lib/rehabilitate/plugins/scp.rb", "lib/rehabilitate/plugins/splitter.rb", "rehabilitate.gemspec"]
16
16
  s.homepage = %q{https://github.com/fearoffish/rehabilitate}
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rehabilitate", "--main", "README.mdown"]
18
18
  s.require_paths = ["lib"]
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
  s.specification_version = 3
25
25
 
26
26
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
- s.add_runtime_dependency(%q<echoe>, ["~> 4.3.1"])
28
27
  s.add_runtime_dependency(%q<commander>, ["~> 4.0.3"])
29
28
  s.add_runtime_dependency(%q<pluginfactory>, ["~> 1.0.7"])
30
29
  s.add_runtime_dependency(%q<log4r>, ["~> 1.1.8"])
@@ -32,7 +31,6 @@ Gem::Specification.new do |s|
32
31
  s.add_runtime_dependency(%q<net-scp>, ["~> 1.0.4"])
33
32
  s.add_runtime_dependency(%q<fog>, ["~> 0.3.25"])
34
33
  else
35
- s.add_dependency(%q<echoe>, ["~> 4.3.1"])
36
34
  s.add_dependency(%q<commander>, ["~> 4.0.3"])
37
35
  s.add_dependency(%q<pluginfactory>, ["~> 1.0.7"])
38
36
  s.add_dependency(%q<log4r>, ["~> 1.1.8"])
@@ -41,7 +39,6 @@ Gem::Specification.new do |s|
41
39
  s.add_dependency(%q<fog>, ["~> 0.3.25"])
42
40
  end
43
41
  else
44
- s.add_dependency(%q<echoe>, ["~> 4.3.1"])
45
42
  s.add_dependency(%q<commander>, ["~> 4.0.3"])
46
43
  s.add_dependency(%q<pluginfactory>, ["~> 1.0.7"])
47
44
  s.add_dependency(%q<log4r>, ["~> 1.1.8"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rehabilitate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 5
10
- version: 0.3.5
9
+ - 6
10
+ version: 0.3.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamie van Dyke
@@ -18,26 +18,10 @@ cert_chain: []
18
18
  date: 2011-01-10 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: echoe
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 49
30
- segments:
31
- - 4
32
- - 3
33
- - 1
34
- version: 4.3.1
35
- type: :runtime
36
- version_requirements: *id001
37
21
  - !ruby/object:Gem::Dependency
38
22
  name: commander
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
41
25
  none: false
42
26
  requirements:
43
27
  - - ~>
@@ -49,11 +33,11 @@ dependencies:
49
33
  - 3
50
34
  version: 4.0.3
51
35
  type: :runtime
52
- version_requirements: *id002
36
+ version_requirements: *id001
53
37
  - !ruby/object:Gem::Dependency
54
38
  name: pluginfactory
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
57
41
  none: false
58
42
  requirements:
59
43
  - - ~>
@@ -65,11 +49,11 @@ dependencies:
65
49
  - 7
66
50
  version: 1.0.7
67
51
  type: :runtime
68
- version_requirements: *id003
52
+ version_requirements: *id002
69
53
  - !ruby/object:Gem::Dependency
70
54
  name: log4r
71
55
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ requirement: &id003 !ruby/object:Gem::Requirement
73
57
  none: false
74
58
  requirements:
75
59
  - - ~>
@@ -81,11 +65,11 @@ dependencies:
81
65
  - 8
82
66
  version: 1.1.8
83
67
  type: :runtime
84
- version_requirements: *id004
68
+ version_requirements: *id003
85
69
  - !ruby/object:Gem::Dependency
86
70
  name: net-ssh
87
71
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ requirement: &id004 !ruby/object:Gem::Requirement
89
73
  none: false
90
74
  requirements:
91
75
  - - ~>
@@ -97,11 +81,11 @@ dependencies:
97
81
  - 23
98
82
  version: 2.0.23
99
83
  type: :runtime
100
- version_requirements: *id005
84
+ version_requirements: *id004
101
85
  - !ruby/object:Gem::Dependency
102
86
  name: net-scp
103
87
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ requirement: &id005 !ruby/object:Gem::Requirement
105
89
  none: false
106
90
  requirements:
107
91
  - - ~>
@@ -113,11 +97,11 @@ dependencies:
113
97
  - 4
114
98
  version: 1.0.4
115
99
  type: :runtime
116
- version_requirements: *id006
100
+ version_requirements: *id005
117
101
  - !ruby/object:Gem::Dependency
118
102
  name: fog
119
103
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ requirement: &id006 !ruby/object:Gem::Requirement
121
105
  none: false
122
106
  requirements:
123
107
  - - ~>
@@ -129,7 +113,7 @@ dependencies:
129
113
  - 25
130
114
  version: 0.3.25
131
115
  type: :runtime
132
- version_requirements: *id007
116
+ version_requirements: *id006
133
117
  description: Backup stuff
134
118
  email: jamie@fearoffish.com
135
119
  executables:
@@ -152,7 +136,6 @@ files:
152
136
  - Manifest
153
137
  - README.mdown
154
138
  - Rakefile
155
- - backup.gemspec
156
139
  - bin/rehabilitate
157
140
  - lib/rehabilitate.rb
158
141
  - lib/rehabilitate/plugin.rb
data/backup.gemspec DELETED
@@ -1,32 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{backup}
5
- s.version = "0.3.5"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Jamie van Dyke"]
9
- s.date = %q{2011-01-05}
10
- s.default_executable = %q{backup}
11
- s.description = %q{Backup stuff}
12
- s.email = %q{jamie@fearoffish.com}
13
- s.executables = ["backup"]
14
- s.extra_rdoc_files = ["README.mdown", "bin/backup", "lib/backup.rb", "lib/backup/plugin.rb", "lib/backup/plugins/lister.rb", "lib/backup/plugins/lzop.rb", "lib/backup/plugins/postgresql.rb", "lib/backup/plugins/s3.rb", "lib/backup/plugins/scp.rb", "lib/backup/plugins/splitter.rb"]
15
- s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.mdown", "Rakefile", "backup.gemspec", "bin/backup", "lib/backup.rb", "lib/backup/plugin.rb", "lib/backup/plugins/lister.rb", "lib/backup/plugins/lzop.rb", "lib/backup/plugins/postgresql.rb", "lib/backup/plugins/s3.rb", "lib/backup/plugins/scp.rb", "lib/backup/plugins/splitter.rb"]
16
- s.homepage = %q{https://github.com/fearoffish/rehabilitate}
17
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Backup", "--main", "README.mdown"]
18
- s.require_paths = ["lib"]
19
- s.rubyforge_project = %q{backup}
20
- s.rubygems_version = %q{1.3.7}
21
- s.summary = %q{Backup stuff}
22
-
23
- if s.respond_to? :specification_version then
24
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
- s.specification_version = 3
26
-
27
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- else
29
- end
30
- else
31
- end
32
- end