infusible 1.0.1 → 1.0.2
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 +12 -13
- data/infusible.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- 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: 711730101395cdd58bd0394b40d710f8bbc1e67eee79cfba6ae556238a9dbf5b
|
4
|
+
data.tar.gz: 1267a3fceb446934550af2c5ec2920232cd725bea4aee02720344543e47353d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be60e374cd6699293af665010bd69d1b52a09a1cc9b7098d0cae55da898e8b097b27fce0f8d4a2c757386e3beee9859286745617a9ee0bb003e486da48b6d41
|
7
|
+
data.tar.gz: ee35a9699f2ae6aa5ae4abc640fd6649216737e033cb5a2e2862e399739505e6f9064eb0e37678067325e18fef1b346c5b8b1f733d1f618828412a973d90455d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -38,7 +38,7 @@ toc::[]
|
|
38
38
|
|
39
39
|
* Ensures injected dependencies are _private by default_.
|
40
40
|
* Uses a slimmed down architecture with a strong focus on keyword arguments.
|
41
|
-
* Built on top of the link:https://
|
41
|
+
* Built on top of the link:https://alchemists.io/projects/marameters[Marameters] gem.
|
42
42
|
|
43
43
|
== Requirements
|
44
44
|
|
@@ -217,9 +217,8 @@ Should you want to use injection in combination with your own initializer, you'l
|
|
217
217
|
class Pinger
|
218
218
|
include Import[:logger]
|
219
219
|
|
220
|
-
def initialize
|
221
|
-
super(**
|
222
|
-
|
220
|
+
def initialize(http: HTTP, **)
|
221
|
+
super(**)
|
223
222
|
@http = http
|
224
223
|
end
|
225
224
|
|
@@ -451,7 +450,7 @@ When using this gem, along with a container like {dry-container_link}, make sure
|
|
451
450
|
* Use containers to group related dependencies that make logical sense for the namespace you are working in and avoid using containers as a junk drawer for throwing random objects in.
|
452
451
|
* Use containers that don't have a lot of registered dependencies. If you register too many dependencies, then that means your objects are too complex and need to be simplified further.
|
453
452
|
* Use the `Import` constant to define _what_ is possible to import much like you'd use a `Container` to define your dependencies. Defining what is importable improves performance and should be defined in separate files for improved fuzzy file finding.
|
454
|
-
* Use
|
453
|
+
* Use `**` to forward keyword arguments when defining an initializer which needs to pass injected dependencies upwards.
|
455
454
|
|
456
455
|
== Tests
|
457
456
|
|
@@ -462,19 +461,19 @@ To test, run:
|
|
462
461
|
bin/rake
|
463
462
|
----
|
464
463
|
|
465
|
-
== link:https://
|
464
|
+
== link:https://alchemists.io/policies/license[License]
|
466
465
|
|
467
|
-
== link:https://
|
466
|
+
== link:https://alchemists.io/policies/security[Security]
|
468
467
|
|
469
|
-
== link:https://
|
468
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
470
469
|
|
471
|
-
== link:https://
|
470
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
472
471
|
|
473
|
-
== link:https://
|
472
|
+
== link:https://alchemists.io/projects/infusible/versions[Versions]
|
474
473
|
|
475
|
-
== link:https://
|
474
|
+
== link:https://alchemists.io/community[Community]
|
476
475
|
|
477
476
|
== Credits
|
478
477
|
|
479
|
-
* Built with link:https://
|
480
|
-
* Engineered by link:https://
|
478
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
479
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/infusible.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "infusible"
|
5
|
-
spec.version = "1.0.
|
5
|
+
spec.version = "1.0.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/infusible"
|
9
9
|
spec.summary = "Automates the injection of dependencies into your class."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/infusible/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/infusible/versions",
|
15
|
+
"documentation_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",
|
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: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
|
16
|
+
cm9va2UxGjAYBgoJk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Y+GLb8Xw
|
31
|
+
REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
|
32
|
+
qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
|
33
|
+
rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
|
34
|
+
XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
|
35
|
+
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
|
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
30
37
|
-----END CERTIFICATE-----
|
31
|
-
date: 2023-
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: marameters
|
@@ -77,13 +84,13 @@ files:
|
|
77
84
|
- lib/infusible/errors/duplicate_dependency.rb
|
78
85
|
- lib/infusible/errors/invalid_dependency.rb
|
79
86
|
- lib/infusible/stub.rb
|
80
|
-
homepage: https://
|
87
|
+
homepage: https://alchemists.io/projects/infusible
|
81
88
|
licenses:
|
82
89
|
- Hippocratic-2.1
|
83
90
|
metadata:
|
84
91
|
bug_tracker_uri: https://github.com/bkuhlmann/infusible/issues
|
85
|
-
changelog_uri: https://
|
86
|
-
documentation_uri: https://
|
92
|
+
changelog_uri: https://alchemists.io/projects/infusible/versions
|
93
|
+
documentation_uri: https://alchemists.io/projects/infusible
|
87
94
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
88
95
|
label: Infusible
|
89
96
|
rubygems_mfa_required: 'true'
|
@@ -103,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
110
|
- !ruby/object:Gem::Version
|
104
111
|
version: '0'
|
105
112
|
requirements: []
|
106
|
-
rubygems_version: 3.4.
|
113
|
+
rubygems_version: 3.4.9
|
107
114
|
signing_key:
|
108
115
|
specification_version: 4
|
109
116
|
summary: Automates the injection of dependencies into your class.
|
metadata.gz.sig
CHANGED
Binary file
|