dry-container 0.10.0 → 0.10.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 +9 -0
- data/lib/dry/container/error.rb +3 -1
- data/lib/dry/container/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: fc4f775005011815006af0b6767d39de83abe44c314d6950491ecefed635f0ce
|
4
|
+
data.tar.gz: 2240b5954ba883e33c0c66d10eaa0193e8e72906a7c1b6d8d774c1717a2a2552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d006b7390ea827fdac570294f98bff3b6e77af12976f84f0eaf3f4e6ff3fd4ef8fa65ddfbcc9ae4f4f1144742113817682bd13013e02241e51c01ccde8f39e4
|
7
|
+
data.tar.gz: 4a9726b3ce4e53d516f2c5183369f4061f3d5a1f60e93957c7a04725e0d024481cf85b0420ad8e5a18e547015843e7103d15ff6254a6d311de2db357fc464ac6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
2
2
|
|
3
|
+
## 0.10.1 2022-07-29
|
4
|
+
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
|
8
|
+
- Make `DidYouMean` integration optional (via #86) (@jbourassa)
|
9
|
+
|
10
|
+
[Compare v0.10.0...v0.10.1](https://github.com/dry-rb/dry-container/compare/v0.10.0...v0.10.1)
|
11
|
+
|
3
12
|
## 0.10.0 2022-07-10
|
4
13
|
|
5
14
|
⚠️ Notice that dry-container no longer depends on dry-configurable. If you happen to rely on the advanced configurable functionality, add dry-configurable as a dependency and require it **before** requiring dry-container.
|
data/lib/dry/container/error.rb
CHANGED
@@ -6,7 +6,9 @@ module Dry
|
|
6
6
|
Error = Class.new(StandardError)
|
7
7
|
|
8
8
|
KeyError = Class.new(::KeyError)
|
9
|
-
|
9
|
+
if defined?(DidYouMean::KeyErrorChecker)
|
10
|
+
DidYouMean.correct_error(KeyError, DidYouMean::KeyErrorChecker)
|
11
|
+
end
|
10
12
|
|
11
13
|
deprecate_constant(:Error)
|
12
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-container
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Holland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|