capistrano-unformatt 1.15 → 1.16
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/puma.rake +31 -0
- data/lib/capistrano/unformatt/all.rb +1 -0
- data/lib/capistrano/unformatt/puma.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ca6907db6828b5750d27aa244cec11c452660e3
|
4
|
+
data.tar.gz: 4c9fc25f165efdc09e6d4197063feaab2c6d75b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8af3f71bfdf17c758f4d5f9305b80f5ac4776b18887353ab93bfe07d3a922ae62e911e744b69f37dd2b3e182adad351aba9e7a4cf57554a154bc050b6b805485
|
7
|
+
data.tar.gz: 0e6fa2635c907ba0a7cccb89821c81796a49f749c0280892afe274240cf1c76ab095c54271a18e388c9869c7d6e407128da6031682c5a7ce9423191aeb55bb6e
|
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 = '1.
|
7
|
+
spec.version = '1.16'
|
8
8
|
spec.authors = ["unformatt"]
|
9
9
|
spec.email = ["unformatt@gmail.com"]
|
10
10
|
spec.description = "Custom recipes for Unformatt projects"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
namespace :deploy do
|
2
|
+
namespace :puma do
|
3
|
+
desc "Starts puma"
|
4
|
+
task :start do
|
5
|
+
on roles :app do
|
6
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-puma start"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
desc "Stops puma"
|
11
|
+
task :stop do
|
12
|
+
on roles :app do
|
13
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-puma stop"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Starts puma"
|
18
|
+
task :restart do
|
19
|
+
on roles :app do
|
20
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-puma restart"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
desc "Reloads puma"
|
25
|
+
task :reload do
|
26
|
+
on roles :app do
|
27
|
+
execute "#{fetch(:daemons_path)}/#{fetch(:application)}-puma reload"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path("../../tasks/puma.rake", __FILE__)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-unformatt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.16'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- unformatt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- capistrano-unformatt.gemspec
|
57
57
|
- lib/capistrano/tasks/monit.rake
|
58
58
|
- lib/capistrano/tasks/nginx.rake
|
59
|
+
- lib/capistrano/tasks/puma.rake
|
59
60
|
- lib/capistrano/tasks/rails.rake
|
60
61
|
- lib/capistrano/tasks/setup.rake
|
61
62
|
- lib/capistrano/tasks/sidekiq.rake
|
@@ -65,6 +66,7 @@ files:
|
|
65
66
|
- lib/capistrano/unformatt/all.rb
|
66
67
|
- lib/capistrano/unformatt/monit.rb
|
67
68
|
- lib/capistrano/unformatt/nginx.rb
|
69
|
+
- lib/capistrano/unformatt/puma.rb
|
68
70
|
- lib/capistrano/unformatt/rails.rb
|
69
71
|
- lib/capistrano/unformatt/setup.rb
|
70
72
|
- lib/capistrano/unformatt/sidekiq.rb
|