prun-ops 0.0.11 → 0.0.12
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/.ruby-version +1 -0
- data/README.md +11 -9
- data/lib/prun-ops/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df3db1c303350c6a82d846794e31a90918823dd9
|
4
|
+
data.tar.gz: c6fa1a10797a2443cf020ceb43a239255999f3e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1c655659e57dc2768b734b523e38feb9f0fed3bb857347c098e872ea05d467b7cebb5cb3046fa552ebb43c014ba91d5f709c31219ea3c9198d1531f5a4a13b1
|
7
|
+
data.tar.gz: e5f3562cde7ab42496d91c7d228b78ba7dfbf2bec2f5102ebdf5249d17cb18645bea4319f5de4bf400fad4b639fb5807cf4de8965f1588be91694c9e27529eaf
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.1.2
|
data/README.md
CHANGED
@@ -52,7 +52,7 @@ Notice that you are adding all prun-ops tasks with the line `require 'capistrano
|
|
52
52
|
Your config/deploy/production.rb:
|
53
53
|
|
54
54
|
```
|
55
|
-
server "example.com", user: 'root', roles: %w{web app}, port: 2222
|
55
|
+
server "example.com", user: 'root', roles: %w{web app db}, port: 2222
|
56
56
|
```
|
57
57
|
|
58
58
|
Note: Remember change this line in production.rb file: `config.assets.compile = true`
|
@@ -69,23 +69,25 @@ Note: Remember change this line in production.rb file: `config.assets.compile =
|
|
69
69
|
|
70
70
|
Backups/restore database and files in your Rails app.
|
71
71
|
|
72
|
-
Configure your 'config/
|
72
|
+
Configure your 'config/applciation.rb':
|
73
73
|
|
74
74
|
```ruby
|
75
|
-
|
76
|
-
|
75
|
+
# Backup directories
|
76
|
+
config.backup_dirs = %w{public/ckeditor_assets public/system}
|
77
|
+
|
78
|
+
# Backup repo
|
79
|
+
config.backup_repo = "git@github.com:example/backup.git"
|
77
80
|
```
|
78
81
|
|
79
|
-
And your 'config/
|
82
|
+
And your 'config/deploy.rb':
|
80
83
|
|
81
84
|
```ruby
|
82
85
|
# Backup directories
|
83
|
-
|
84
|
-
|
85
|
-
# Backup repo
|
86
|
-
config.backup_repo = "git@github.com:example/backup.git"
|
86
|
+
require_relative "./application.rb"
|
87
|
+
set :backup_dirs, Taskboard::Application.config.backup_dirs
|
87
88
|
```
|
88
89
|
|
90
|
+
And
|
89
91
|

|
90
92
|
|
91
93
|
* `cap [stg] pull:data`: downloads DDBB and file folders from the stage you need.
|
data/lib/prun-ops/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prun-ops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Lebrijo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -89,6 +89,7 @@ extensions: []
|
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
91
|
- ".gitignore"
|
92
|
+
- ".ruby-version"
|
92
93
|
- Gemfile
|
93
94
|
- LICENSE.txt
|
94
95
|
- README.md
|