hanami 2.2.0.rc1 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/hanami.gemspec +4 -3
- data/lib/hanami/extensions/operation.rb +1 -1
- data/lib/hanami/version.rb +1 -1
- data/spec/unit/hanami/version_spec.rb +1 -1
- metadata +26 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8538bd01b6c70d005b10ba4683326798d74af43f6e2999a98228176e9c4faeb
|
4
|
+
data.tar.gz: ebcb99c071cb38326509d1132fb06a3a5e2ed310fa77fdaf1fae020798293fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f9c67c9648cd127a6f18781f1609869571b10ef6ca62e829cc300d6b4b0105e467656c08f59729edf519e8d92670131f53b3349e3093b47550683689199166c
|
7
|
+
data.tar.gz: aa13d4ab655a9d3a225e85b6c8c17c4cc2371a12dad72fe31eb08b1c27c709d0efa6abd9a020a5275af1cebd56b54e821409fe572ca51f1130fd9b579c18c35b
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
The web, with simplicity.
|
4
4
|
|
5
|
+
## v2.2.1 - 2024-11-12
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- [Tim Riley] Depend on matching minor version of hanami-cli (a version spec of `"~> 2.2.1"` instead of `"~> 2.2"`). This ensures that future bumps to the minor version of hanami-cli will not be inadvertently installed on user machines (#1471)
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- [Tim Riley] Allow base operation class to load when a Hanami app is generated with `--skip-db` (i.e. when the "rom-sql" gem is not in the bundle) (#1475)
|
14
|
+
|
15
|
+
## v2.2.0 - 2024-11-05
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
|
19
|
+
- [Tim Riley] Depend on dry-system v1.1, the stable release featuring the changes supporting the provider improvements introduced in beta1 and beta2 (#1467)
|
20
|
+
- [Tim Riley] Added specific "json" gem dependency to gemspec in order to suppress bundled gem deprecation warnings appearing in Ruby 3.3.5 (#1469)
|
21
|
+
|
5
22
|
## v2.2.0.rc1 - 2024-10-29
|
6
23
|
|
7
24
|
### Added
|
data/hanami.gemspec
CHANGED
@@ -36,10 +36,11 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_dependency "dry-core", "~> 1.0", "< 2"
|
37
37
|
spec.add_dependency "dry-inflector", "~> 1.0", ">= 1.1.0", "< 2"
|
38
38
|
spec.add_dependency "dry-monitor", "~> 1.0", ">= 1.0.1", "< 2"
|
39
|
-
spec.add_dependency "dry-system", "
|
39
|
+
spec.add_dependency "dry-system", "~> 1.1"
|
40
40
|
spec.add_dependency "dry-logger", "~> 1.0", "< 2"
|
41
|
-
spec.add_dependency "hanami-cli", "
|
42
|
-
spec.add_dependency "hanami-utils", "~> 2.2
|
41
|
+
spec.add_dependency "hanami-cli", "~> 2.2.1"
|
42
|
+
spec.add_dependency "hanami-utils", "~> 2.2"
|
43
|
+
spec.add_dependency "json", ">= 2.7.2"
|
43
44
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
44
45
|
|
45
46
|
spec.add_development_dependency "rspec", "~> 3.8"
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "dry/operation"
|
4
|
-
require "dry/operation/extensions/rom"
|
5
4
|
|
6
5
|
module Hanami
|
7
6
|
module Extensions
|
@@ -38,6 +37,7 @@ module Hanami
|
|
38
37
|
return unless subclass.superclass == self
|
39
38
|
return unless Hanami.bundled?("hanami-db")
|
40
39
|
|
40
|
+
require "dry/operation/extensions/rom"
|
41
41
|
subclass.include Dry::Operation::Extensions::ROM
|
42
42
|
end
|
43
43
|
end
|
data/lib/hanami/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,16 +132,16 @@ dependencies:
|
|
132
132
|
name: dry-system
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 1.1
|
137
|
+
version: '1.1'
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 1.1
|
144
|
+
version: '1.1'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: dry-logger
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,30 +166,44 @@ dependencies:
|
|
166
166
|
name: hanami-cli
|
167
167
|
requirement: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
|
-
- -
|
169
|
+
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 2.2.
|
171
|
+
version: 2.2.1
|
172
172
|
type: :runtime
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- -
|
176
|
+
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: 2.2.
|
178
|
+
version: 2.2.1
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: hanami-utils
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
183
|
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: 2.2
|
185
|
+
version: '2.2'
|
186
186
|
type: :runtime
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: 2.2
|
192
|
+
version: '2.2'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: json
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: 2.7.2
|
200
|
+
type: :runtime
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 2.7.2
|
193
207
|
- !ruby/object:Gem::Dependency
|
194
208
|
name: zeitwerk
|
195
209
|
requirement: !ruby/object:Gem::Requirement
|