tomo 1.16.0 → 1.17.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/tomo/plugin/puma/systemd/service.erb +7 -0
- data/lib/tomo/plugin/puma.rb +1 -0
- data/lib/tomo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6202b071b5584a5fc5b2db693130e5160585b784822b2b220ff3685c4272f53c
|
|
4
|
+
data.tar.gz: 6c35312e003c7c00153a7ddf8d5c2761f19b9c16aa72d8f74b271f25b5f1d69c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c1a3a5edc2e67bd5d1aa77231534ca36d379214a9d4fade127d81ae810cfd75137d600f8018c44d171c41a6d0d6abacbc2986cef629de661747fd2199997f4d
|
|
7
|
+
data.tar.gz: efd002dc923b18b4aa48f98d2fa79069c1713fbc604614a68f0fe1b9bc0477de591b83a280edfe1ea2c8fcf398408394a095bd56d8fab27f58ddba7c5748d2d9
|
|
@@ -13,7 +13,14 @@ StandardInput=null
|
|
|
13
13
|
StandardOutput=syslog
|
|
14
14
|
SyslogIdentifier=%n
|
|
15
15
|
TimeoutStopSec=5
|
|
16
|
+
|
|
17
|
+
<% if settings[:puma_systemd_service_type].to_s == "notify" %>
|
|
18
|
+
Type=notify
|
|
19
|
+
WatchdogSec=10
|
|
20
|
+
<% else %>
|
|
16
21
|
Type=simple
|
|
22
|
+
<% end %>
|
|
23
|
+
|
|
17
24
|
WorkingDirectory=<%= paths.current %>
|
|
18
25
|
# Helpful for debugging socket activation, etc.
|
|
19
26
|
# Environment=PUMA_DEBUG=1
|
data/lib/tomo/plugin/puma.rb
CHANGED
|
@@ -10,6 +10,7 @@ module Tomo::Plugin
|
|
|
10
10
|
puma_port: "3000",
|
|
11
11
|
puma_systemd_service: "puma_%{application}.service",
|
|
12
12
|
puma_systemd_socket: "puma_%{application}.socket",
|
|
13
|
+
puma_systemd_service_type: "notify",
|
|
13
14
|
puma_systemd_service_path: ".config/systemd/user/%{puma_systemd_service}",
|
|
14
15
|
puma_systemd_socket_path: ".config/systemd/user/%{puma_systemd_socket}",
|
|
15
16
|
puma_systemd_service_template_path: File.expand_path("puma/systemd/service.erb", __dir__),
|
data/lib/tomo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tomo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Brictson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Tomo is a feature-rich deployment tool that contains everything you need
|
|
14
14
|
to deploy a basic Rails app out of the box. It has an opinionated, production-tested
|
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
190
|
version: '0'
|
|
191
191
|
requirements: []
|
|
192
|
-
rubygems_version: 3.4.
|
|
192
|
+
rubygems_version: 3.4.13
|
|
193
193
|
signing_key:
|
|
194
194
|
specification_version: 4
|
|
195
195
|
summary: A friendly CLI for deploying Rails apps ✨
|