prun-ops 0.0.7 → 0.0.8

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: 4587341ce7e35734ff101bf78d7a0208c2d7d797
4
- data.tar.gz: 73630e1d32da36fdad93203b9df675c31a77a0c5
3
+ metadata.gz: ec3eb4b69431ebbb5941d687911452248a3c1a5d
4
+ data.tar.gz: ca3abca57bcda29aadda2f107fba838ac99a8e89
5
5
  SHA512:
6
- metadata.gz: d72525505bca01da5e7e48f907eca5f76f9a370cf4c8d222915d57441df15643b45e84f8356c2aaeeb7a7b71533ad9fd1b0434c8759be267b47bfcc38cd20d9d
7
- data.tar.gz: 284c02c43ea1dceb849aaf0ad18314ccfcf9439459071cb407f4680c6ed3a393e4b5284804d3dc16357eecc00d27f8b989a42aeca9b5439644e8a232164fc349
6
+ metadata.gz: c4ebc2f20397e9c5a30aade2f8bbaefc6b3156412ed5f4df6b8476e7c5281f6ddef0dc1b22b34159ed71c24dceaeb3cc1984ea2a49c0c9e54db672bb90c71799
7
+ data.tar.gz: 9dcd70aee6cb36d016ce9c304893ea2358fb6704046cb351f39fefa344ede6bc322e006a87410f0971b6254beeae31ff25a528695a0d4b2844c6627d9e2ce3c5
data/README.md CHANGED
@@ -268,4 +268,8 @@ Some capistrano commands useful to connect to server and help with the problem s
268
268
  ### v0.0.6
269
269
 
270
270
  * Fixing DigitalOcean images error when slug is nil for client images
271
- * Adding git:ff rake task
271
+ * Adding git:ff rake task
272
+
273
+ ### v0.0.8
274
+
275
+ * Adding backup[tag] capistrano task for production
@@ -10,4 +10,16 @@ namespace :backup do
10
10
  end
11
11
 
12
12
  end
13
- end
13
+ end
14
+
15
+ desc 'Backup data to a git repo, tagging it into the git repo'
16
+ task :backup, :tag do |task, args|
17
+ on roles(:app) do
18
+ within release_path do
19
+ with rails_env: "production" do
20
+ execute :rake, "backup #{args[:tag]}"
21
+ end
22
+ end
23
+ end
24
+
25
+ end
@@ -1,3 +1,3 @@
1
1
  module PrunOps
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lebrijo