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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a27a477800524403be26b36de9a55201062f3910
4
- data.tar.gz: 2d51caeb0e6bebfab64ea14164e04d635583438e
3
+ metadata.gz: 8ca6907db6828b5750d27aa244cec11c452660e3
4
+ data.tar.gz: 4c9fc25f165efdc09e6d4197063feaab2c6d75b4
5
5
  SHA512:
6
- metadata.gz: 53e698a542a0b7bfcbf8272661f46a9bb130da700d079ad550030c5468fc17629865150716e1cdc88b292c48ceef1ff339f46dc1a5ff831dc2023edcbd202970
7
- data.tar.gz: da86832385345654565baa06d4f141a654abf9d1cfb6678b0eb24083c8fb0a2da16b6f0db6d83fb7851764f478bfe4ce369c6086cf67c50fc3831bdc9da7e113
6
+ metadata.gz: 8af3f71bfdf17c758f4d5f9305b80f5ac4776b18887353ab93bfe07d3a922ae62e911e744b69f37dd2b3e182adad351aba9e7a4cf57554a154bc050b6b805485
7
+ data.tar.gz: 0e6fa2635c907ba0a7cccb89821c81796a49f749c0280892afe274240cf1c76ab095c54271a18e388c9869c7d6e407128da6031682c5a7ce9423191aeb55bb6e
data/CHANGELOG.md CHANGED
@@ -89,3 +89,7 @@
89
89
  ## v1.15
90
90
 
91
91
  * Fix on templates
92
+
93
+ ## v1.16
94
+
95
+ * Added puma recipes
@@ -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.15'
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
@@ -1,5 +1,6 @@
1
1
  require "capistrano/unformatt/monit"
2
2
  require "capistrano/unformatt/nginx"
3
+ require "capistrano/unformatt/puma"
3
4
  require "capistrano/unformatt/rails"
4
5
  require "capistrano/unformatt/setup"
5
6
  require "capistrano/unformatt/sidekiq"
@@ -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.15'
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: 2017-11-14 00:00:00.000000000 Z
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