s3_db_assets_backup 0.0.3 → 0.0.4
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/Rakefile +0 -35
- data/lib/s3_db_assets_backup.rb +0 -0
- data/s3_db_assets_backup-0.0.3.gem +0 -0
- data/s3_db_assets_backup.gemspec +26 -0
- metadata +8 -5
data/Rakefile
CHANGED
@@ -1,47 +1,12 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require 'rake/gempackagetask'
|
5
3
|
|
6
4
|
desc 'Default: run unit tests.'
|
7
5
|
task :default => :test
|
8
6
|
|
9
7
|
desc 'Test the s3_db_assets_backup plugin.'
|
10
8
|
Rake::TestTask.new(:test) do |t|
|
11
|
-
t.libs << 'lib'
|
12
9
|
t.libs << 'test'
|
13
10
|
t.pattern = 'test/**/*_test.rb'
|
14
11
|
t.verbose = true
|
15
|
-
end
|
16
|
-
|
17
|
-
desc 'Generate documentation for the s3_db_assets_backup plugin.'
|
18
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
19
|
-
rdoc.rdoc_dir = 'rdoc'
|
20
|
-
rdoc.title = 'S3DbAssetsBackup'
|
21
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
22
|
-
rdoc.rdoc_files.include('README.rdoc')
|
23
|
-
end
|
24
|
-
|
25
|
-
PKG_FILES = FileList[
|
26
|
-
'[a-zA-Z]*',
|
27
|
-
'generators/**/*',
|
28
|
-
'test/**/*'
|
29
|
-
]
|
30
|
-
|
31
|
-
spec = Gem::Specification.new do |s|
|
32
|
-
s.name = "s3_db_assets_backup"
|
33
|
-
s.version = "0.0.3"
|
34
|
-
s.author = "Chris Barnes"
|
35
|
-
s.email = "randomutterings@gmail.com"
|
36
|
-
s.homepage = "http://www.randomutterings.com/projects/s3_db_assets_backup"
|
37
|
-
s.platform = Gem::Platform::RUBY
|
38
|
-
s.summary = "Generates rake tasks for backing up db and public folder to S3 bucket"
|
39
|
-
s.files = PKG_FILES.to_a
|
40
|
-
s.has_rdoc = false
|
41
|
-
s.extra_rdoc_files = ["README.rdoc"]
|
42
|
-
end
|
43
|
-
|
44
|
-
desc 'Turn this plugin into a gem.'
|
45
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
46
|
-
pkg.gem_spec = spec
|
47
12
|
end
|
File without changes
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rake/gempackagetask'
|
2
|
+
|
3
|
+
PKG_FILES = FileList[
|
4
|
+
'[a-zA-Z]*',
|
5
|
+
'generators/**/*',
|
6
|
+
'lib/**/*',
|
7
|
+
'test/**/*'
|
8
|
+
]
|
9
|
+
|
10
|
+
spec = Gem::Specification.new do |s|
|
11
|
+
s.name = "s3_db_assets_backup"
|
12
|
+
s.version = "0.0.4"
|
13
|
+
s.author = "Chris Barnes"
|
14
|
+
s.email = "randomutterings@gmail.com"
|
15
|
+
s.homepage = "http://www.randomutterings.com/projects/s3_db_assets_backup"
|
16
|
+
s.platform = Gem::Platform::RUBY
|
17
|
+
s.summary = "Generates rake tasks for backing up db and public folder to an existing S3 bucket"
|
18
|
+
s.description = "Generates rake tasks for backing up your database and public folder (which should also contain any uploaded assets) to an existing bucket in your Amazon S3 account. The rake tasks compresses and uploads each backup with a time stamp and the config file allows you to set how many of each backup to keep. This script is 'very largly based on' the following (http://www.magnionlabs.com/2009/7/7/db-backups)."
|
19
|
+
s.files = PKG_FILES.to_a
|
20
|
+
s.extra_rdoc_files = ["README.rdoc"]
|
21
|
+
end
|
22
|
+
|
23
|
+
desc 'Turn this plugin into a gem.'
|
24
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
25
|
+
pkg.gem_spec = spec
|
26
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chris Barnes
|
@@ -14,11 +14,11 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-23 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description:
|
21
|
+
description: Generates rake tasks for backing up your database and public folder (which should also contain any uploaded assets) to an existing bucket in your Amazon S3 account. The rake tasks compresses and uploads each backup with a time stamp and the config file allows you to set how many of each backup to keep. This script is 'very largly based on' the following (http://www.magnionlabs.com/2009/7/7/db-backups).
|
22
22
|
email: randomutterings@gmail.com
|
23
23
|
executables: []
|
24
24
|
|
@@ -30,12 +30,15 @@ files:
|
|
30
30
|
- MIT-LICENSE
|
31
31
|
- Rakefile
|
32
32
|
- README.rdoc
|
33
|
+
- s3_db_assets_backup-0.0.3.gem
|
34
|
+
- s3_db_assets_backup.gemspec
|
33
35
|
- generators/assets_backup/assets_backup_generator.rb
|
34
36
|
- generators/assets_backup/templates/assets_backup.rake
|
35
37
|
- generators/assets_backup/templates/assets_backup_config.yml
|
36
38
|
- generators/assets_backup/templates/db_backup.rake
|
37
39
|
- generators/assets_backup/templates/load_assets_backup_config.rb
|
38
40
|
- generators/assets_backup/USAGE
|
41
|
+
- lib/s3_db_assets_backup.rb
|
39
42
|
- test/s3_db_assets_backup_test.rb
|
40
43
|
- test/test_helper.rb
|
41
44
|
has_rdoc: true
|
@@ -67,6 +70,6 @@ rubyforge_project:
|
|
67
70
|
rubygems_version: 1.3.6
|
68
71
|
signing_key:
|
69
72
|
specification_version: 3
|
70
|
-
summary: Generates rake tasks for backing up db and public folder to S3 bucket
|
73
|
+
summary: Generates rake tasks for backing up db and public folder to an existing S3 bucket
|
71
74
|
test_files: []
|
72
75
|
|