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: 535a2156f09c87a51fa7f4492795bfa1e3844b847d53972f72920e0e851395c9
4
- data.tar.gz: a2124c7edaa42932a50a7cd74421aa80dd1b7d07c7bc18bd09fe80d14d2b9a52
3
+ metadata.gz: 3bce5f5f2f61b9b7084b12b24be1d5c12ec14bd2b5630e18ac56fd675e11e3f7
4
+ data.tar.gz: 60a9654085fa0ab4a26837dee13076c0051b292ebc85477643c73714a8f35a53
5
5
  SHA512:
6
- metadata.gz: 54fddb98ba7ce36ecdd97629f941b48469ad314dbe204541b68eb3e164832c811802a63f168cf6fb41a400f8e6d3bf45f210709f7b04b14c1bdefc702614adde
7
- data.tar.gz: 1c5d11906a0e6cadc575f5dfb65e55b2146a3e1e6bee067325d455d1c7b20cd39ccc3d2d82c552196cff95689e5059caf04b474f435ded5e0c488e1dbb5be086
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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IprogWorkerHeartbeat
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iprog_worker_heartbeat
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
  - Jayson Presto