infusible 3.10.0 → 3.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +2 -0
- data/infusible.gemspec +4 -4
- data/lib/infusible/builder.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +10 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41716afbe6774188d7f1717c2fde476cfee0372373a9088a1791d9c6d0cdda8d
|
4
|
+
data.tar.gz: 0726c3c7e95ef0a38a8f7bc5be618d1ff59eda92985d5adb7ee258ecbeda2985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5d915f46416dd13ae8c61cb1a6d708c2b7b1a18885cffb42b14d1721f4ec058fab55d679d0aec6d3338f029fc516b8ac16ad83c29629e63be04231cfca02d4
|
7
|
+
data.tar.gz: 127b9f9298f99efa35e330be597ee91295620af11356262f20adee6ad77a521984745fa3c751281e6f6a9caf593f26ba2e5db9fad5206d146c60ba661b6ffd75
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -524,6 +524,8 @@ bin/rake
|
|
524
524
|
|
525
525
|
== link:https://alchemists.io/policies/contributions[Contributions]
|
526
526
|
|
527
|
+
== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
|
528
|
+
|
527
529
|
== link:https://alchemists.io/projects/infusible/versions[Versions]
|
528
530
|
|
529
531
|
== link:https://alchemists.io/community[Community]
|
data/infusible.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "infusible"
|
5
|
-
spec.version = "3.
|
5
|
+
spec.version = "3.11.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/infusible"
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/infusible/issues",
|
14
14
|
"changelog_uri" => "https://alchemists.io/projects/infusible/versions",
|
15
|
-
"
|
15
|
+
"homepage_uri" => "https://alchemists.io/projects/infusible",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Infusible",
|
18
18
|
"rubygems_mfa_required" => "true",
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.signing_key = Gem.default_key_path
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
|
-
spec.required_ruby_version = "
|
26
|
-
spec.add_dependency "marameters", "~> 3.
|
25
|
+
spec.required_ruby_version = ">= 3.3", "<= 3.4"
|
26
|
+
spec.add_dependency "marameters", "~> 3.9"
|
27
27
|
|
28
28
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
29
29
|
spec.files = Dir["*.gemspec", "lib/**/*"]
|
data/lib/infusible/builder.rb
CHANGED
@@ -27,8 +27,8 @@ module Infusible
|
|
27
27
|
@container = container
|
28
28
|
@dependencies = DependencyMap.new(*configuration)
|
29
29
|
@scope = scope
|
30
|
-
@class_module =
|
31
|
-
@instance_module =
|
30
|
+
@class_module = Module.new
|
31
|
+
@instance_module = Module.new.set_temporary_name "infusible-parent"
|
32
32
|
|
33
33
|
freeze
|
34
34
|
end
|
@@ -86,7 +86,7 @@ module Infusible
|
|
86
86
|
if super_parameters.only_single_splats?
|
87
87
|
super(*positionals, **keywords, &block)
|
88
88
|
else
|
89
|
-
super(*positionals, **super_parameters.
|
89
|
+
super(*positionals, **super_parameters.keywords_for(*keys, **keywords), &block)
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|
@@ -96,7 +96,7 @@ module Infusible
|
|
96
96
|
instance_module.module_exec dependencies.keys, variablizer do |keys, definer|
|
97
97
|
define_method :initialize do |**keywords, &block|
|
98
98
|
definer.call self, keys, keywords
|
99
|
-
super(**super_parameters.
|
99
|
+
super(**super_parameters.keywords_for(*keys, **keywords), &block)
|
100
100
|
end
|
101
101
|
end
|
102
102
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infusible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-
|
38
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: marameters
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '3.
|
46
|
+
version: '3.9'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '3.
|
53
|
+
version: '3.9'
|
54
54
|
description:
|
55
55
|
email:
|
56
56
|
- brooke@alchemists.io
|
@@ -76,7 +76,7 @@ licenses:
|
|
76
76
|
metadata:
|
77
77
|
bug_tracker_uri: https://github.com/bkuhlmann/infusible/issues
|
78
78
|
changelog_uri: https://alchemists.io/projects/infusible/versions
|
79
|
-
|
79
|
+
homepage_uri: https://alchemists.io/projects/infusible
|
80
80
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
81
81
|
label: Infusible
|
82
82
|
rubygems_mfa_required: 'true'
|
@@ -87,16 +87,19 @@ require_paths:
|
|
87
87
|
- lib
|
88
88
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- - "
|
90
|
+
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '3.3'
|
93
|
+
- - "<="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '3.4'
|
93
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
97
|
requirements:
|
95
98
|
- - ">="
|
96
99
|
- !ruby/object:Gem::Version
|
97
100
|
version: '0'
|
98
101
|
requirements: []
|
99
|
-
rubygems_version: 3.5.
|
102
|
+
rubygems_version: 3.5.21
|
100
103
|
signing_key:
|
101
104
|
specification_version: 4
|
102
105
|
summary: An automatic dependency injector.
|
metadata.gz.sig
CHANGED
Binary file
|