capistrano3-puma 6.2.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/capistrano/puma/systemd.rb +1 -1
- data/lib/capistrano/puma.rb +3 -5
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e49b3136d5a3c5279003a9139c46ce543b0e313cba29cfe17a91f86e4d44b67b
|
4
|
+
data.tar.gz: 9659ae66cf2f6d0347411f6dedb79a2f8d616d0a5648e2fe0c306601d874cb0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8534f612b8bc2afb41266a1a7bf3a91671768a776b7dc0669057dec847f3bc1d1767cb17dd9da2c6624de7f0d98045012fce8c77f29634272938444a7cb0840
|
7
|
+
data.tar.gz: 1ae3fd5a9a4a3c5884388055e61c271fe97766dfce7e7372aa85567f50f899b6b00d905b7b1e867156786dc75cd4b4626e8ef58201b29c697bccc2fb33c2d8a5
|
data/lib/capistrano/puma.rb
CHANGED
@@ -15,7 +15,7 @@ module Capistrano
|
|
15
15
|
def puma_user(role)
|
16
16
|
properties = role.properties
|
17
17
|
return role.user unless properties
|
18
|
-
|
18
|
+
|
19
19
|
properties.fetch(:puma_user) || # local property for puma only
|
20
20
|
fetch(:puma_user, nil) ||
|
21
21
|
properties.fetch(:run_as) || # global property across multiple capistrano gems
|
@@ -31,10 +31,8 @@ module Capistrano
|
|
31
31
|
def service_unit_type
|
32
32
|
## Jruby don't support notify
|
33
33
|
return "simple" if RUBY_ENGINE == "jruby"
|
34
|
-
|
35
|
-
|
36
|
-
Gem::Specification.find_all_by_name("sd_notify").any? ? "notify" : "simple")
|
37
|
-
|
34
|
+
## Puma 6.1+ has built-in sd_notify support
|
35
|
+
fetch(:puma_service_unit_type, "notify")
|
38
36
|
end
|
39
37
|
|
40
38
|
def compiled_template_puma(from, role)
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date:
|
11
|
+
date: 2025-09-23 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: capistrano
|
@@ -43,20 +44,20 @@ dependencies:
|
|
43
44
|
requirements:
|
44
45
|
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
47
|
+
version: '6.1'
|
47
48
|
- - "<"
|
48
49
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
+
version: '8.0'
|
50
51
|
type: :runtime
|
51
52
|
prerelease: false
|
52
53
|
version_requirements: !ruby/object:Gem::Requirement
|
53
54
|
requirements:
|
54
55
|
- - ">="
|
55
56
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
57
|
+
version: '6.1'
|
57
58
|
- - "<"
|
58
59
|
- !ruby/object:Gem::Version
|
59
|
-
version: '
|
60
|
+
version: '8.0'
|
60
61
|
description: Puma integration for Capistrano 3
|
61
62
|
email:
|
62
63
|
- Terminale@gmail.com
|
@@ -82,8 +83,7 @@ homepage: https://github.com/seuros/capistrano-puma
|
|
82
83
|
licenses:
|
83
84
|
- MIT
|
84
85
|
metadata: {}
|
85
|
-
post_install_message:
|
86
|
-
breaking changes are listed in CHANGELOG.md\n "
|
86
|
+
post_install_message:
|
87
87
|
rdoc_options: []
|
88
88
|
require_paths:
|
89
89
|
- lib
|
@@ -91,14 +91,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
92
92
|
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '2.
|
94
|
+
version: '2.4'
|
95
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
101
|
+
rubygems_version: 3.0.3.1
|
102
|
+
signing_key:
|
102
103
|
specification_version: 4
|
103
104
|
summary: Puma integration for Capistrano
|
104
105
|
test_files: []
|