puma-daemon 0.2.3 → 0.3.2
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/.github/workflows/main.yml +1 -1
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +18 -0
- data/Gemfile.puma-v5 +1 -0
- data/Gemfile.puma-v6 +1 -0
- data/Makefile +5 -0
- data/lib/puma/daemon/runner_adapter.rb +5 -3
- data/lib/puma/daemon/version.rb +1 -1
- data/puma-daemon.gemspec +10 -14
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6965f4d287468b5f0f78ed99f20843af27eb37e57d326a17ca1df75ec1e3b71f
|
4
|
+
data.tar.gz: 12124be03fd4ac5744fe56e343faa4ea9a702ac2be5b79e158a20df5f775416e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be859c00c7aae094ab6157ebf9dd0aa7a03af62e897bbddd1c536674c986ba5db7283b3ffef9c265ab8a7663e88d7fb85e64af79e11453162d29f6ecafa4b156
|
7
|
+
data.tar.gz: e49167201cc976e7421c846e5aa4c203315704403fe7af362b509f8a9976d3de9a36dd88ce93994a5432decb242fb38a634c84712af51d35d3df944af4087b21
|
data/.github/workflows/main.yml
CHANGED
@@ -35,6 +35,6 @@ jobs:
|
|
35
35
|
files: codecov-result.json
|
36
36
|
flags: unittests # optional
|
37
37
|
name: codecov-umbrella # optional
|
38
|
-
fail_ci_if_error:
|
38
|
+
fail_ci_if_error: false # optional (default = false)
|
39
39
|
verbose: true # optional (default = false)
|
40
40
|
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.3.0](https://github.com/kigster/puma-daemon/tree/v0.3.0) (2023-03-14)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.3...v0.3.0)
|
6
|
+
|
7
|
+
## [v0.2.3](https://github.com/kigster/puma-daemon/tree/v0.2.3) (2023-03-14)
|
8
|
+
|
9
|
+
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.2...v0.2.3)
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Attempting to properly track code coverage after fork\(\) [\#15](https://github.com/kigster/puma-daemon/pull/15) ([kigster](https://github.com/kigster))
|
14
|
+
- Adding a proper codecov and updating READFME [\#14](https://github.com/kigster/puma-daemon/pull/14) ([kigster](https://github.com/kigster))
|
15
|
+
- \[Snyk\] Security upgrade ruby from 3.0.0 to 3.1 [\#12](https://github.com/kigster/puma-daemon/pull/12) ([snyk-bot](https://github.com/snyk-bot))
|
16
|
+
|
17
|
+
## [v0.2.2](https://github.com/kigster/puma-daemon/tree/v0.2.2) (2023-03-07)
|
18
|
+
|
19
|
+
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.1...v0.2.2)
|
20
|
+
|
3
21
|
## [v0.2.1](https://github.com/kigster/puma-daemon/tree/v0.2.1) (2023-03-07)
|
4
22
|
|
5
23
|
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.0...v0.2.1)
|
data/Gemfile.puma-v5
CHANGED
data/Gemfile.puma-v6
CHANGED
data/Makefile
CHANGED
@@ -32,6 +32,11 @@ test-all: ## Test all supported Puma Versions
|
|
32
32
|
make test
|
33
33
|
make puma-v6
|
34
34
|
make test
|
35
|
+
|
36
|
+
rubocop: ## Run rubocop
|
37
|
+
@bundle check || bundle install
|
38
|
+
@bundle exec rubocop --format=progress
|
39
|
+
|
35
40
|
|
36
41
|
docker-build-ruby: ## Builds the Docker image by compiling ruby 3.0.0
|
37
42
|
@docker build -f Dockerfile.build -t puma-daemon:latest .
|
data/lib/puma/daemon/version.rb
CHANGED
data/puma-daemon.gemspec
CHANGED
@@ -11,19 +11,17 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = "Restore somewhat Puma's ability to self-daemonize, since Puma 5.0 dropped it"
|
12
12
|
spec.description = <<~DESCRIPTION
|
13
13
|
|
14
|
-
In version 5.0 the authors of the popular Ruby web server Puma chose
|
15
|
-
|
16
|
-
and because other and
|
17
|
-
|
18
|
-
all servers on the foreground.
|
14
|
+
In version 5.0 the authors of the popular Ruby web server Puma chose to remove the
|
15
|
+
daemonization support from Puma, because the code wasn't wall maintained,
|
16
|
+
and because other and better options exist for production deployments. For example
|
17
|
+
systemd, Docker/Kubernetes, Heroku, etc.
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
Having said that, it was neat and often useful to daemonize Puma in development.
|
20
|
+
This gem adds this support to Puma 5 & 6 (hopefully) without breaking anything in Puma
|
21
|
+
itself.
|
23
22
|
|
24
|
-
So, if you want to use the latest and greatest Puma 5+, but
|
25
|
-
this gem
|
26
|
-
your config file.
|
23
|
+
So, if you want to use the latest and greatest Puma 5+, but prefer to keep using built-in
|
24
|
+
daemonization, this gem if for you.
|
27
25
|
DESCRIPTION
|
28
26
|
|
29
27
|
spec.homepage = 'https://github.com/kigster/puma-daemon'
|
@@ -57,9 +55,7 @@ Gem::Specification.new do |spec|
|
|
57
55
|
spec.add_development_dependency 'simplecov'
|
58
56
|
spec.add_development_dependency 'yard'
|
59
57
|
|
60
|
-
# Uncomment to register a new dependency of your gem
|
61
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
62
|
-
|
63
58
|
# For more information and examples about making a new gem, checkout our
|
64
59
|
# guide at: https://bundler.io/guides/creating_gem.html
|
60
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
65
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puma-daemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puma
|
@@ -150,16 +150,14 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description: "\nIn version 5.0 the authors of the popular Ruby web server Puma chose
|
154
|
-
remove the
|
155
|
-
|
156
|
-
|
157
|
-
to
|
158
|
-
|
159
|
-
|
160
|
-
if you
|
161
|
-
\nthis gem is for you. Just use *pumad* binary instead of *puma*, or require 'puma/daemon'
|
162
|
-
inside\nyour config file.\n"
|
153
|
+
description: "\nIn version 5.0 the authors of the popular Ruby web server Puma chose
|
154
|
+
to remove the \ndaemonization support from Puma, because the code wasn't wall maintained,\nand
|
155
|
+
because other and better options exist for production deployments. For example\nsystemd,
|
156
|
+
Docker/Kubernetes, Heroku, etc. \n\nHaving said that, it was neat and often useful
|
157
|
+
to daemonize Puma in development.\nThis gem adds this support to Puma 5 & 6 (hopefully)
|
158
|
+
without breaking anything in Puma\nitself.\n\nSo, if you want to use the latest
|
159
|
+
and greatest Puma 5+, but prefer to keep using built-in\ndaemonization, this gem
|
160
|
+
if for you.\n"
|
163
161
|
email:
|
164
162
|
- kigster@gmail.com
|
165
163
|
executables:
|
@@ -208,6 +206,7 @@ metadata:
|
|
208
206
|
homepage_uri: https://github.com/kigster/puma-daemon
|
209
207
|
source_code_uri: https://github.com/kigster/puma-daemon
|
210
208
|
changelog_uri: https://github.com/kigster/puma-daemon/blob/master/CHANGELOG.md
|
209
|
+
rubygems_mfa_required: 'true'
|
211
210
|
post_install_message:
|
212
211
|
rdoc_options: []
|
213
212
|
require_paths:
|
@@ -223,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
222
|
- !ruby/object:Gem::Version
|
224
223
|
version: '0'
|
225
224
|
requirements: []
|
226
|
-
rubygems_version: 3.
|
225
|
+
rubygems_version: 3.4.13
|
227
226
|
signing_key:
|
228
227
|
specification_version: 4
|
229
228
|
summary: Restore somewhat Puma's ability to self-daemonize, since Puma 5.0 dropped
|