otp-rails 0.2.0 → 0.2.1

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: 3d868a6f4f17b7af27c7af0cf1cceba00e124067d669861b963aaebcfb8ef25b
4
- data.tar.gz: c2306307b5a08c6e2938f75eae9ec903453de9459b6f0922468ed155e57a597c
3
+ metadata.gz: 4f67972e8849cabbbc0a9e5f3e77cbde0b8b977d02728a6eec0b5f58b99dae74
4
+ data.tar.gz: c63e94a36788699efa990cc47ea160f890a2b74352260b845a5c5e80a64c96b0
5
5
  SHA512:
6
- metadata.gz: eef3e14394aedb500715af4c4381294b1b152cb86d0a295e7be62fbd1b141ca7e2e7fd94ea9b1f71b82ac8b0bede158cca412a80d127c1581b9cdf5ee9ea2260
7
- data.tar.gz: bbb2544d92d370d5a55f57d642cd0e2145d48ca2e903a2645457f837e42bda62866c278c85ed7e8bc064b48db3c0ebadeb794963257fb1f719d9c780f53b88bd
6
+ metadata.gz: 10b3255ea24b2b4f5a9b592c74ae48de0db1fb50207066e4db8e64ee00dcc662d1ffb96450575f83dc46ed55915fa498f01aeba469af51c76e72bc899b8cbbfb
7
+ data.tar.gz: 11c4e0021b731061f2d9b4b72c510840371d29a1faa4e723bf4da96c8af9373fff7490b457cd88e9a1356e66c0db2c7848ebe7b6a4fafc4f66aed21f8fd16585
@@ -35,7 +35,15 @@ module OtpRails
35
35
  measurements: measurements, metadata: metadata,
36
36
  ts: Process.clock_gettime(Process::CLOCK_REALTIME) }
37
37
  subs = @mutex.synchronize { @subscribers.dup }
38
- subs.each { |s| s.call(event) }
38
+ subs.each do |s|
39
+ s.call(event)
40
+ rescue StandardError => e
41
+ # A subscriber must never break the bus: emit is called from the
42
+ # supervisor loop and monitor threads, and other subscribers (the
43
+ # Elixir sidecar exporter, the resilience bridge) must keep
44
+ # receiving events even when one subscriber raises (resilience#1).
45
+ warn "[otp-rails] telemetry subscriber raised: #{e.class}: #{e.message}"
46
+ end
39
47
  event
40
48
  end
41
49
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module OtpRails
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: otp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - timimsms
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-09-13 00:00:00.000000000 Z
11
+ date: 2026-09-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A slim supervisor that starts, links, health-checks, and restarts the
14
- processes of a Rails app (web, jobs, cable, cron) with OTP strategies.
13
+ description: 'RENAMED: this gem is now `odoshi` (https://rubygems.org/gems/odoshi).
14
+ otp-rails 0.2.1 is identical to 0.2.0 plus a telemetry hardening fix; all future
15
+ releases ship as odoshi. See https://github.com/shishi-odoshi/odoshi.'
15
16
  email:
16
17
  executables:
17
18
  - otp-rails
@@ -50,7 +51,9 @@ metadata:
50
51
  source_code_uri: https://github.com/shishi-odoshi/otp-rails
51
52
  changelog_uri: https://github.com/shishi-odoshi/otp-rails/blob/main/CHANGELOG.md
52
53
  bug_tracker_uri: https://github.com/shishi-odoshi/otp-rails/issues
53
- post_install_message:
54
+ post_install_message: |-
55
+ otp-rails has been renamed to `odoshi` — https://rubygems.org/gems/odoshi
56
+ otp-rails will receive no further releases. Migration table: CHANGELOG 0.3.0 in the odoshi repo.
54
57
  rdoc_options: []
55
58
  require_paths:
56
59
  - lib