hanami-utils 1.3.7 → 1.3.8

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: '02818d90409ea03d89ca587c97fe418bbf17a8694662a2313609c0710466b0f9'
4
- data.tar.gz: 973ef420992dd9ea30ab880d43e8cc70eee59cae6fb7b1ba17038c5ce8d536a4
3
+ metadata.gz: ad4284f83bc4ccdc21289b5666f0fc63c1f7898c41016a30914baa0347bc8f5f
4
+ data.tar.gz: 62a7dd46434d3136875f8f9e6b0590e09d32b87ec6df47ba3169761d2d59f7df
5
5
  SHA512:
6
- metadata.gz: d49d6ad21aa25f285c9165c4619d6b2d7fe348513481bf30b8f231211d4e270f7502e2e3594f082789fdf32e9170a33e038329394ae5f43170ab778ebe01892f
7
- data.tar.gz: 8b8832a39855525d6818de385212fb1c9d7c5c0f79874f60ead95ee1c592377f6bfec0ade5701a4340b87fe920c495889a9586d81fe2091d8691b52b14f297fa
6
+ metadata.gz: 48f9fb3cdeea538a03d383670b42cc6b5b8fed50018561a4738c08ad57dc93e3558436b3bf42a7d7b318f2b101d24e257dbf7f3397bb74fcfdad4f5481560f66
7
+ data.tar.gz: 416a72a4d12e69e22456b5b0dd5a3eeb0911e18f305ab42c2308b7b6b2b7c2d0c39992b3d32e07db88cfb26547940f41bd88d421a2bb489b03000bc769ca79c1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Hanami::Utils
2
2
  Ruby core extentions and class utilities for Hanami
3
3
 
4
+ ## v1.3.8 - 2021-05-03
5
+ ### Fixed
6
+ - [Hiếu Nguyễn] Ensure `Hanami::Interactor#initialize` to accept keyword arguments while working with Ruby 3
7
+
4
8
  ## v1.3.7 - 2021-01-04
5
9
  ### Added
6
10
  - [Luca Guidi] Official support for Ruby: MRI 3.0
@@ -181,10 +181,18 @@ module Hanami
181
181
  # # ...
182
182
  # end
183
183
  # end
184
- def initialize(*args)
185
- super
186
- ensure
187
- @__result = ::Hanami::Interactor::Result.new
184
+ if RUBY_VERSION >= "3.0"
185
+ def initialize(*args, **kwargs)
186
+ super
187
+ ensure
188
+ @__result = ::Hanami::Interactor::Result.new
189
+ end
190
+ else
191
+ def initialize(*args)
192
+ super
193
+ ensure
194
+ @__result = ::Hanami::Interactor::Result.new
195
+ end
188
196
  end
189
197
 
190
198
  # Triggers the operation and return a result.
@@ -5,6 +5,6 @@ module Hanami
5
5
  # Defines the version
6
6
  #
7
7
  # @since 0.1.0
8
- VERSION = "1.3.7"
8
+ VERSION = "1.3.8"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-04 00:00:00.000000000 Z
11
+ date: 2021-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: transproc
@@ -143,7 +143,7 @@ homepage: http://hanamirb.org
143
143
  licenses:
144
144
  - MIT
145
145
  metadata: {}
146
- post_install_message:
146
+ post_install_message:
147
147
  rdoc_options: []
148
148
  require_paths:
149
149
  - lib
@@ -158,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.2.4
162
- signing_key:
161
+ rubygems_version: 3.2.2
162
+ signing_key:
163
163
  specification_version: 4
164
164
  summary: Ruby core extentions and Hanami utilities
165
165
  test_files: []