aux 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aux/pluggable/class_methods.rb +1 -2
- data/lib/aux/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: c8d86412d399a265a0a716eb2db10ba0f8890fe317a18e5fbc4be1aaa95b1e2a
|
4
|
+
data.tar.gz: 561f4c6c59e92322be91700d88f5ff119a746a18960d1c193f222cbcf23016dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7f6b599491b93f8c1377fad3e3a2927b753c2d6a46618ae99114cc3667e4f4eb1282a0a7db2398440c5e06469181b4610a37cdbd155b937bbe36a96fa639b2b
|
7
|
+
data.tar.gz: 2c2bb0ac9f930e3ee6d6c3a5d569b923fd57334e9edbaff2b1f280da59792f9ab9296e6f553b6aa392fa0d5d51294becb1604ef0e102aa3c38e13128e687901a
|
@@ -6,7 +6,7 @@ module Aux
|
|
6
6
|
module ClassMethods
|
7
7
|
# @param dependencies [Hash{Symbol => Object}]
|
8
8
|
def new(**dependencies)
|
9
|
-
instance =
|
9
|
+
instance = allocate
|
10
10
|
|
11
11
|
# Configure dependencies that come from the registry
|
12
12
|
@_dependencies.each do |name, dependency|
|
@@ -70,7 +70,6 @@ module Aux
|
|
70
70
|
private dependency_alias
|
71
71
|
end
|
72
72
|
end
|
73
|
-
|
74
73
|
# rubocop:enable Metrics/AbcSize, Metrics/MethodLength
|
75
74
|
end
|
76
75
|
end
|
data/lib/aux/version.rb
CHANGED