hanami-webconsole 2.3.0 → 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: '08f05dcad9badde93c31408a657f5d85fe4374b521bd6e5c6c39bc27be36c37e'
4
- data.tar.gz: f49694cfa7d72576aec7a5c5ddebb3de2b91269e5870087a6ece52acf02c7f7d
3
+ metadata.gz: badeba2fbbc27ce1cf69589fc9856a2bea2de5ddaff1b68826afece03c943dc8
4
+ data.tar.gz: 24819b19b64d81abbb17e550a4b8d2f6f04e0fa25ccfd507f48af1591b0cce95
5
5
  SHA512:
6
- metadata.gz: 1c61264c9b345083d8c6beeacbaf5542686f2157bc7330053bcf82861c8a3cbe196053a1d59f4ddc431b78e06eacdff3c44b152f3ab4020a86cf2f166f597e8b
7
- data.tar.gz: 403e92b613d30fc11feca2900da542909151108b3df16939c108380ebf57c9f2f5f3f74145911a9c09c5a41ece4f6dc560dc3b2147fb9fce1bf9a66d92c72a41
6
+ metadata.gz: 65c505cadddd927c792bda39b44af1bf2b21ba6e114d0ea561c0d7f50cf84727ec3e01e269e460dfcefef1177050ed8797f303e5f1862819379b34509ac0ad17
7
+ data.tar.gz: 3cc64e81eb58a52b225c09635b40bbfdd50fbdc64d1e31a6c52e80133dc92065c20af73447b2c06fc676a29f1458d5db77b0b0536b8c445b80af615e20cd4b49
data/CHANGELOG.md CHANGED
@@ -1,71 +1,144 @@
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
4
 
5
- ## v2.3.0 - 2025-11-12
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).
6
7
 
7
- ## v2.3.0.beta2 - 2025-10-17
8
+ ## [Unreleased]
9
+
10
+ ### Added
8
11
 
9
12
  ### Changed
10
13
 
11
- - Drop support for Ruby 3.1
14
+ ### Deprecated
12
15
 
13
- ## v2.3.0.beta1 - 2025-10-03
16
+ ### Removed
14
17
 
15
- ## v2.2.0 - 2024-11-05
18
+ ### Fixed
16
19
 
17
- ## v2.2.0.rc1 - 2024-10-29
20
+ ### Security
18
21
 
19
- ## v2.2.0.beta2 - 2024-09-25
22
+ [Unreleased]: https://github.com/hanami/hanami-webconsole/compare/v3.0.0.rc1...HEAD
20
23
 
21
- ## v2.2.0.beta1 - 2024-07-16
24
+ ## [3.0.0.rc1] - 2026-06-16
22
25
 
23
26
  ### Changed
24
27
 
25
- - Drop support for Ruby 3.0
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.
26
30
 
27
- ## v2.1.0 - 2024-02-27
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
34
+
35
+ ### Changed
28
36
 
29
- ## v2.1.0.rc3 - 2024-02-16
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)
30
38
 
31
- ## v2.1.0.rc2 - 2023-11-08
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
42
+
43
+ [2.3.0]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta2...v2.3.0
44
+
45
+ ## [2.3.0.beta2] - 2025-10-17
46
+
47
+ ### Changed
32
48
 
33
- ## v2.1.0.rc1 - 2023-11-02
49
+ - Drop support for Ruby 3.1.
34
50
 
35
- ## v2.1.0.beta2 - 2023-10-04
51
+ [2.3.0.beta2]: https://github.com/hanami/hanami-webconsole/compare/v2.3.0.beta1...v2.3.0.beta2
52
+
53
+ ## [2.3.0.beta1] - 2025-10-03
54
+
55
+ [2.3.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v2.2.0...v2.3.0.beta1
56
+
57
+ ## [2.2.0] - 2024-11-05
58
+
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
70
+
71
+ ### Changed
72
+
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
76
+
77
+ ## [2.1.0] - 2024-02-27
78
+
79
+ [2.1.0]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc3...v2.1.0
80
+
81
+ ## [2.1.0.rc3] - 2024-02-16
82
+
83
+ [2.1.0.rc3]: https://github.com/hanami/hanami-webconsole/compare/v2.1.0.rc2...v2.1.0.rc3
84
+
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
36
94
 
37
95
  ### Fixed
38
96
 
39
- - [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
40
100
 
41
- ## v2.1.0.beta1 - 2023-06-29
101
+ ## [2.1.0.beta1] - 2023-06-29
42
102
 
43
103
  ### Added
44
104
 
45
- - [Tim Riley] Introduce `Hanami::Webconsole::Middleware`, a Rack middleware automatically used in
46
- 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)
47
106
 
48
107
  ### Changed
49
108
 
50
- - [Tim Riley] Remove the Hanami v1 plugin (#6)
109
+ - Remove the Hanami v1 plugin. (@timriley in #6)
51
110
 
52
- ## v0.2.0 - 2019-01-18
111
+ [2.1.0.beta1]: https://github.com/hanami/hanami-webconsole/compare/v0.2.0...v2.1.0.beta1
112
+
113
+ ## [0.2.0] - 2019-01-18
53
114
 
54
115
  ### Added
55
116
 
56
- - [Luca Guidi] Official support for Ruby 2.6.0
57
- - [Luca Guidi] Support for `bundler` 2.0+
117
+ - Official support for Ruby 2.6.0. (@jodosha)
118
+ - Support for `bundler` 2.0+. (@jodosha)
119
+
120
+ [0.2.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0...v0.2.0
58
121
 
59
- ## v0.1.0 - 2018-04-11
122
+ ## [0.1.0] - 2018-04-11
60
123
 
61
- ## v0.1.0.rc2 - 2018-04-06
124
+ [0.1.0]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc2...v0.1.0
62
125
 
63
- ## v0.1.0.rc1 - 2018-03-30
126
+ ## [0.1.0.rc2] - 2018-04-06
64
127
 
65
- ## v0.1.0.beta2 - 2018-03-23
128
+ [0.1.0.rc2]: https://github.com/hanami/hanami-webconsole/compare/v0.1.0.rc1...v0.1.0.rc2
66
129
 
67
- ## v0.1.0.beta1 - 2018-02-28
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
68
139
 
69
140
  ### Added
70
141
 
71
- - [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.0"
6
+ VERSION = "3.0.0.rc1"
7
7
  end
8
8
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "better_errors"
4
- require "binding_of_caller"
5
4
 
6
5
  module Hanami
7
6
  # Hanami web console for development
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.0
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.