containable 0.4.0 → 0.5.1
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 +4 -2
- data/containable.gemspec +3 -3
- data/lib/containable/builder.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +8 -5
- 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: 341ee0c800f51d620cedc8f3554a184ccb6fa2e5c23f4a3803b372a2a6345232
|
4
|
+
data.tar.gz: cd28452dbe32ee4d1521ea8c451e9f4b4fa1bbde998cf9ba47ecad80a3b9745b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 631b0f722de43b098d3d685a13b7af7bd1a4ea38fecf4384f3ddc0585260345ba8174169aeff00a5feabde89cdeb98bab9037b79411e9fc5c808bdca956c72ab
|
7
|
+
data.tar.gz: 1339480ffa802b964a19ec5aff6f118a9561dee0671ea7bce7e122098163f8330269d3fcdff66ce921bb1c2dbb39c2393831fb6396e0f428a6b79d71ddd17e15
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -346,14 +346,14 @@ You can duplicate a container via the following (which will unfreeze the contain
|
|
346
346
|
----
|
347
347
|
container = Container.dup
|
348
348
|
container.name
|
349
|
-
# "
|
349
|
+
# "containable"
|
350
350
|
|
351
351
|
Other = Container.dup
|
352
352
|
Other.name
|
353
353
|
# "Other"
|
354
354
|
----
|
355
355
|
|
356
|
-
As you can see a container, once duplicated, can be assigned to a local variable or a new constant. When assigning to a variable, the container will use a temporary name of `
|
356
|
+
As you can see a container, once duplicated, can be assigned to a local variable or a new constant. When assigning to a variable, the container will use a temporary name of `containable` for identification.
|
357
357
|
|
358
358
|
=== Clones
|
359
359
|
|
@@ -554,6 +554,8 @@ bin/rake
|
|
554
554
|
|
555
555
|
== link:https://alchemists.io/policies/contributions[Contributions]
|
556
556
|
|
557
|
+
== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
|
558
|
+
|
557
559
|
== link:https://alchemists.io/projects/containable/versions[Versions]
|
558
560
|
|
559
561
|
== link:https://alchemists.io/community[Community]
|
data/containable.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "containable"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.5.1"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/containable"
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/containable/issues",
|
14
14
|
"changelog_uri" => "https://alchemists.io/projects/containable/versions",
|
15
|
-
"
|
15
|
+
"homepage_uri" => "https://alchemists.io/projects/containable",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Containable",
|
18
18
|
"rubygems_mfa_required" => "true",
|
@@ -22,7 +22,7 @@ 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 = "
|
25
|
+
spec.required_ruby_version = ">= 3.3", "<= 3.4"
|
26
26
|
spec.add_dependency "concurrent-ruby", "~> 1.2"
|
27
27
|
|
28
28
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/lib/containable/builder.rb
CHANGED
@@ -79,7 +79,7 @@ module Containable
|
|
79
79
|
|
80
80
|
define_method :dup do
|
81
81
|
instance = target.new dependencies.dup, register: local_register, resolver: local_resolver
|
82
|
-
Module.new.set_temporary_name("
|
82
|
+
Module.new.set_temporary_name("containable").extend instance
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: containable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
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-22 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: concurrent-ruby
|
@@ -74,7 +74,7 @@ licenses:
|
|
74
74
|
metadata:
|
75
75
|
bug_tracker_uri: https://github.com/bkuhlmann/containable/issues
|
76
76
|
changelog_uri: https://alchemists.io/projects/containable/versions
|
77
|
-
|
77
|
+
homepage_uri: https://alchemists.io/projects/containable
|
78
78
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
79
79
|
label: Containable
|
80
80
|
rubygems_mfa_required: 'true'
|
@@ -85,16 +85,19 @@ require_paths:
|
|
85
85
|
- lib
|
86
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '3.3'
|
91
|
+
- - "<="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '3.4'
|
91
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
95
|
requirements:
|
93
96
|
- - ">="
|
94
97
|
- !ruby/object:Gem::Version
|
95
98
|
version: '0'
|
96
99
|
requirements: []
|
97
|
-
rubygems_version: 3.5.
|
100
|
+
rubygems_version: 3.5.22
|
98
101
|
signing_key:
|
99
102
|
specification_version: 4
|
100
103
|
summary: A thread-safe dependency injection container.
|
metadata.gz.sig
CHANGED
Binary file
|