capistrano-solid_queue 0.1.1 → 0.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: ab57e5cd0d1bf9a277206e00443219bc7b1ea33f227a8b32f3bbf3898b8c25a0
4
- data.tar.gz: 9cc716786055b8448642a69988a16ef0529269248ac9168ac041fd188d7b439f
3
+ metadata.gz: c04a8eebc3b4b5598a9eac1e362a1196778b43229f42d1f7734492794fd57207
4
+ data.tar.gz: b9dabd1aee6c8cee17eff11aab13a3f2324906bd394ea74cb406d93aca41d32a
5
5
  SHA512:
6
- metadata.gz: fe9e90b7beb2ca985e294174f4f50f6421683c42e8fc467f1aa49b90e10b2d025599b6256c5354a8e8218c0073e154b395b3391cc778a6a5405331dbb7ef229f
7
- data.tar.gz: 90e09e0115e8cf76d4647d0f303ad68251f0f571c7d15042c4fec9ebe2327f5d31482009e647eecea12b82170146cffcc5a1c78baf323f58403d3ace2a7343f3
6
+ metadata.gz: 9fefa8f089252a38a0612cd7579a82245b17ae739ef3c7c358041945e68e661f219e7b939e5854e5145727da5f6afd5d6a5b4cde18f179073383f3eea2b4e660
7
+ data.tar.gz: 48b8ab02509a1e15855f0c1017d5adf2ebb2b68cdab91c213058bfa96a80f519e027d3505e271a5ee7263c47a2dca6b932736bae6f74772e5813477e3f0f6c32
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2025-06-12
4
+
5
+ - Quiet task only runs on :solid_queue_role [#3](https://github.com/codeur/capistrano-solid_queue/pull/5) by [@bashcoder](https://github.com/bashcoder)
6
+
7
+ ## [0.1.1] - 2025-03-27
8
+
9
+ - Fix system user [#2](https://github.com/codeur/capistrano-solid_queue/pull/2) by [@lubosch](https://github.com/lubosch)
10
+
3
11
  ## [0.1.0] - 2024-04-22
4
12
 
5
13
  - Initial release
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module SolidQueue
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -37,7 +37,7 @@ module Capistrano
37
37
  end
38
38
 
39
39
  def systemd_command(*args)
40
- command = ['/bin/systemctl']
40
+ command = ["/bin/systemctl"]
41
41
 
42
42
  unless fetch(:solid_queue_systemctl_user) == :system
43
43
  command << "--user"
@@ -60,7 +60,7 @@ namespace :solid_queue do # rubocop:disable Metrics
60
60
 
61
61
  desc "Quiet solid_queue (start graceful termination)"
62
62
  task :quiet do
63
- on roles(:app) do
63
+ on roles(fetch(:solid_queue_role)) do
64
64
  plugin.execute_systemd("kill", "-s", "SIGTERM", fetch(:solid_queue_service_unit_name), raise_on_non_zero_exit: false)
65
65
  end
66
66
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-solid_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice TEXIER
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-27 00:00:00.000000000 Z
11
+ date: 2025-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano