kapify 0.0.13 → 0.0.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 568b2cc1b106ad3991acff52977aadeeea6a9ce7
|
4
|
+
data.tar.gz: f6f3b3d8dff00cd2c6b0e12ce6e456a3825c7133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6f0244696593a351a1317f7c7ee4a5f9aa6b2b045dc8c292f76532706a105c385c4a3e3c374f8d2e30568e82c304b7559c06b2fd87a73260f2e34835433b0a0
|
7
|
+
data.tar.gz: 82b62012ec3802b1f9489178caef20f387fb2ea4a884756433a119940685f75dadc13120acbb3309238b619abdf49a47e6f9ec0046c90b20ea7213f644c816fe
|
@@ -4,7 +4,7 @@ require 'kapify/base'
|
|
4
4
|
Capistrano::Configuration.instance.load do
|
5
5
|
namespace :kapify do
|
6
6
|
desc "Setup logs rotation for application logs"
|
7
|
-
task :logrotate,
|
7
|
+
task :logrotate, except: { no_release: true } do
|
8
8
|
kapify_template("logrotate", "logrotate.erb", "/tmp/#{application}_logrotate")
|
9
9
|
run "#{sudo} mv /tmp/#{application}_logrotate /etc/logrotate.d/#{application}"
|
10
10
|
run "#{sudo} chown root:root /etc/logrotate.d/#{application}"
|
@@ -34,7 +34,7 @@ Capistrano::Configuration.instance.load do
|
|
34
34
|
end
|
35
35
|
|
36
36
|
desc "Generate the database.yml configuration file."
|
37
|
-
task :setup, roles: :app do
|
37
|
+
task :setup, roles: [:app, :resque_worker] do
|
38
38
|
run "mkdir -p #{shared_path}/config"
|
39
39
|
kapify_template("pg", "database.yml.erb", "#{shared_path}/config/database.yml")
|
40
40
|
end
|
@@ -42,7 +42,7 @@ Capistrano::Configuration.instance.load do
|
|
42
42
|
after "deploy:setup", "kapify:pg:setup"
|
43
43
|
|
44
44
|
desc "Symlink the database.yml file into latest release"
|
45
|
-
task :symlink, roles: :app do
|
45
|
+
task :symlink, roles: [:app, :resque_worker] do
|
46
46
|
run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
|
47
47
|
end
|
48
48
|
|
data/lib/kapify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kapify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Tkalin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|