dry-system 1.2.0 → 1.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: 73c4548cedcd9da37980d70bf114fca9879738c1274789da138c8e43301db4db
4
- data.tar.gz: 2c7cc8974efaaea1e998a15ea6c91cc0e6af352ec6ccce530abca9e83356203f
3
+ metadata.gz: 2bfcd9d967376239fe52f2271b94ebb88f3842caac283d631524db63d57cbf0e
4
+ data.tar.gz: eaa00945487dd187d6ebf3ae880b711630fcd1a7db6175638ef8cbad189aeacc
5
5
  SHA512:
6
- metadata.gz: daeef02f9d5c2de8a2e66edc4474cb4ee56d0c1a0813aa967caeacb1d7cc9e0fc287667cdbb4514934599432c3ca9fa016893341dacb79fd3f56ca5b3038a1d3
7
- data.tar.gz: '0983d69ebea6f6a4f9c653ad850aee8f5b0f5215431b3d4aa2e535b10b11a9aebb68f5305939de6e67fe03bcf8f48ba0830591b116c7ece9411f525e33277f05'
6
+ metadata.gz: b80ee5f708536fc62ee2991dea47a8fa15dc00f0c4e6dfa38140a338d551c0cc2b3734d7f2d7cf63c912168830257d749b49858104dcc1f0b318c5bc6fddd8c8
7
+ data.tar.gz: b03e2f4e70c2f96faf1794856d8126ff911f89d643237746f4e0dda06a399deb8003501df175659fa213a416c8016b138297a7085cd03e0cbd73d9ce97829682
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
+ ## 1.2.1 2025-01-08
4
+
5
+
6
+ ### Fixed
7
+
8
+ - `eager_load` was removed from `finalize!`. It was introduced with `true` by default that
9
+ wasn't the intention #281 (via #282) (@flash-gordon)
10
+
11
+
12
+ [Compare v1.2.0...v1.2.1](https://github.com/dry-rb/dry-system/compare/v1.2.0...v1.2.1)
13
+
3
14
  ## 1.2.0 2025-01-07
4
15
 
5
16
 
@@ -314,7 +314,7 @@ module Dry
314
314
  # @return [self] frozen container
315
315
  #
316
316
  # @api public
317
- def finalize!(freeze: true, eager_load: true, &)
317
+ def finalize!(freeze: true, &)
318
318
  return self if finalized?
319
319
 
320
320
  configured!
@@ -324,8 +324,6 @@ module Dry
324
324
 
325
325
  [providers, auto_registrar, manifest_registrar, importer].each(&:finalize!)
326
326
 
327
- keys.each { resolve(_1) } if eager_load
328
-
329
327
  @__finalized__ = true
330
328
 
331
329
  self.freeze if freeze
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module System
5
- VERSION = "1.2.0"
5
+ VERSION = "1.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-07 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-auto_inject