hanami-webconsole 2.3.1 → 3.0.0.rc1

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: bd3c903aa25da2632b88c5459a241700799a3ee81ee2d17a576bbbe67fdf9e7a
4
- data.tar.gz: df091415c3bee1b9fd342f619c652461e50fe01e5c53488e92098df418192a7b
3
+ metadata.gz: badeba2fbbc27ce1cf69589fc9856a2bea2de5ddaff1b68826afece03c943dc8
4
+ data.tar.gz: 24819b19b64d81abbb17e550a4b8d2f6f04e0fa25ccfd507f48af1591b0cce95
5
5
  SHA512:
6
- metadata.gz: 85bd0c73d14595406dcdf00077b2d77f6d0b618d09a525b42a72843ae002a0be4250f01712dd563c8d35ccd8399989c46474e0cd310d43dbb17f216959a4f470
7
- data.tar.gz: 3c9b52bc06a8428881d17dac5e1370448c3c3ff86e6a4988915377a3ada7e301a1f080c8119d1c56505c4a00d579d63a60b192326fc21408fc0f741581b724fb
6
+ metadata.gz: 65c505cadddd927c792bda39b44af1bf2b21ba6e114d0ea561c0d7f50cf84727ec3e01e269e460dfcefef1177050ed8797f303e5f1862819379b34509ac0ad17
7
+ data.tar.gz: 3cc64e81eb58a52b225c09635b40bbfdd50fbdc64d1e31a6c52e80133dc92065c20af73447b2c06fc676a29f1458d5db77b0b0536b8c445b80af615e20cd4b49
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
- # Hanami::Webconsole
1
+ # Changelog
2
2
 
3
- Hanami development web console.
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Break Versioning](https://www.taoensso.com/break-versioning).
4
7
 
5
8
  ## [Unreleased]
6
9
 
@@ -16,80 +19,126 @@ Hanami development web console.
16
19
 
17
20
  ### Security
18
21
 
19
- [Unreleased]: https://github.com/hanami/hanami-webconsole/compare/v2.3.1...main
22
+ [Unreleased]: https://github.com/hanami/hanami-webconsole/compare/v3.0.0.rc1...HEAD
20
23
 
21
- ## [v2.3.1] - 2025-12-18
24
+ ## [3.0.0.rc1] - 2026-06-16
25
+
26
+ ### Changed
27
+
28
+ - Update to binding_of_caller 2.0, which formally supports Ruby 4.0. Remove our internal workarounds for this. (@rvmtz in #14)
29
+ - Require Ruby 3.3 or newer.
30
+
31
+ [3.0.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.3...v3.0.0.rc1
32
+
33
+ ## [2.3.1] - 2025-12-18
22
34
 
23
35
  ### Changed
24
36
 
25
37
  - 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
38
 
27
- [v2.3.1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0...v2.3.1
39
+ [2.3.1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0...v2.3.1
40
+
41
+ ## [2.3.0] - 2025-11-12
28
42
 
29
- ## v2.3.0 - 2025-11-12
43
+ [2.3.0]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta2...v2.3.0
30
44
 
31
- ## v2.3.0.beta2 - 2025-10-17
45
+ ## [2.3.0.beta2] - 2025-10-17
32
46
 
33
47
  ### Changed
34
48
 
35
- - Drop support for Ruby 3.1
49
+ - Drop support for Ruby 3.1.
36
50
 
37
- ## v2.3.0.beta1 - 2025-10-03
51
+ [2.3.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta1...v2.3.0.beta2
38
52
 
39
- ## v2.2.0 - 2024-11-05
53
+ ## [2.3.0.beta1] - 2025-10-03
40
54
 
41
- ## v2.2.0.rc1 - 2024-10-29
55
+ [2.3.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0...v2.3.0.beta1
42
56
 
43
- ## v2.2.0.beta2 - 2024-09-25
57
+ ## [2.2.0] - 2024-11-05
44
58
 
45
- ## v2.2.0.beta1 - 2024-07-16
59
+ [2.2.0]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.rc1...v2.2.0
60
+
61
+ ## [2.2.0.rc1] - 2024-10-29
62
+
63
+ [2.2.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.beta2...v2.2.0.rc1
64
+
65
+ ## [2.2.0.beta2] - 2024-09-25
66
+
67
+ [2.2.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.beta1...v2.2.0.beta2
68
+
69
+ ## [2.2.0.beta1] - 2024-07-16
46
70
 
47
71
  ### Changed
48
72
 
49
- - Drop support for Ruby 3.0
73
+ - Drop support for Ruby 3.0.
74
+
75
+ [2.2.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0...v2.2.0.beta1
50
76
 
51
- ## v2.1.0 - 2024-02-27
77
+ ## [2.1.0] - 2024-02-27
52
78
 
53
- ## v2.1.0.rc3 - 2024-02-16
79
+ [2.1.0]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc3...v2.1.0
54
80
 
55
- ## v2.1.0.rc2 - 2023-11-08
81
+ ## [2.1.0.rc3] - 2024-02-16
56
82
 
57
- ## v2.1.0.rc1 - 2023-11-02
83
+ [2.1.0.rc3]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc2...v2.1.0.rc3
58
84
 
59
- ## v2.1.0.beta2 - 2023-10-04
85
+ ## [2.1.0.rc2] - 2023-11-08
86
+
87
+ [2.1.0.rc2]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc1...v2.1.0.rc2
88
+
89
+ ## [2.1.0.rc1] - 2023-11-02
90
+
91
+ [2.1.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.beta2...v2.1.0.rc1
92
+
93
+ ## [2.1.0.beta2] - 2023-10-04
60
94
 
61
95
  ### Fixed
62
96
 
63
- - [Tim Riley] Set correct error codes for Hanami app exceptions
97
+ - Set correct error codes for Hanami app exceptions. (@timriley)
98
+
99
+ [2.1.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.beta1...v2.1.0.beta2
64
100
 
65
- ## v2.1.0.beta1 - 2023-06-29
101
+ ## [2.1.0.beta1] - 2023-06-29
66
102
 
67
103
  ### Added
68
104
 
69
- - [Tim Riley] Introduce `Hanami::Webconsole::Middleware`, a Rack middleware automatically used in
70
- the Hanami app when hanami-webconsole is bundled (#6)
105
+ - Introduce `Hanami::Webconsole::Middleware`, a Rack middleware automatically used in the Hanami app when hanami-webconsole is bundled. (@timriley in #6)
71
106
 
72
107
  ### Changed
73
108
 
74
- - [Tim Riley] Remove the Hanami v1 plugin (#6)
109
+ - Remove the Hanami v1 plugin. (@timriley in #6)
110
+
111
+ [2.1.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v0.2.0...v2.1.0.beta1
75
112
 
76
- ## v0.2.0 - 2019-01-18
113
+ ## [0.2.0] - 2019-01-18
77
114
 
78
115
  ### Added
79
116
 
80
- - [Luca Guidi] Official support for Ruby 2.6.0
81
- - [Luca Guidi] Support for `bundler` 2.0+
117
+ - Official support for Ruby 2.6.0. (@jodosha)
118
+ - Support for `bundler` 2.0+. (@jodosha)
82
119
 
83
- ## v0.1.0 - 2018-04-11
120
+ [0.2.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0...v0.2.0
84
121
 
85
- ## v0.1.0.rc2 - 2018-04-06
122
+ ## [0.1.0] - 2018-04-11
86
123
 
87
- ## v0.1.0.rc1 - 2018-03-30
124
+ [0.1.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc2...v0.1.0
88
125
 
89
- ## v0.1.0.beta2 - 2018-03-23
126
+ ## [0.1.0.rc2] - 2018-04-06
90
127
 
91
- ## v0.1.0.beta1 - 2018-02-28
128
+ [0.1.0.rc2]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc1...v0.1.0.rc2
129
+
130
+ ## [0.1.0.rc1] - 2018-03-30
131
+
132
+ [0.1.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.beta2...v0.1.0.rc1
133
+
134
+ ## [0.1.0.beta2] - 2018-03-23
135
+
136
+ [0.1.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.beta1...v0.1.0.beta2
137
+
138
+ ## [0.1.0.beta1] - 2018-02-28
92
139
 
93
140
  ### Added
94
141
 
95
- - [Luca Guidi & Anton Davydov] Package as Hanami plugin
142
+ - Package as Hanami plugin. (@jodosha & Anton Davydov)
143
+
144
+ [0.1.0.beta1]: https://github.com/hanami/hanami-webconsole/releases/tag/v0.1.0.beta1
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-2026 Hanakai team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,11 +1,14 @@
1
- # Hanami::Webconsole
1
+ <!--- This file is synced from hanakai-rb/repo-sync -->
2
2
 
3
- [Hanami](http://hanamirb.org) development web console.
3
+ [actions]: https://github.com/hanami/hanami-webconsole/actions
4
+ [chat]: https://discord.gg/naQApPAsZB
5
+ [forum]: https://discourse.hanamirb.org
6
+ [rubygem]: https://rubygems.org/gems/hanami-webconsole
4
7
 
5
- ## Status
8
+ # Hanami Webconsole [![Gem Version](https://badge.fury.io/rb/hanami-webconsole.svg)][rubygem] [![CI Status](https://github.com/hanami/hanami-webconsole/workflows/CI/badge.svg)][actions]
6
9
 
7
- [![Gem Version](https://badge.fury.io/rb/hanami-webconsole.svg)](https://badge.fury.io/rb/hanami-webconsole)
8
- [![CI](https://github.com/hanami/webconsole/actions/workflows/ci.yml/badge.svg)](https://github.com/hanami/webconsole/actions?query=workflow%3Aci+branch%3Amain)
10
+ [![Forum](https://img.shields.io/badge/Forum-dc360f?logo=discourse&logoColor=white)][forum]
11
+ [![Chat](https://img.shields.io/badge/Chat-717cf8?logo=discord&logoColor=white)][chat]
9
12
 
10
13
  ## Installation
11
14
 
@@ -55,6 +58,13 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/hanami
55
58
 
56
59
  This gem is based on the great work of [`better_errors`](https://rubygems.org/gems/better_errors) and [`binding_of_caller`](https://rubygems.org/gems/binding_of_caller) gems. Thank you!
57
60
 
58
- ## Copyright
61
+ ## Links
62
+
63
+ - [User documentation](https://hanamirb.org)
64
+ - [API documentation](http://rubydoc.info/gems/hanami-webconsole)
65
+
66
+
67
+ ## License
68
+
69
+ See `LICENSE` file.
59
70
 
60
- Copyright © 2014–2024 Hanami Team – Released under MIT License
@@ -1,25 +1,36 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
3
+ # This file is synced from hanakai-rb/repo-sync. To update it, edit repo-sync.yml.
4
+
5
+ lib = File.expand_path("lib", __dir__)
4
6
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
7
  require "hanami/webconsole/version"
6
8
 
7
9
  Gem::Specification.new do |spec|
8
10
  spec.name = "hanami-webconsole"
9
- spec.version = Hanami::Webconsole::VERSION
10
11
  spec.authors = ["Hanakai team"]
11
12
  spec.email = ["info@hanakai.org"]
12
- spec.summary = "Hanami webconsole"
13
- spec.description = "Hanami webconsole for development"
14
- spec.homepage = "http://hanamirb.org"
15
13
  spec.license = "MIT"
16
- spec.required_ruby_version = ">= 3.2"
14
+ spec.version = Hanami::Webconsole::VERSION.dup
17
15
 
18
- spec.files = `git ls-files -- lib/* CHANGELOG.md LICENSE.md README.md hanami-webconsole.gemspec`.split($INPUT_RECORD_SEPARATOR)
16
+ spec.summary = "Hanami webconsole for development"
17
+ spec.description = spec.summary
18
+ spec.homepage = "https://hanamirb.org"
19
+ spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "hanami-webconsole.gemspec", "lib/**/*"]
20
+ spec.bindir = "exe"
21
+ spec.executables = Dir["exe/*"].map { |f| File.basename(f) }
19
22
  spec.require_paths = ["lib"]
20
23
 
21
- spec.metadata["allowed_push_host"] = "https://rubygems.org"
24
+ spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE"]
25
+
26
+ spec.metadata["changelog_uri"] = "https://github.com/hanami/hanami-webconsole/blob/main/CHANGELOG.md"
27
+ spec.metadata["source_code_uri"] = "https://github.com/hanami/hanami-webconsole"
28
+ spec.metadata["bug_tracker_uri"] = "https://github.com/hanami/hanami-webconsole/issues"
29
+ spec.metadata["funding_uri"] = "https://github.com/sponsors/hanami"
22
30
 
23
- spec.add_dependency "better_errors", "~> 2.10", ">= 2.10.1"
24
- spec.add_dependency "binding_of_caller", "~> 1.0"
31
+ spec.required_ruby_version = ">= 3.3"
32
+
33
+ spec.add_runtime_dependency "better_errors", "~> 2.10", ">= 2.10.1"
34
+ spec.add_runtime_dependency "binding_of_caller", "~> 2.0"
25
35
  end
36
+
@@ -3,6 +3,6 @@
3
3
  module Hanami
4
4
  module Webconsole
5
5
  # @since 0.1.0
6
- VERSION = "2.3.1"
6
+ VERSION = "3.0.0.rc1"
7
7
  end
8
8
  end
@@ -1,21 +1,5 @@
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
-
19
3
  require "better_errors"
20
4
 
21
5
  module Hanami
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-webconsole
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 3.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanakai team
8
- bindir: bin
8
+ bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
@@ -35,33 +35,39 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '1.0'
38
+ version: '2.0'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '1.0'
45
+ version: '2.0'
46
46
  description: Hanami webconsole for development
47
47
  email:
48
48
  - info@hanakai.org
49
49
  executables: []
50
50
  extensions: []
51
- extra_rdoc_files: []
51
+ extra_rdoc_files:
52
+ - CHANGELOG.md
53
+ - LICENSE
54
+ - README.md
52
55
  files:
53
56
  - CHANGELOG.md
54
- - LICENSE.md
57
+ - LICENSE
55
58
  - README.md
56
59
  - hanami-webconsole.gemspec
57
60
  - lib/hanami/webconsole.rb
58
61
  - lib/hanami/webconsole/middleware.rb
59
62
  - lib/hanami/webconsole/version.rb
60
- homepage: http://hanamirb.org
63
+ homepage: https://hanamirb.org
61
64
  licenses:
62
65
  - MIT
63
66
  metadata:
64
- allowed_push_host: https://rubygems.org
67
+ changelog_uri: https://github.com/hanami/hanami-webconsole/blob/main/CHANGELOG.md
68
+ source_code_uri: https://github.com/hanami/hanami-webconsole
69
+ bug_tracker_uri: https://github.com/hanami/hanami-webconsole/issues
70
+ funding_uri: https://github.com/sponsors/hanami
65
71
  rdoc_options: []
66
72
  require_paths:
67
73
  - lib
@@ -69,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
75
  requirements:
70
76
  - - ">="
71
77
  - !ruby/object:Gem::Version
72
- version: '3.2'
78
+ version: '3.3'
73
79
  required_rubygems_version: !ruby/object:Gem::Requirement
74
80
  requirements:
75
81
  - - ">="
@@ -78,5 +84,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
84
  requirements: []
79
85
  rubygems_version: 3.6.9
80
86
  specification_version: 4
81
- summary: Hanami webconsole
87
+ summary: Hanami webconsole for development
82
88
  test_files: []
data/LICENSE.md DELETED
@@ -1,22 +0,0 @@
1
- Copyright © 2014 Hanami Team
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.