containable 0.5.0 → 0.5.1
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
- 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: 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
|
|
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.5.
|
|
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
|
|
@@ -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.22
|
|
101
101
|
signing_key:
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: A thread-safe dependency injection container.
|
metadata.gz.sig
CHANGED
|
Binary file
|