backup_foundation 0.9.4 → 0.9.5
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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/backup_foundation/capistrano/v2.rb +1 -1
- data/lib/backup_foundation/capistrano/v3.rb +1 -1
- data/lib/backup_foundation/version.rb +1 -1
- data/lib/generators/backup_foundation/install_generator.rb +1 -0
- data/lib/generators/backup_foundation/templates/initializer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31930729dac6bdb5040980c7883dfc6ce7ef1383
|
|
4
|
+
data.tar.gz: 077ee3cca05d025498387b348f1a2c180f86d1e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 273294319e9f1c0c284a9eeaa9228df107eb6cc2f8d70863cff1397ab0c8a34d42b185acc2fee0f4c2458de14fdc6ae8b8f7eb876c70b57c819c296d955e67cf
|
|
7
|
+
data.tar.gz: 9b58dded9c09d8c61264bc2ab20d173a129ecff2cd5af7d7bc172a3ea7a26568f41c44d62ce814ed2360e01df867858a0fc731a69159e50115ecefaded7d7b32
|
data/README.md
CHANGED
|
@@ -11,9 +11,9 @@ Add this line to your application's `Gemfile`:
|
|
|
11
11
|
And then execute:
|
|
12
12
|
|
|
13
13
|
$ bundle
|
|
14
|
-
$ bundle exec rails g backup_foundation:install
|
|
14
|
+
$ bundle exec rails g backup_foundation:install YOUR_APP_KEY
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
You can get your App Key on [Backup.Foundation](https://backup.foundation/).
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
19
|
|
|
@@ -49,7 +49,7 @@ And
|
|
|
49
49
|
|
|
50
50
|
$ bundle exec cap production backup_foundation:restore
|
|
51
51
|
|
|
52
|
-
By default, commands will be executed on servers in role `
|
|
52
|
+
By default, commands will be executed on servers in role `db`. You can change it by setting
|
|
53
53
|
|
|
54
54
|
set :backup_foundation_roles, ->{ :another_role }
|
|
55
55
|
|
|
@@ -2,6 +2,7 @@ module BackupFoundation
|
|
|
2
2
|
module Generators
|
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
|
4
4
|
source_root File.expand_path("../templates", __FILE__)
|
|
5
|
+
argument :app_key, type: :string, default: 'ENTER_YOUR_APP_KEY_HERE'
|
|
5
6
|
|
|
6
7
|
desc 'This generator creates an initializer file at config/initializers'
|
|
7
8
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backup_foundation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Shaydurov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-08-
|
|
11
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|