capistrano-nextjs 1.1.1 → 1.1.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/CHANGELOG.md +13 -0
- data/lib/capistrano/nextjs/version.rb +1 -1
- data/lib/capistrano/templates/nextjs.service.capistrano.erb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 448609b15147d516c9fc54bfe73bfb2660c2e6d44e6a2f3bbc913a2aa1e0e711
|
|
4
|
+
data.tar.gz: e38c0bac18df678b513a66f0c3f591bee721bda532aa233b488d193c99e1b672
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e6269fc364578876c869e4d4f641e0497e5362c2dfdb6d5beebaa2f2135aa712acd84a7489f4eeebbedaa5806671d93bfe708d409369ee216cde5eaf321e7d0
|
|
7
|
+
data.tar.gz: 973caacd2d5364457d312e42070f9933a3e1dec9e65ca396405289825f6d9e67393ed8d21ae78aebeed800b6b51f5946d1ce58d4a9000032dd193df1ee0d453e
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.1.2] - 2026-07-23
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- systemd template now renders `Environment=` and `EnvironmentFile=` directives from `nextjs_service_unit_env_vars` and `nextjs_service_unit_env_files`. Previously these settings were defined in `systemd.rb` but ignored by the ERB template, so overriding `PORT`, `NODE_ENV` or loading env files from Capistrano had no effect on the generated service unit.
|
|
15
|
+
|
|
8
16
|
## [1.1.1] - 2026-03-03
|
|
9
17
|
|
|
10
18
|
### Added
|
|
@@ -55,3 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
55
63
|
- Added RuboCop configuration and fixed all linting issues
|
|
56
64
|
- Moved development dependencies from gemspec to Gemfile
|
|
57
65
|
- Added MFA requirement for gem publishing
|
|
66
|
+
|
|
67
|
+
[Unreleased]: https://github.com/zauberware/capistrano-nextjs/compare/v1.1.2...HEAD
|
|
68
|
+
[1.1.2]: https://github.com/zauberware/capistrano-nextjs/releases/tag/v1.1.2
|
|
69
|
+
[1.1.1]: https://github.com/zauberware/capistrano-nextjs/releases/tag/v1.1.1
|
|
70
|
+
[1.0.0]: https://github.com/zauberware/capistrano-nextjs/releases/tag/v1.0.0
|
|
@@ -8,6 +8,12 @@ After=syslog.target network.target
|
|
|
8
8
|
Type=simple
|
|
9
9
|
<%="User=#{nextjs_user}" if fetch(:nextjs_systemctl_user) == :system %>
|
|
10
10
|
WorkingDirectory=<%= current_path %>
|
|
11
|
+
<% Array(fetch(:nextjs_service_unit_env_files)).each do |file| %>
|
|
12
|
+
EnvironmentFile=<%= file %>
|
|
13
|
+
<% end %>
|
|
14
|
+
<% Array(fetch(:nextjs_service_unit_env_vars)).each do |var| %>
|
|
15
|
+
Environment=<%= var %>
|
|
16
|
+
<% end %>
|
|
11
17
|
ExecStart=/bin/bash -l -c 'pnpm start'
|
|
12
18
|
ExecReload=/bin/kill -TSTP $MAINPID
|
|
13
19
|
ExecStop=/bin/kill -SIGTERM $MAINPID
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-nextjs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Crusius
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|