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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2c1e373ac344bb557876a8160a6a1064aca7abc8a8ae03f2efc417b9e271b0b
4
- data.tar.gz: 89b950b1257b13dd23ab872a145799f7652237989e442892e00ea2ae2f582d15
3
+ metadata.gz: f8538bd01b6c70d005b10ba4683326798d74af43f6e2999a98228176e9c4faeb
4
+ data.tar.gz: ebcb99c071cb38326509d1132fb06a3a5e2ed310fa77fdaf1fae020798293fca
5
5
  SHA512:
6
- metadata.gz: 4ca50cfde3f5372b0df28e73c00642d44752464860fc879dfd8f4dd2dc9a8e64e4043e79a77b6f1028a6bb894bfd4532257ed62a1f590f8fce01bafdc5c972b0
7
- data.tar.gz: cb094b9aaddb125c6a859c78c29cc9e885541f6cd89a739455313700cbc365c7ff46d3a8e8c1bf02805d4c5317a746aa2884787cb01b3618df0e5bd189b52859
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", "= 1.1.0.beta2"
39
+ spec.add_dependency "dry-system", "~> 1.1"
40
40
  spec.add_dependency "dry-logger", "~> 1.0", "< 2"
41
- spec.add_dependency "hanami-cli", "= 2.2.0.rc1"
42
- spec.add_dependency "hanami-utils", "~> 2.2.rc"
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
@@ -7,7 +7,7 @@ module Hanami
7
7
  # @api private
8
8
  module Version
9
9
  # @api public
10
- VERSION = "2.2.0.rc1"
10
+ VERSION = "2.2.1"
11
11
 
12
12
  # @since 0.9.0
13
13
  # @api private
@@ -2,6 +2,6 @@
2
2
 
3
3
  RSpec.describe "Hanami::VERSION" do
4
4
  it "returns current version" do
5
- expect(Hanami::VERSION).to eq("2.2.0.rc1")
5
+ expect(Hanami::VERSION).to eq("2.2.1")
6
6
  end
7
7
  end
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.0.rc1
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-10-29 00:00:00.000000000 Z
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.0.beta2
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.0.beta2
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.0.rc1
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.0.rc1
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.rc
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.rc
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