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 +4 -4
- data/CHANGELOG.md +24 -0
- data/lib/hanami/webconsole/version.rb +1 -1
- data/lib/hanami/webconsole.rb +16 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd3c903aa25da2632b88c5459a241700799a3ee81ee2d17a576bbbe67fdf9e7a
|
|
4
|
+
data.tar.gz: df091415c3bee1b9fd342f619c652461e50fe01e5c53488e92098df418192a7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/hanami/webconsole.rb
CHANGED
|
@@ -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
|