README.md in smart_container-0.8.1 vs README.md in smart_container-0.9.0
- old
+ new
@@ -1,6 +1,6 @@
-# SmartCore::Container · [![Gem Version](https://badge.fury.io/rb/smart_container.svg)](https://badge.fury.io/rb/smart_container) [![Build Status](https://travis-ci.org/smart-rb/smart_container.svg?branch=master)](https://travis-ci.org/smart-rb/smart_container)
+# SmartCore::Container · [![Gem Version](https://badge.fury.io/rb/smart_container.svg)](https://badge.fury.io/rb/smart_container)
Thread-safe semanticaly-defined IoC/DI Container.
---
@@ -304,10 +304,12 @@
---
## Roadmap
+- migrate to Github Actions;
+
- convinient way to rebind registered dependnecies:
```ruby
# PoC
@@ -340,9 +342,20 @@
```
- container composition;
- support for fallback block in `.resolve` operation (similar to `Hash#fetch` works);
+
+- inline temporary dependency switch:
+
+```ruby
+with(logger: Logger.new, db: DB.new) do
+ # logger is a new logger
+ # db is a new db
+end
+
+# out of block: logger is an old logger, db is an old db
+```
---
## Contributing