capistrano-unformatt 0.7 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/capistrano-unformatt.gemspec +1 -1
- data/lib/capistrano/tasks/sidekiq.rake +4 -4
- data/lib/capistrano/tasks/sunspot.rake +3 -3
- data/lib/capistrano/tasks/unicorn.rake +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bcc5cf56592c5bb73e1848e513350ade9e66515
|
4
|
+
data.tar.gz: 22229675b58e394c733d0c46a1e298e9fc45f2c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88195de53691c5abf69ee07198699196f712dd13a083327d1db538c772c23012caaf2b888dc53756ebc720b035bd4413459ed3859fb034b3288e64748143f94
|
7
|
+
data.tar.gz: a04429f33c3158b39379bffde013192be07c4eb4023b323ef03e74f9be4350eed2998f82852db5126192f768a3c73978b1ce4d53e0fbbc8e764db7ff682aa1f7
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-unformatt"
|
7
|
-
spec.version = '0
|
7
|
+
spec.version = '1.0'
|
8
8
|
spec.authors = ["unformatt"]
|
9
9
|
spec.email = ["unformatt@gmail.com"]
|
10
10
|
spec.description = "Custom recipes for Unformatt projects"
|
@@ -3,28 +3,28 @@ namespace :deploy do
|
|
3
3
|
desc "Starts sidekiq"
|
4
4
|
task :start do
|
5
5
|
on roles :app do
|
6
|
-
execute "#{daemons_path}/#{fetch(:application)}-sidekiq start"
|
6
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq start"
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
desc "Stops sidekiq"
|
11
11
|
task :stop do
|
12
12
|
on roles :app do
|
13
|
-
execute "#{daemons_path}/#{fetch(:application)}-sidekiq stop"
|
13
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq stop"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
17
|
desc "Restarts sidekiq"
|
18
18
|
task :restart do
|
19
19
|
on roles :app do
|
20
|
-
execute "#{daemons_path}/#{fetch(:application)}-sidekiq restart"
|
20
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq restart"
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
24
|
desc "Rejects new sidekiq jobs"
|
25
25
|
task :reject_jobs do
|
26
26
|
on roles :app do
|
27
|
-
execute "#{daemons_path}/#{fetch(:application)}-sidekiq reject_jobs"
|
27
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq reject_jobs"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
@@ -3,21 +3,21 @@ namespace :deploy do
|
|
3
3
|
desc "Starts sunspot"
|
4
4
|
task :start do
|
5
5
|
on roles :app do
|
6
|
-
execute "#{daemons_path}/#{fetch(:application)}-sunspot start"
|
6
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot start"
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
desc "Stops sunspot"
|
11
11
|
task :stop do
|
12
12
|
on roles :app do
|
13
|
-
execute "#{daemons_path}/#{fetch(:application)}-sunspot stop"
|
13
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot stop"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
17
|
desc "Starts sunspot"
|
18
18
|
task :restart do
|
19
19
|
on roles :app do
|
20
|
-
execute "#{daemons_path}/#{fetch(:application)}-sunspot restart"
|
20
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot restart"
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
@@ -3,28 +3,28 @@ namespace :deploy do
|
|
3
3
|
desc "Starts unicorn"
|
4
4
|
task :start do
|
5
5
|
on roles :app do
|
6
|
-
execute "#{daemons_path}/#{fetch(:application)}-unicorn start"
|
6
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn start"
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
desc "Stops unicorn"
|
11
11
|
task :stop do
|
12
12
|
on roles :app do
|
13
|
-
execute "#{daemons_path}/#{fetch(:application)}-unicorn stop"
|
13
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn stop"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
17
|
desc "Starts unicorn"
|
18
18
|
task :restart do
|
19
19
|
on roles :app do
|
20
|
-
execute "#{daemons_path}/#{fetch(:application)}-unicorn restart"
|
20
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn restart"
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
24
|
desc "Reloads unicorn"
|
25
25
|
task :reload do
|
26
26
|
on roles :app do
|
27
|
-
execute "#{daemons_path}/#{fetch(:application)}-unicorn reload"
|
27
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn reload"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|