containable 0.5.0 → 0.6.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 -2
- data/containable.gemspec +1 -1
- data/lib/containable/builder.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: e00775146489a9efd09bc8bdc42f66e88a68a7c6926a4f607577a7803bd931db
|
4
|
+
data.tar.gz: 4d4598a1075e508373691657378c447f8f026a7d6175262d350a4c5a13a06a90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3ecc1217f077b5271888013c127509e5d529175888f2c0d68022ef86afb1fed9468166c232668ca25decf5ee81f85bf5cd730b2869c6159466f5fca14ebff68
|
7
|
+
data.tar.gz: 9c153e67b57f12027c811de578daa9587fd54f84fe4d1b043ed558f1127a2aa57fe520e0416db1d5eecf62e87454387c670061a79538a6536a4ae1af61c080cf
|
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
|
|
data/containable.gemspec
CHANGED
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.6.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-09
|
38
|
+
date: 2024-11-09 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: concurrent-ruby
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
rubygems_version: 3.5.
|
100
|
+
rubygems_version: 3.5.23
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: A thread-safe dependency injection container.
|
metadata.gz.sig
CHANGED
Binary file
|