prun-ops 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b327d5eff0259d16ad87de40311e4b99d1e1f23
4
- data.tar.gz: 395b5c1c18babccd6d2ebb5faaae50c6d9329284
3
+ metadata.gz: 12d164599dc2277574f0c9c230153998d1e5c4c3
4
+ data.tar.gz: 38d329aadb78ad831072805d0c7007aafb194edc
5
5
  SHA512:
6
- metadata.gz: 3b5859e817cd5885d9da916f0c05401ca7b519fef88d99367efa75dc8fc302a8f9b03e6f647b6069c5364fd5eff514a50c6716bd04e43ff60f2c7f8baf1ff6d3
7
- data.tar.gz: e3793acab7d1e1a323898c350006adaf41cbf3c52aa157ece37da457c34915ceea8c36959691084171712ad0995470f61412ae1b8fd1ea634f6f03c6082e19b6
6
+ metadata.gz: 8ac5f93473c538307b5babd707cb08f10831b260e1fff4c3586f62f04865f8b564821baffebab82f87709594befdc8853640c8f27d3464da4376926b9104ec4b
7
+ data.tar.gz: fb317719dddb864bb3d829ef7e997f4205e69e4dfdc9accc4687583e97f384ad5122f6f4e35a37f52d02a2030f6de5f3162e519a1aab7ea8eddecc385252aaae
data/README.md CHANGED
@@ -43,6 +43,7 @@ require 'capistrano/rails'
43
43
  require 'capistrano/bundler'
44
44
  require 'capistrano/rails/assets'
45
45
  require 'capistrano/rails/migrations'
46
+ require "#{File.dirname(__FILE__)}/config/application"
46
47
  require 'capistrano/prun-ops'
47
48
  Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
48
49
  ```
@@ -177,4 +178,14 @@ At this moment we are implementing [NewRelic](http://newrelic.com/) monitoring,
177
178
  # Backup directories
178
179
  require_relative "./application.rb"
179
180
  set :backup_dirs, Taskboard::Application.config.backup_dirs
181
+ ```
182
+
183
+ Also add in your Capfile:
184
+
185
+ ```ruby
186
+ ................
187
+ require 'capistrano/rails/migrations'
188
+ require "#{File.dirname(__FILE__)}/config/application"
189
+ require 'capistrano/prun-ops'
190
+ ................
180
191
  ```
@@ -1,5 +1,4 @@
1
1
 
2
- require_relative "./application.rb"
3
2
  if Rails.application.config.respond_to? :backup_dirs
4
3
  set :backup_dirs, Rails.application.config.backup_dirs
5
4
  else
@@ -1,3 +1,3 @@
1
1
  module PrunOps
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prun-ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lebrijo