capistrano3-puma 0.1.2 → 0.1.3

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: c6c36d82fbc2b6fbe3258823ecae39a395ae0e86
4
- data.tar.gz: c016c10b8daa5ea7819246ea15f192b7b06562b0
3
+ metadata.gz: 97b2b38d3f27b9f9e5b7ec1555b0655b29500bdd
4
+ data.tar.gz: 3c4abf36536864ff091c5f22030e34b2c6711cbe
5
5
  SHA512:
6
- metadata.gz: cd75d8fc63b459a9cf42edee9ce5b4a893551d6c287519b0495c8dadc228ea3f29c1c11cfdb71f692db376814eae746fdd8e5b1c91c265eaa1fe72c400f9500d
7
- data.tar.gz: aca7221327efcafdd53ee5dc888f9d87a6559469733c1f256c20fa9471cf5f94000bd6613f5a9d5d3540082e1106e0868d8ad42df61e3777e8ba2e7b8b18fe5d
6
+ metadata.gz: ab49da7d03ece76ff6de0df71287e9ebce1c59e9edd4208e0974920b06274e4a17d986d27187379e50c36e47f3a416b9caea6c4edf1dfc2718d3fa4502c56690
7
+ data.tar.gz: 57d168024174874977ec129a90e5af9f3e834b1dc8d6cdb52f0ea41ae7c5758cc7fb3bef680f952d642c369309232a76ccb695ad941130214757d5486b3ebc04
data/README.md CHANGED
@@ -6,7 +6,7 @@ In the current version the gem will expect a puma.rb in the shared directory, if
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'capistrano-puma', github: "seuros/capistrano-puma"
9
+ gem 'capistrano3-puma', github: "seuros/capistrano-puma"
10
10
 
11
11
  or:
12
12
 
@@ -22,6 +22,7 @@ And then execute:
22
22
 
23
23
  require 'capistrano/puma'
24
24
  require 'capistrano/puma/jungle' #if you need the jungle tasks
25
+ require 'capistrano/puma/monit' #if you need the monit tasks
25
26
  ```
26
27
 
27
28
 
@@ -50,6 +51,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
50
51
 
51
52
  ## Changelog
52
53
 
54
+ - 0.1.3: Capistrano 3.1 support
53
55
  - 0.1.2: Gemfile are refreshed between deploys now
54
56
  - 0.1.1: Initial support for Monit and configuration override added.
55
57
  - 0.1.0: Phased restart will be used if puma is in cluster mode
@@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files`.split($/)
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'capistrano', '~> 3.0.0'
20
+ spec.add_dependency 'capistrano', '~> 3.0'
21
21
 
22
22
  end
@@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.require_paths = ['lib']
18
18
 
19
- spec.add_dependency 'capistrano', '~> 3.0.0'
19
+ spec.add_dependency 'capistrano', '~> 3.0'
20
20
 
21
21
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Puma
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
@@ -1,7 +1,3 @@
1
- namespace :deploy do
2
- after :finished, 'puma:smart_restart'
3
- end
4
-
5
1
  namespace :load do
6
2
  task :defaults do
7
3
  set :puma_role, :app
@@ -91,6 +87,7 @@ namespace :puma do
91
87
  invoke 'puma:restart'
92
88
  end
93
89
  end
90
+ after 'deploy:finished', 'puma:smart_restart'
94
91
 
95
92
  def puma_workers
96
93
  fetch(:puma_workers) || 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-26 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0
26
+ version: '3.0'
27
27
  description: Puma integration for Capistrano 3
28
28
  email:
29
29
  - Terminale@gmail.com