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 +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/dry/system/container.rb +1 -3
- data/lib/dry/system/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bfcd9d967376239fe52f2271b94ebb88f3842caac283d631524db63d57cbf0e
|
4
|
+
data.tar.gz: eaa00945487dd187d6ebf3ae880b711630fcd1a7db6175638ef8cbad189aeacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/dry/system/container.rb
CHANGED
@@ -314,7 +314,7 @@ module Dry
|
|
314
314
|
# @return [self] frozen container
|
315
315
|
#
|
316
316
|
# @api public
|
317
|
-
def finalize!(freeze: 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
|
data/lib/dry/system/version.rb
CHANGED
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.
|
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-
|
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
|