hanami-webconsole 2.3.0 → 2.3.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: '08f05dcad9badde93c31408a657f5d85fe4374b521bd6e5c6c39bc27be36c37e'
4
- data.tar.gz: f49694cfa7d72576aec7a5c5ddebb3de2b91269e5870087a6ece52acf02c7f7d
3
+ metadata.gz: bd3c903aa25da2632b88c5459a241700799a3ee81ee2d17a576bbbe67fdf9e7a
4
+ data.tar.gz: df091415c3bee1b9fd342f619c652461e50fe01e5c53488e92098df418192a7b
5
5
  SHA512:
6
- metadata.gz: 1c61264c9b345083d8c6beeacbaf5542686f2157bc7330053bcf82861c8a3cbe196053a1d59f4ddc431b78e06eacdff3c44b152f3ab4020a86cf2f166f597e8b
7
- data.tar.gz: 403e92b613d30fc11feca2900da542909151108b3df16939c108380ebf57c9f2f5f3f74145911a9c09c5a41ece4f6dc560dc3b2147fb9fce1bf9a66d92c72a41
6
+ metadata.gz: 85bd0c73d14595406dcdf00077b2d77f6d0b618d09a525b42a72843ae002a0be4250f01712dd563c8d35ccd8399989c46474e0cd310d43dbb17f216959a4f470
7
+ data.tar.gz: 3c9b52bc06a8428881d17dac5e1370448c3c3ff86e6a4988915377a3ada7e301a1f080c8119d1c56505c4a00d579d63a60b192326fc21408fc0f741581b724fb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  Hanami development web console.
4
4
 
5
+ ## [Unreleased]
6
+
7
+ ### Added
8
+
9
+ ### Changed
10
+
11
+ ### Deprecated
12
+
13
+ ### Removed
14
+
15
+ ### Fixed
16
+
17
+ ### Security
18
+
19
+ [Unreleased]: https://github.com/hanami/hanami-webconsole/compare/v2.3.1...main
20
+
21
+ ## [v2.3.1] - 2025-12-18
22
+
23
+ ### Changed
24
+
25
+ - Bypass binding_of_caller's Ruby version check and load its functionality directly. This ensures it continues to work when running under Ruby 4.0. (@timriley in #12)
26
+
27
+ [v2.3.1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0...v2.3.1
28
+
5
29
  ## v2.3.0 - 2025-11-12
6
30
 
7
31
  ## v2.3.0.beta2 - 2025-10-17
@@ -3,6 +3,6 @@
3
3
  module Hanami
4
4
  module Webconsole
5
5
  # @since 0.1.0
6
- VERSION = "2.3.0"
6
+ VERSION = "2.3.1"
7
7
  end
8
8
  end
@@ -1,7 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ if RUBY_ENGINE == "ruby"
4
+ # Skip binding_of_caller's version check and force it to load on Ruby 4.0.
5
+ #
6
+ # Remove this shim once https://github.com/banister/binding_of_caller/pull/90 is merged and a new
7
+ # release has been made.
8
+ require "binding_of_caller/version"
9
+ require "binding_of_caller/mri"
10
+
11
+ # Prevent a direct require to "binding_of_caller", which is no longer needed by this point, and
12
+ # which prints a misleading warning about it not supporting Ruby 4.0, which we've fixed ourselves
13
+ # via the above.
14
+ $LOADED_FEATURES << "binding_of_caller.rb"
15
+ else
16
+ require "binding_of_caller"
17
+ end
18
+
3
19
  require "better_errors"
4
- require "binding_of_caller"
5
20
 
6
21
  module Hanami
7
22
  # Hanami web console for development
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-webconsole
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanakai team