README.md in smart_injection-0.2.0 vs README.md in smart_injection-0.3.0
- old
+ new
@@ -1,11 +1,19 @@
-# SmartCore::Injection · [![Gem Version](https://badge.fury.io/rb/smart_injection.svg)](https://badge.fury.io/rb/smart_injection)
+# SmartCore::Injection · <a target="_blank" href="https://github.com/Cado-Labs"><img src="https://github.com/Cado-Labs/cado-labs-logos/raw/main/cado_labs_badge.svg" alt="Supported by Cado Labs" style="max-width: 100%; height: 20px"></a> · [![Gem Version](https://badge.fury.io/rb/smart_injection.svg)](https://badge.fury.io/rb/smart_injection)
Dependency injection principles and idioms realized in scope of Ruby. Support for method-injeciton strategy, container-based dependency resolving, static and dynamic bindings and etc.
---
+<p>
+ <a href="https://github.com/Cado-Labs">
+ <img src="https://github.com/Cado-Labs/cado-labs-logos/blob/main/cado_labs_supporting.svg" alt="Supported by Cado Labs" />
+ </a>
+</p>
+
+---
+
## Major Features
- `method-injection` strategy
- `soon:` constructor injection strategy;
- `soon:` property injection strategy;
@@ -64,11 +72,11 @@
end
end
ServiceContainer = SmartCore::Container.define do
namespace(:rands) do
- register(:alphanum) { -> { SeureRandom.alphanumeric } }
+ register(:alphanum) { -> { SecureRandom.alphanumeric } }
register(:hex) { -> { SecureRandom.hex } }
end
end
GlobalContainer = SmartCore::Container.define do
@@ -120,10 +128,11 @@
## Roadmap
- **[0.3.0]** - support for default injection configuration which should be specified in `SmartCore::Injection` module inclusion (in addition to default containers)
- **[0.x.0]** - more docs, more examples, more tips-and-tricks :)
- **[0.x.0]** - migrate to GithubActions;
+- **[0.x.0]** - type signatures (rbs);
---
## Build
@@ -156,9 +165,15 @@
- Create new Pull Request
## License
Released under MIT License.
+
+## Supporting
+
+<a href="https://github.com/Cado-Labs">
+ <img src="https://github.com/Cado-Labs/cado-labs-logos/blob/main/cado_labs_logo.png" alt="Supported by Cado Labs" />
+</a>
## Authors
[Rustam Ibragimov](https://github.com/0exp)