backup 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
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 simple the Backup setup is since 2.1.0!
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 "Backup 2"!
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
1
+ 2.1.2
data/backup.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{backup}
8
- s.version = "2.1.1"
8
+ s.version = "2.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael van Rooijen"]
@@ -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
@@ -1,8 +1,7 @@
1
- # Connectivity and Record Gems
1
+ # Load in Connectivity and Transfer Gems
2
2
  require 'net/ssh'
3
3
  require 'net/scp'
4
4
  require 'aws/s3'
5
- require 'sqlite3'
6
5
 
7
6
  # Load in Adapters
8
7
  require 'backup/adapters/base'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van Rooijen