capistrano-pumaio 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,13 +8,13 @@ This gem provides recipes for [Puma](http://puma.io) to setup runit and monit
8
8
  Add it to your Gemfile without requiring it
9
9
 
10
10
  ```ruby
11
- gem 'capistrano-pumaio', require: false
11
+ gem 'capistrano-pumaio'
12
12
  ```
13
13
 
14
14
  In your deploy.rb:
15
15
 
16
16
  ```ruby
17
- require 'capistrano-pumaio'
17
+ require 'capistrano/puma'
18
18
  ```
19
19
 
20
20
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -0,0 +1,64 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "capistrano-pumaio"
8
+ s.version = "0.0.3"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Leif Ringstad"]
12
+ s.date = "2013-07-05"
13
+ s.description = "Capistrano recipes for puma using runit and monit."
14
+ s.email = "leifcr@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "LICENSE",
23
+ "README.md",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "capistrano-pumaio.gemspec",
27
+ "lib/capistrano/puma.rb",
28
+ "lib/capistrano/puma/config.rb",
29
+ "lib/capistrano/puma/monit.rb",
30
+ "lib/capistrano/puma/runit.rb",
31
+ "templates/monit/puma.conf.erb",
32
+ "templates/runit/config.rb.erb",
33
+ "templates/runit/control-q.erb",
34
+ "templates/runit/log-run.erb",
35
+ "templates/runit/run.erb"
36
+ ]
37
+ s.homepage = "https://github.com/leifcr/capistrano-puma"
38
+ s.licenses = ["MIT"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = "1.8.25"
41
+ s.summary = "Capistrano recipes for puma using runit and monit"
42
+
43
+ if s.respond_to? :specification_version then
44
+ s.specification_version = 3
45
+
46
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
+ s.add_runtime_dependency(%q<capistrano>, [">= 2.15.5"])
48
+ s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
49
+ s.add_development_dependency(%q<bundler>, [">= 1.3.0"])
50
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.6"])
51
+ else
52
+ s.add_dependency(%q<capistrano>, [">= 2.15.5"])
53
+ s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
54
+ s.add_dependency(%q<bundler>, [">= 1.3.0"])
55
+ s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
56
+ end
57
+ else
58
+ s.add_dependency(%q<capistrano>, [">= 2.15.5"])
59
+ s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
60
+ s.add_dependency(%q<bundler>, [">= 1.3.0"])
61
+ s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
62
+ end
63
+ end
64
+
@@ -1,3 +1,4 @@
1
+ require 'capistrano/base_helper/base_helper'
1
2
  Capistrano::Configuration.instance(true).load do
2
3
  _cset :puma_runit_service_name, "puma"
3
4
  _cset :puma_workers, 2 # Must use a minimum of 1 worker (cluster mode, else restart/stop fails in the state file?)
@@ -1,8 +1,8 @@
1
1
  # Puma - Monit
2
2
  # Setup and management of Monit for Puma
3
3
  #
4
- require 'capistrano-base_helper/base_helper'
5
- require 'capistrano-base_helper/monit_base'
4
+ require 'capistrano/puma/config'
5
+ require 'capistrano/base_helper/monit_base'
6
6
 
7
7
  Capistrano::Configuration.instance(true).load do
8
8
  after "monit:setup", "puma:monit:setup"
@@ -1,7 +1,6 @@
1
1
  # Puma - Runit
2
-
3
- require 'capistrano-base_helper/base_helper'
4
- require 'capistrano-base_helper/runit_base'
2
+ require 'capistrano/puma/config'
3
+ require 'capistrano/base_helper/runit_base'
5
4
 
6
5
  Capistrano::Configuration.instance(true).load do
7
6
  after "deploy:setup", "puma:runit:setup"
@@ -6,6 +6,6 @@ def try_require(library)
6
6
  end
7
7
  end
8
8
 
9
- try_require 'capistrano-puma/config'
10
- try_require 'capistrano-puma/runit'
11
- try_require 'capistrano-puma/monit'
9
+ try_require 'capistrano/puma/config'
10
+ try_require 'capistrano/puma/runit'
11
+ try_require 'capistrano/puma/monit'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-pumaio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,10 +89,11 @@ files:
89
89
  - README.md
90
90
  - Rakefile
91
91
  - VERSION
92
- - capistrano-puma/config.rb
93
- - capistrano-puma/monit.rb
94
- - capistrano-puma/runit.rb
95
- - capistrano-pumaio.rb
92
+ - capistrano-pumaio.gemspec
93
+ - lib/capistrano/puma.rb
94
+ - lib/capistrano/puma/config.rb
95
+ - lib/capistrano/puma/monit.rb
96
+ - lib/capistrano/puma/runit.rb
96
97
  - templates/monit/puma.conf.erb
97
98
  - templates/runit/config.rb.erb
98
99
  - templates/runit/control-q.erb
@@ -113,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
114
  version: '0'
114
115
  segments:
115
116
  - 0
116
- hash: -385783123591010547
117
+ hash: -2094949787725033102
117
118
  required_rubygems_version: !ruby/object:Gem::Requirement
118
119
  none: false
119
120
  requirements: