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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bad7dcad547d0453e7500d4cfb404bb18d974ea4
4
- data.tar.gz: ed92c14e45f97bb577a1e2bf467097b7081cfe21
3
+ metadata.gz: df3db1c303350c6a82d846794e31a90918823dd9
4
+ data.tar.gz: c6fa1a10797a2443cf020ceb43a239255999f3e7
5
5
  SHA512:
6
- metadata.gz: fa49214c8c81dec6f5fe2d3d21813b56810e7c7bad731c2d8720bf37c2f6e4683e131abb4f216f3d88b39534d88db9399f513ece679b8a1b6b13f985f21505c7
7
- data.tar.gz: 37b5835549046c977608aa0f95ba29842b8d1e2022cfdce19f06aee5250c8a4fa9ce492169b4109cc3adcee2597e869268bdd16f9ec4f33f1f9dcd8eb99aeb1e
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/deploy.rb':
72
+ Configure your 'config/applciation.rb':
73
73
 
74
74
  ```ruby
75
- # Backup directories
76
- set :backup_dirs, %w{public/uploads}
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/applciation.rb':
82
+ And your 'config/deploy.rb':
80
83
 
81
84
  ```ruby
82
85
  # Backup directories
83
- config.backup_dirs = %w{public/ckeditor_assets public/system}
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
  ![backup schema](https://docs.google.com/drawings/d/1Sp8ysn46ldIWRxaLUHfzpu7vK0zMjh4_iMpEP1U6SuU/pub?w=642&h=277 "Backup commands schema")
90
92
 
91
93
  * `cap [stg] pull:data`: downloads DDBB and file folders from the stage you need.
@@ -1,3 +1,3 @@
1
1
  module PrunOps
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
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.11
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-21 00:00:00.000000000 Z
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