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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/hanami/interactor.rb +12 -4
- data/lib/hanami/utils/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4284f83bc4ccdc21289b5666f0fc63c1f7898c41016a30914baa0347bc8f5f
|
4
|
+
data.tar.gz: 62a7dd46434d3136875f8f9e6b0590e09d32b87ec6df47ba3169761d2d59f7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/hanami/interactor.rb
CHANGED
@@ -181,10 +181,18 @@ module Hanami
|
|
181
181
|
# # ...
|
182
182
|
# end
|
183
183
|
# end
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
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.
|
data/lib/hanami/utils/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|