infusible 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d13109b683432047e194853c8578b562bf20976ed96d0fa4dd2abe14101c8e8
4
- data.tar.gz: c245a40f4c742dbd07aa359545ddcd73ba5f8298d9e3b308b7cd37b960b235bd
3
+ metadata.gz: 711730101395cdd58bd0394b40d710f8bbc1e67eee79cfba6ae556238a9dbf5b
4
+ data.tar.gz: 1267a3fceb446934550af2c5ec2920232cd725bea4aee02720344543e47353d5
5
5
  SHA512:
6
- metadata.gz: da5eede9af7445f6d288f78205110d8dffc01fa5d3c2952cfd8baba4fe1c2284482f3fdd862681e42909e1cca543fb5883d5ac041d00eb01e67f1cc6fe5fe99f
7
- data.tar.gz: eef2b0e39e7dc6af2f91590be0c56877459b8e6e8427cfad524c668004330f94959a2114e7d265c11752160fde175ac0b21b9138c2654b80fe896b502217858f
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://www.alchemists.io/projects/marameters[Marameters] gem.
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 http: HTTP, **dependencies
221
- super(**dependencies)
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 `**dependencies` as your named double splat argument when defining an initializer which needs to pass injected dependencies upwards. This improves readability and consistency by clearly identifying your injected dependencies.
453
+ * Use `**` to forward keyword arguments when defining an initializer which needs to pass injected dependencies upwards.
455
454
 
456
455
  == Tests
457
456
 
@@ -459,22 +458,22 @@ To test, run:
459
458
 
460
459
  [source,bash]
461
460
  ----
462
- bundle exec rake
461
+ bin/rake
463
462
  ----
464
463
 
465
- == link:https://www.alchemists.io/policies/license[License]
464
+ == link:https://alchemists.io/policies/license[License]
466
465
 
467
- == link:https://www.alchemists.io/policies/security[Security]
466
+ == link:https://alchemists.io/policies/security[Security]
468
467
 
469
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
468
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
470
469
 
471
- == link:https://www.alchemists.io/policies/contributions[Contributions]
470
+ == link:https://alchemists.io/policies/contributions[Contributions]
472
471
 
473
- == link:https://www.alchemists.io/projects/infusible/versions[Versions]
472
+ == link:https://alchemists.io/projects/infusible/versions[Versions]
474
473
 
475
- == link:https://www.alchemists.io/community[Community]
474
+ == link:https://alchemists.io/community[Community]
476
475
 
477
476
  == Credits
478
477
 
479
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
480
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
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.0"
5
+ spec.version = "1.0.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/infusible"
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://www.alchemists.io/projects/infusible/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/infusible",
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.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
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
- NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA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axVI679vfI2yapLlIwpbBgmQTiTvPr3
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: 2022-12-25 00:00:00.000000000 Z
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://www.alchemists.io/projects/infusible
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://www.alchemists.io/projects/infusible/versions
86
- documentation_uri: https://www.alchemists.io/projects/infusible
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.1
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