hanami-webconsole 2.3.1 → 3.0.0

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: 6433aacf048bd0ad35a8a2e7486171f0e944950be78ce30e43732721305e0c05
4
+ data.tar.gz: b55ee415ccd46aec0bee0a9158367035023f35734db2ee17bca1d66a75d465bd
5
5
  SHA512:
6
- metadata.gz: 85bd0c73d14595406dcdf00077b2d77f6d0b618d09a525b42a72843ae002a0be4250f01712dd563c8d35ccd8399989c46474e0cd310d43dbb17f216959a4f470
7
- data.tar.gz: 3c9b52bc06a8428881d17dac5e1370448c3c3ff86e6a4988915377a3ada7e301a1f080c8119d1c56505c4a00d579d63a60b192326fc21408fc0f741581b724fb
6
+ metadata.gz: 746ed2fecc7a822c0964095cc4d01b5a288cde953f459f6379110c9727d9595537c35b9b703377daa5a3dd710011d5d7f7032bae50648329d3983f48886ded1b
7
+ data.tar.gz: 3592d24e98f787a5d1433d088b7330849774c08297125a6a984c8d03821c2b655a40b2bdea5234af06d99098962e4cc4656a1c5cbacf73bd0c61b58ff2dc7f26
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,135 @@ 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...HEAD
23
+
24
+ ## [3.0.0] - 2026-06-30
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]: https://github.com/hanami/hanami-webconsole/compare/v2.3.3...v3.0.0
20
32
 
21
- ## [v2.3.1] - 2025-12-18
33
+ ## [3.0.0.rc1] - 2026-06-16
34
+
35
+ ### Changed
36
+
37
+ - Update to binding_of_caller 2.0, which formally supports Ruby 4.0. Remove our internal workarounds for this. (@rvmtz in #14)
38
+ - Require Ruby 3.3 or newer.
39
+
40
+ [3.0.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.3...v3.0.0.rc1
41
+
42
+ ## [2.3.1] - 2025-12-18
22
43
 
23
44
  ### Changed
24
45
 
25
46
  - 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
47
 
27
- [v2.3.1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0...v2.3.1
48
+ [2.3.1]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0...v2.3.1
49
+
50
+ ## [2.3.0] - 2025-11-12
28
51
 
29
- ## v2.3.0 - 2025-11-12
52
+ [2.3.0]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta2...v2.3.0
30
53
 
31
- ## v2.3.0.beta2 - 2025-10-17
54
+ ## [2.3.0.beta2] - 2025-10-17
32
55
 
33
56
  ### Changed
34
57
 
35
- - Drop support for Ruby 3.1
58
+ - Drop support for Ruby 3.1.
59
+
60
+ [2.3.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta1...v2.3.0.beta2
61
+
62
+ ## [2.3.0.beta1] - 2025-10-03
63
+
64
+ [2.3.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0...v2.3.0.beta1
36
65
 
37
- ## v2.3.0.beta1 - 2025-10-03
66
+ ## [2.2.0] - 2024-11-05
38
67
 
39
- ## v2.2.0 - 2024-11-05
68
+ [2.2.0]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.rc1...v2.2.0
40
69
 
41
- ## v2.2.0.rc1 - 2024-10-29
70
+ ## [2.2.0.rc1] - 2024-10-29
42
71
 
43
- ## v2.2.0.beta2 - 2024-09-25
72
+ [2.2.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.beta2...v2.2.0.rc1
44
73
 
45
- ## v2.2.0.beta1 - 2024-07-16
74
+ ## [2.2.0.beta2] - 2024-09-25
75
+
76
+ [2.2.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0.beta1...v2.2.0.beta2
77
+
78
+ ## [2.2.0.beta1] - 2024-07-16
46
79
 
47
80
  ### Changed
48
81
 
49
- - Drop support for Ruby 3.0
82
+ - Drop support for Ruby 3.0.
83
+
84
+ [2.2.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0...v2.2.0.beta1
85
+
86
+ ## [2.1.0] - 2024-02-27
50
87
 
51
- ## v2.1.0 - 2024-02-27
88
+ [2.1.0]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc3...v2.1.0
52
89
 
53
- ## v2.1.0.rc3 - 2024-02-16
90
+ ## [2.1.0.rc3] - 2024-02-16
54
91
 
55
- ## v2.1.0.rc2 - 2023-11-08
92
+ [2.1.0.rc3]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc2...v2.1.0.rc3
56
93
 
57
- ## v2.1.0.rc1 - 2023-11-02
94
+ ## [2.1.0.rc2] - 2023-11-08
58
95
 
59
- ## v2.1.0.beta2 - 2023-10-04
96
+ [2.1.0.rc2]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc1...v2.1.0.rc2
97
+
98
+ ## [2.1.0.rc1] - 2023-11-02
99
+
100
+ [2.1.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.beta2...v2.1.0.rc1
101
+
102
+ ## [2.1.0.beta2] - 2023-10-04
60
103
 
61
104
  ### Fixed
62
105
 
63
- - [Tim Riley] Set correct error codes for Hanami app exceptions
106
+ - Set correct error codes for Hanami app exceptions. (@timriley)
107
+
108
+ [2.1.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.beta1...v2.1.0.beta2
64
109
 
65
- ## v2.1.0.beta1 - 2023-06-29
110
+ ## [2.1.0.beta1] - 2023-06-29
66
111
 
67
112
  ### Added
68
113
 
69
- - [Tim Riley] Introduce `Hanami::Webconsole::Middleware`, a Rack middleware automatically used in
70
- the Hanami app when hanami-webconsole is bundled (#6)
114
+ - Introduce `Hanami::Webconsole::Middleware`, a Rack middleware automatically used in the Hanami app when hanami-webconsole is bundled. (@timriley in #6)
71
115
 
72
116
  ### Changed
73
117
 
74
- - [Tim Riley] Remove the Hanami v1 plugin (#6)
118
+ - Remove the Hanami v1 plugin. (@timriley in #6)
75
119
 
76
- ## v0.2.0 - 2019-01-18
120
+ [2.1.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v0.2.0...v2.1.0.beta1
121
+
122
+ ## [0.2.0] - 2019-01-18
77
123
 
78
124
  ### Added
79
125
 
80
- - [Luca Guidi] Official support for Ruby 2.6.0
81
- - [Luca Guidi] Support for `bundler` 2.0+
126
+ - Official support for Ruby 2.6.0. (@jodosha)
127
+ - Support for `bundler` 2.0+. (@jodosha)
128
+
129
+ [0.2.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0...v0.2.0
130
+
131
+ ## [0.1.0] - 2018-04-11
132
+
133
+ [0.1.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc2...v0.1.0
82
134
 
83
- ## v0.1.0 - 2018-04-11
135
+ ## [0.1.0.rc2] - 2018-04-06
84
136
 
85
- ## v0.1.0.rc2 - 2018-04-06
137
+ [0.1.0.rc2]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc1...v0.1.0.rc2
86
138
 
87
- ## v0.1.0.rc1 - 2018-03-30
139
+ ## [0.1.0.rc1] - 2018-03-30
88
140
 
89
- ## v0.1.0.beta2 - 2018-03-23
141
+ [0.1.0.rc1]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.beta2...v0.1.0.rc1
90
142
 
91
- ## v0.1.0.beta1 - 2018-02-28
143
+ ## [0.1.0.beta2] - 2018-03-23
144
+
145
+ [0.1.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.beta1...v0.1.0.beta2
146
+
147
+ ## [0.1.0.beta1] - 2018-02-28
92
148
 
93
149
  ### Added
94
150
 
95
- - [Luca Guidi & Anton Davydov] Package as Hanami plugin
151
+ - Package as Hanami plugin. (@jodosha & Anton Davydov)
152
+
153
+ [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"
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
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.