glib-web 6.9.2 → 6.9.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/glib/engine.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b14f64597fd648c2aee68f4e201e47e1cbe5b8c5e6b57da72a8334a7adeaba91
4
- data.tar.gz: 527865b5bbc3fdbb39fddc294b0007a1adc1e575a970098fd0e3a59988cc09f0
3
+ metadata.gz: be34b6a047f58554b81fa3f72658076bcdefc2e06ec5b9d34f64a48208307ad2
4
+ data.tar.gz: b9daa421b06c9d995534d88ff8a7cc11024ca59291f67ceaaae4d96c7d2e7bed
5
5
  SHA512:
6
- metadata.gz: c01a566c50f0f32e15162b3ee1e484fd4507632967176a58aeeccd45199278367ea347093358f46d6411d675fbf49810b34104939c91baedc7f4fb62b45c8731
7
- data.tar.gz: f16d7dd5d9ee7468098946e3b61a09188a3b2584ab2375b60adbb41f1b906b10d008d5bdef77b3fe3cc8559f69d9aac6f6b59195e4ff9e66d78e494e39907c0e
6
+ metadata.gz: 64e8c8220a4e59a60f6909f389dc7a1c2c0ed3e9086eb3ed4c6e8df979cdf2c87e8620dc79b75bb48eab574733a31f2787ad7bb4d281f4890e7d3feb592aab08
7
+ data.tar.gz: 8331b3ed70b4c3dd56dab59a9fcfaf9e59ef4fde9a1daf7c61a728598585685c7a0700ef4ebe9200bd9080dcd039d61d99358a4e623b3e739e47649dc83d704d
data/lib/glib/engine.rb CHANGED
@@ -37,12 +37,14 @@ module Glib
37
37
  has_many :snapshot_blob_references, dependent: :destroy
38
38
  end
39
39
  rescue ActiveRecord::NoDatabaseError, ActiveRecord::StatementInvalid,
40
- ActiveRecord::ConnectionNotEstablished
40
+ ActiveRecord::ConnectionNotEstablished => e
41
41
  # NoDatabaseError/StatementInvalid: the server exists but the database doesn't yet
42
42
  # (e.g. `rails db:create`). ConnectionNotEstablished: no server reachable at all —
43
43
  # e.g. docker build's assets:precompile, where DATABASE_HOST is unset and pg falls
44
44
  # back to the local socket. The association gets re-registered on the next
45
- # successful boot that finds the table.
45
+ # successful boot that finds the table. Warn (stderr, not the app log) so the
46
+ # breadcrumb lands in build/boot logs regardless of the configured log level.
47
+ warn "[glib-web] snapshot_blob_references association not registered (#{e.class}) — no DB reachable at boot"
46
48
  end
47
49
  end
48
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.9.2
4
+ version: 6.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''