backup 2.1.1 → 2.1.2
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/README.rdoc +3 -3
- data/VERSION +1 -1
- data/backup.gemspec +1 -1
- data/generators/backup/backup_generator.rb +41 -0
- data/lib/backup.rb +1 -2
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -23,16 +23,16 @@ Notable changes:
|
|
23
23
|
|
24
24
|
I would like to ask you to install the latest version of Backup, as 2.0.0 has some issues.
|
25
25
|
A few things that were left unchanged in 2.0.0 have been changed in 2.1.0 and I have updated the Wiki page "Getting Started"
|
26
|
-
based on the 2.1.0 release to get everyone up and running!
|
26
|
+
based on the 2.1.0 release (and later releases) to get everyone up and running!
|
27
27
|
|
28
28
|
==== If you have Backup version 2.0.0 installed, please do the following:
|
29
29
|
|
30
30
|
sudo gem uninstall backup -v 2.0.0
|
31
31
|
sudo gem install backup
|
32
32
|
|
33
|
-
And have a quick read through the "Getting Started" Wiki page to see how
|
33
|
+
And have a quick read through the "Getting Started" Wiki page to see how to setup Backup as of 2.1.0!
|
34
34
|
|
35
|
-
=== Refer to the Getting Started page to get up and running incredibly fast with
|
35
|
+
=== Refer to the Getting Started page to get up and running incredibly fast with Backup 2!
|
36
36
|
http://wiki.github.com/meskyanichi/backup/getting-started
|
37
37
|
|
38
38
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.2
|
data/backup.gemspec
CHANGED
@@ -25,7 +25,48 @@ class BackupGenerator < Rails::Generator::Base
|
|
25
25
|
"db/migrate",
|
26
26
|
:migration_file_name => "create_backup_tables"
|
27
27
|
|
28
|
+
# Outputs the generators message to the terminal
|
29
|
+
puts message
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
33
|
+
def message
|
34
|
+
<<-MESSAGE
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
==============================================================
|
39
|
+
Backup's files have been generated!
|
40
|
+
==============================================================
|
41
|
+
|
42
|
+
1: Add the "Backup" gem to the config/environment.rb file!
|
43
|
+
|
44
|
+
config.gem "backup"
|
45
|
+
|
46
|
+
|
47
|
+
2: Migrate the database!
|
48
|
+
|
49
|
+
rake db:migrate
|
50
|
+
|
51
|
+
|
52
|
+
3: Set up some "Backup Settings" inside the backup configuration file!
|
53
|
+
|
54
|
+
config/backup.rb
|
55
|
+
|
56
|
+
|
57
|
+
4: Run the backups! Enjoy.
|
58
|
+
|
59
|
+
rake backup:run trigger="your-specified-trigger"
|
60
|
+
|
61
|
+
|
62
|
+
For More Information:
|
63
|
+
http://github.com/meskyanichi/backup
|
64
|
+
|
65
|
+
==============================================================
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
MESSAGE
|
70
|
+
end
|
71
|
+
|
31
72
|
end
|
data/lib/backup.rb
CHANGED