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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ade686d10590812c28e8c6ea27b66eb75f2759f0d39515100984f2eec6c12f37
4
- data.tar.gz: 9eb4a7a504cab2c6f540ef813b29a81c9dc6dedc7ceff227aea6d6006c6cf996
3
+ metadata.gz: 6202b071b5584a5fc5b2db693130e5160585b784822b2b220ff3685c4272f53c
4
+ data.tar.gz: 6c35312e003c7c00153a7ddf8d5c2761f19b9c16aa72d8f74b271f25b5f1d69c
5
5
  SHA512:
6
- metadata.gz: 235cca86edf1fa5433549351e83bff44ad75370ef1bec4ade503b9472607c81150d1599b721ddd143c150c5bf2a1c9669fccdf1a7ce84eb3ef7e3b418faf4ab6
7
- data.tar.gz: 29481cc1c0e71bdc6e6c81036506733a96da12323ff931aae4d11d62959041b2b437c58f03f0b38d954523cc15c8943342943519928ae5101c9575824ff84c75
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Tomo
2
- VERSION = "1.16.0".freeze
2
+ VERSION = "1.17.0".freeze
3
3
  end
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.16.0
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-04-22 00:00:00.000000000 Z
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.10
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 ✨