From 2bfdae8949a683ba01627c7f826c6fc149b4d867 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Sun, 11 Jan 2015 18:14:15 +0200 Subject: [PATCH] updating readme --- README.md | 4 ++-- VERSION | 2 +- examples/concept.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 43563f30..0c92a574 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ assert b1 is not b2 assert a1.db is a2.db is b1.db is b2.db is AppCatalog.database() -# Dependency injection (The Python Way) into class. +# Dependencies injection (The Python Way) into class. class Consumer(object): dependencies = AppCatalog(AppCatalog.object_a, @@ -86,7 +86,7 @@ class Consumer(object): Consumer().test() -# Dependency injection (The Python Way) into a callback. +# Dependencies injection (The Python Way) into a callback. def consumer_callback(dependencies=AppCatalog(AppCatalog.object_a, AppCatalog.object_b)): a1 = dependencies.object_a() diff --git a/VERSION b/VERSION index 81340c7e..bbdeab62 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.4 +0.0.5 diff --git a/examples/concept.py b/examples/concept.py index 8cff5230..2b807f5f 100644 --- a/examples/concept.py +++ b/examples/concept.py @@ -49,7 +49,7 @@ assert b1 is not b2 assert a1.db is a2.db is b1.db is b2.db is AppCatalog.database() -# Dependency injection (The Python Way) into class. +# Dependencies injection (The Python Way) into class. class Consumer(object): dependencies = AppCatalog(AppCatalog.object_a, @@ -77,7 +77,7 @@ class Consumer(object): Consumer().test() -# Dependency injection (The Python Way) into a callback. +# Dependencies injection (The Python Way) into a callback. def consumer_callback(dependencies=AppCatalog(AppCatalog.object_a, AppCatalog.object_b)): a1 = dependencies.object_a()