iprog_worker_heartbeat 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bce5f5f2f61b9b7084b12b24be1d5c12ec14bd2b5630e18ac56fd675e11e3f7
|
|
4
|
+
data.tar.gz: 60a9654085fa0ab4a26837dee13076c0051b292ebc85477643c73714a8f35a53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a22cdf8d0431e3e26f14a050c78eadae25d23d4f28bebbcb405658185316cff3af06c34b1d61b3c2c04dcac89aedbf94913ac5ce6dce963b9c63eb117f58ffe
|
|
7
|
+
data.tar.gz: 8c12a870c63abdfaa0bf7a42a23ad1f9b38dc311d547bf5f8d33903937c059dd9e2c0cde834f1f93b4f0dec4817a098a831965883699754a4b4b7952d37414cb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.2] - 2026-03-07
|
|
4
|
+
- Restrict generated initializer to only the required `auth_token` configuration.
|
|
5
|
+
- Remove optional config lines from generated initializer template and README example.
|
|
6
|
+
|
|
3
7
|
## [0.1.1] - 2026-03-07
|
|
4
8
|
- Improve generated initializer: prefer `ENV` then Rails credentials for `auth_token` with local manual fallback.
|
|
5
9
|
- Keep only `auth_token` and `callback_url` active by default; comment optional settings.
|
data/README.md
CHANGED
|
@@ -34,14 +34,6 @@ IprogWorkerHeartbeat.configure do |config|
|
|
|
34
34
|
config.auth_token = ENV["IPROG_WORKER_HEARTBEAT_AUTH_TOKEN"].presence ||
|
|
35
35
|
Rails.application.credentials.dig(:iprog_worker_heartbeat, :auth_token).presence ||
|
|
36
36
|
"local-heartbeat-token"
|
|
37
|
-
config.callback_url = "https://www.iprogtech.com/worker-heartbeat"
|
|
38
|
-
# config.failure_email_recipients = ["admin@iprogtech.com"]
|
|
39
|
-
# config.mailer_from = "IPROG Worker Heartbeat <admin@iprogtech.com>"
|
|
40
|
-
# config.mail_subject_prefix = "[IPROGSMS Worker Heartbeat]"
|
|
41
|
-
# config.notify_on_auth_failure = true
|
|
42
|
-
# config.callback_delay_seconds = 300
|
|
43
|
-
# config.max_retries = 3
|
|
44
|
-
# config.retry_wait_seconds = 60
|
|
45
37
|
end
|
|
46
38
|
```
|
|
47
39
|
|
data/lib/generators/iprog_worker_heartbeat/install/templates/iprog_worker_heartbeat_initializer.rb
CHANGED
|
@@ -4,12 +4,4 @@ IprogWorkerHeartbeat.configure do |config|
|
|
|
4
4
|
config.auth_token = ENV["IPROG_WORKER_HEARTBEAT_AUTH_TOKEN"].presence ||
|
|
5
5
|
Rails.application.credentials.dig(:iprog_worker_heartbeat, :auth_token).presence ||
|
|
6
6
|
"local-heartbeat-token"
|
|
7
|
-
config.callback_url = "https://www.iprogtech.com/worker-heartbeat"
|
|
8
|
-
# config.failure_email_recipients = ["admin@iprogtech.com"]
|
|
9
|
-
# config.mailer_from = "IPROG Worker Heartbeat <admin@iprogtech.com>"
|
|
10
|
-
# config.mail_subject_prefix = "[IPROGSMS Worker Heartbeat]"
|
|
11
|
-
# config.notify_on_auth_failure = true
|
|
12
|
-
# config.callback_delay_seconds = 300
|
|
13
|
-
# config.max_retries = 3
|
|
14
|
-
# config.retry_wait_seconds = 60
|
|
15
7
|
end
|