hanami-controller 2.0.0.alpha5 → 2.0.0.alpha6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae6d39916d31ac8b1e741399a9a7c5606cb83c4cc154cb6d6a36106c67a24802
4
- data.tar.gz: a0ce560a5c49ec75b34da8d83d7100b8a38dde309ca4c13d2a845522557de3d1
3
+ metadata.gz: 4f14c59426ea7017dc546100e0443d17d5f63362cd4b6f1546adfb18ae6bd4e3
4
+ data.tar.gz: 62fafda341ad801430ab2575df6a28b6a9848a71739c977e481fe8fa00dbadfc
5
5
  SHA512:
6
- metadata.gz: 6f86405be035a7de58434a78ad466bfeb58745ed63185711b678be2a3d7f3fb30fd6ecfca19c38a96fc825d5776a8736d02a5139ef1669b4b44d643c8e068b05
7
- data.tar.gz: 7bef1138872374c4ae35433917dad8e89e6828f8893cf50e7c27efd4ea29d7924f26f2c4a06be4b4911ed89e3bc1df06a6b8f85f6ce741f10e537277490b6d77
6
+ metadata.gz: a51c5a37c6961bff7d1c3c30906cc2e072029e6d0b4ec5782ef92d592ed4f8b247807b9aabd803004afb31fd2f23900bb8a34c9d29bc1515e30e0caba4b3318a
7
+ data.tar.gz: b69d515d608fbaf545e7d2d4e6d19fbd6d305bc10bcc0a2208dc6e740389eb7188514112028d02dd3d8e6729192eed95305b7ec3a09cdd77039b55ac5d054083
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Hanami::Controller
2
2
  Complete, fast and testable actions for Rack
3
3
 
4
+ ## v2.0.0.alpha6 - 2022-02-10
5
+ ### Added
6
+ - [Luca Guidi] Official support for Ruby: MRI 3.1
7
+
8
+ ### Changed
9
+ - [Luca Guidi] Drop support for Ruby: MRI 2.6, and 2.7.
10
+ - [Sean Collins] Align with Rack list of HTTP supported status. Added: `103`, `306`, `421`, `425`, `451`, and `509`. Removed: `418`, `420`, `444`, `449`, `450`, `451`, `499`, `598`, `599`.
11
+
4
12
  ## v2.0.0.alpha5 - 2022-01-12
5
13
  ### Added
6
14
  - [Philip Arndt] Added "rss" ("application/rss+xml") to list of supported MIME types
data/README.md CHANGED
@@ -26,7 +26,7 @@ Complete, fast and testable actions for Rack and [Hanami](http://hanamirb.org)
26
26
 
27
27
  ## Rubies
28
28
 
29
- __Hanami::Controller__ supports Ruby (MRI) 2.6+
29
+ __Hanami::Controller__ supports Ruby (MRI) 3.0+
30
30
 
31
31
  ## Installation
32
32
 
@@ -967,6 +967,4 @@ __Hanami::Controller__ uses [Semantic Versioning 2.0.0](http://semver.org)
967
967
 
968
968
  ## Copyright
969
969
 
970
- Copyright © 2014-2021 Luca Guidi – Released under MIT License
971
-
972
- This project was formerly known as Lotus (`lotus-controller`).
970
+ Copyright © 2014-2022 Hanami Team – Released under MIT License
@@ -17,7 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = []
18
18
  spec.test_files = spec.files.grep(%r{^(spec)/})
19
19
  spec.require_paths = ['lib']
20
- spec.required_ruby_version = '>= 2.6.0'
20
+ spec.metadata["rubygems_mfa_required"] = "true"
21
+ spec.required_ruby_version = '>= 3.0'
21
22
 
22
23
  spec.add_dependency 'rack', '~> 2.0'
23
24
  spec.add_dependency 'hanami-utils', '~> 2.0.alpha'
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '2.0.0.alpha5'.freeze
6
+ VERSION = '2.0.0.alpha6'.freeze
7
7
  end
8
8
  end
@@ -11,23 +11,7 @@ module Hanami
11
11
  #
12
12
  # @since 0.1.0
13
13
  # @api private
14
- ALL = ::Rack::Utils::HTTP_STATUS_CODES.dup.merge({
15
- 103 => 'Checkpoint',
16
- 122 => 'Request-URI too long',
17
- 413 => 'Payload Too Large', # Rack 1.5 compat
18
- 414 => 'URI Too Long', # Rack 1.5 compat
19
- 416 => 'Range Not Satisfiable', # Rack 1.5 compat
20
- 418 => 'I\'m a teapot',
21
- 420 => 'Enhance Your Calm',
22
- 444 => 'No Response',
23
- 449 => 'Retry With',
24
- 450 => 'Blocked by Windows Parental Controls',
25
- 451 => 'Wrong Exchange server',
26
- 499 => 'Client Closed Request',
27
- 506 => 'Variant Also Negotiates', # Rack 1.5 compat
28
- 598 => 'Network read timeout error',
29
- 599 => 'Network connect timeout error'
30
- }).freeze
14
+ ALL = ::Rack::Utils::HTTP_STATUS_CODES
31
15
 
32
16
  # Return a status for the given code
33
17
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha5
4
+ version: 2.0.0.alpha6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -166,7 +166,8 @@ files:
166
166
  homepage: http://hanamirb.org
167
167
  licenses:
168
168
  - MIT
169
- metadata: {}
169
+ metadata:
170
+ rubygems_mfa_required: 'true'
170
171
  post_install_message:
171
172
  rdoc_options: []
172
173
  require_paths:
@@ -175,14 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
176
  requirements:
176
177
  - - ">="
177
178
  - !ruby/object:Gem::Version
178
- version: 2.6.0
179
+ version: '3.0'
179
180
  required_rubygems_version: !ruby/object:Gem::Requirement
180
181
  requirements:
181
182
  - - ">"
182
183
  - !ruby/object:Gem::Version
183
184
  version: 1.3.1
184
185
  requirements: []
185
- rubygems_version: 3.2.3
186
+ rubygems_version: 3.3.3
186
187
  signing_key:
187
188
  specification_version: 4
188
189
  summary: Complete, fast and testable actions for Rack and Hanami