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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22ee2925f3caeb5d40843bc2bca9ed369e8fa588e34cbb30ecf9a1ebc1eca9cc
4
- data.tar.gz: 3c7bb94eef93b4d352eb45a94667c603b7108f149e9b443565a522131df1d997
3
+ metadata.gz: 448609b15147d516c9fc54bfe73bfb2660c2e6d44e6a2f3bbc913a2aa1e0e711
4
+ data.tar.gz: e38c0bac18df678b513a66f0c3f591bee721bda532aa233b488d193c99e1b672
5
5
  SHA512:
6
- metadata.gz: a6368a9500adebe293b1458c3b2460cda83b2d4f6ed2ea09a43fe1a054ed9f60bbbcdb5f56fea1f44ad2d7fa8ea786fb51901acbcb78d984a486d2e3ce7f04d9
7
- data.tar.gz: 7337e5b37dc0c7b278790ac840ef2185758c7bfd5db02722648eb0b3e781837895e1564ce23a9cec073914d0730d83f657d543b8c0b890ca23d8ee0165cd45c2
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module Nextjs
5
- VERSION = '1.1.1'
5
+ VERSION = '1.1.2'
6
6
  end
7
7
  end
@@ -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.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-03-03 00:00:00.000000000 Z
11
+ date: 2026-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano