puma-daemon 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +14 -0
- data/Makefile +5 -0
- data/lib/puma/daemon/version.rb +1 -1
- data/puma-daemon.gemspec +10 -14
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8f7fbda428f07fef7dcbc0cc310d87c0d126479119f5c844780b96125b38476
|
4
|
+
data.tar.gz: 2e3383565e597d4374f4f6c48343a1d0feef34ebb52db4b401869b27c0dbafde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f94ce039c1665168da3ee3cf187ddc9dac089df2307181bbece7982b5d6694699111d8a135e469fb5c34fe429739bc8af5257116400fc06f455a1fbca0ca3250
|
7
|
+
data.tar.gz: cafd7742b52b01a5b0f30e36ddaa66704d9e2790855959833bf75f051cb7d90537922b5487cfb8276e1e29335d14e6c727bba2482cb25d1b1757991717dff22f
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.2.3](https://github.com/kigster/puma-daemon/tree/v0.2.3) (2023-03-14)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.2...v0.2.3)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Attempting to properly track code coverage after fork\(\) [\#15](https://github.com/kigster/puma-daemon/pull/15) ([kigster](https://github.com/kigster))
|
10
|
+
- Adding a proper codecov and updating READFME [\#14](https://github.com/kigster/puma-daemon/pull/14) ([kigster](https://github.com/kigster))
|
11
|
+
- \[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))
|
12
|
+
|
13
|
+
## [v0.2.2](https://github.com/kigster/puma-daemon/tree/v0.2.2) (2023-03-07)
|
14
|
+
|
15
|
+
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.1...v0.2.2)
|
16
|
+
|
3
17
|
## [v0.2.1](https://github.com/kigster/puma-daemon/tree/v0.2.1) (2023-03-07)
|
4
18
|
|
5
19
|
[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.0...v0.2.1)
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puma-daemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
@@ -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:
|