dry-auto_inject 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -2
- data/README.md +1 -1
- data/lib/dry/auto_inject/builder.rb +1 -1
- data/lib/dry/auto_inject/dependency_map.rb +1 -2
- data/lib/dry/auto_inject/injector.rb +1 -1
- data/lib/dry/auto_inject/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a79d211a0d923c19c0228c738c7839898ac88279efcacbc8b25facfbb6d0d9e
|
|
4
|
+
data.tar.gz: d59bb2e3854d8c277102c4fec5b176e54ddff6a66cf39d63b7ace3fc2a37a439
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95cd9bb41e296376ff48b6e60ce0181927f6dccdf5ca5cc37845466484b8b636f56bc9850673a9ba7d59303e34a7d921a37450834abe0a6c0915a09cefdd5c4d
|
|
7
|
+
data.tar.gz: '08862d1f63eea2b57a2de40e2c5d307e7ff256b2b3b0655d941293a3c1f8b471ab527c3dee814a2b9b218c6551f625a7056b92173210faa0f336277e618067b3'
|
data/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Break Versioning](https://www.taoensso.com/break-versioning).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
### Deprecated
|
|
14
|
+
|
|
15
|
+
### Removed
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
### Security
|
|
20
|
+
|
|
21
|
+
[Unreleased]: https://github.com/dry-rb/dry-auto_inject/compare/v1.2.2...main
|
|
22
|
+
|
|
23
|
+
## [1.2.2] - 2026-11-19
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Work around a bug in JRuby 10.1.3.0 (@timriley in #102)
|
|
28
|
+
|
|
29
|
+
[1.2.2]: https://github.com/dry-rb/dry-auto_inject/compare/v1.2.1...v1.2.2
|
|
7
30
|
|
|
8
31
|
## [1.2.1] - 2026-05-26
|
|
9
32
|
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[actions]: https://github.com/dry-rb/dry-auto_inject/actions
|
|
4
4
|
[chat]: https://discord.gg/naQApPAsZB
|
|
5
|
-
[forum]: https://discourse.
|
|
5
|
+
[forum]: https://discourse.hanakai.org
|
|
6
6
|
[rubygem]: https://rubygems.org/gems/dry-auto_inject
|
|
7
7
|
|
|
8
8
|
# dry-auto_inject [][rubygem] [][actions]
|
|
@@ -38,8 +38,7 @@ module Dry
|
|
|
38
38
|
def name_for(identifier)
|
|
39
39
|
matched = VALID_NAME.match(identifier.to_s)
|
|
40
40
|
unless matched
|
|
41
|
-
raise DependencyNameInvalid,
|
|
42
|
-
"name +#{identifier}+ is not a valid Ruby identifier"
|
|
41
|
+
raise DependencyNameInvalid, "name +#{identifier}+ is not a valid Ruby identifier"
|
|
43
42
|
end
|
|
44
43
|
|
|
45
44
|
matched[0]
|