Commit Graph

606 Commits

Author SHA1 Message Date
Roman Mogilatov
f090a73486 Add DynamicCatalog tests 2015-11-12 18:35:23 +02:00
Roman Mogilatov
2236d77313 Refactor DeclarativeCatalog 2015-11-12 16:56:00 +02:00
Roman Mogilatov
be1ff0445d Refactor DeclarativeCatalog 2015-11-12 13:57:33 +02:00
Roman Mogilatov
4252fbfe4c Implement DeclarativeCatalog.__repr__ and add some tests for it 2015-11-12 01:00:27 +02:00
Roman Mogilatov
3fc5f044f9 Update DeclarativeCatalog and Override tests 2015-11-11 21:25:41 +02:00
Roman Mogilatov
ed898f7fe2 Add UndefinedProviderError(Error, AttributeError) for proper work of hasattr() 2015-11-11 19:48:24 +02:00
Roman Mogilatov
9a617479cc Refactor CatalogBundle 2015-11-11 15:51:42 +02:00
Roman Mogilatov
7684bc7dcb Refactor DynamicCatalog 2015-11-11 15:45:39 +02:00
Roman Mogilatov
677e7143a2 Change CatalogBundle initialization procedure 2015-11-11 15:19:24 +02:00
Roman Mogilatov
548847f83a Remove required DynamicCatalog.name attribute 2015-11-10 19:47:59 +02:00
Roman Mogilatov
05d6db5664 Make some refactoring after DynamicCatalog implementation 2015-11-10 19:38:18 +02:00
Roman Mogilatov
b456d770b6 Implement DynamicCatalog 2015-11-10 17:58:04 +02:00
Roman Mogilatov
8b175f0b71 Refactor DeclarativeCatalog metaclass 2015-11-10 15:15:48 +02:00
Roman Mogilatov
7483e98f2b Merge remote-tracking branch 'origin/providers_to_catalogs_binding_restrictions' 2015-11-10 15:06:54 +02:00
Roman Mogilatov
c5602cf88b Change provider-to-catalog binding restrictions 2015-11-10 15:06:12 +02:00
Roman Mogilatov
0376bfeb10 Merge remote-tracking branch 'origin/providers_to_catalogs_binding_restrictions' 2015-11-10 15:01:27 +02:00
Roman Mogilatov
b076b871a1 Change provider-to-catalog binding restrictions 2015-11-10 15:01:06 +02:00
Roman Mogilatov
9f526a3ceb Merge remote-tracking branch 'origin/abstract_catalog_to_declarative_catalog_renaming' 2015-11-10 10:42:45 +02:00
Roman Mogilatov
68ce5c79ef Rename AbstractCatalog to DeclarativeCatalog 2015-11-10 10:42:29 +02:00
Roman Mogilatov
482fa566c5 Fix typy-hinting in catalog bundles example 2015-11-09 10:41:34 +02:00
Roman Mogilatov
b22b893623 0.10.5 release 2015-11-04 16:32:04 +02:00
Roman Mogilatov
addbd16b3b 0.10.4 release 2015-11-02 10:58:09 +02:00
Roman Mogilatov
dd4e6d4aa0 Remove VERSION file from MANIFEST.in 2015-11-02 10:56:36 +02:00
Roman Mogilatov
607e51e218 Update example docblocks 2015-10-26 12:52:52 +02:00
Roman Mogilatov
53f692a78c Fix bug with injecting entities with __getattr__ implementations 2015-10-23 18:07:52 +03:00
Roman Mogilatov
a42fefacef Update some examples 2015-10-23 17:05:24 +03:00
Roman Mogilatov
79bde335fa Add changelog for version 0.10.0 2015-10-23 16:49:07 +03:00
Roman Mogilatov
beb523a921 Merge remote-tracking branch 'origin/catalog_overriding_improvements' 2015-10-23 16:42:11 +03:00
Roman Mogilatov
b269023f7a Improve functionality of catalog overriding 2015-10-23 16:41:21 +03:00
Roman Mogilatov
f00b3612f8 Merge remote-tracking branch 'origin/package_versioning' 2015-10-23 15:20:46 +03:00
Roman Mogilatov
3fac75cb79 Move version number inside dependency_injector package 2015-10-23 15:20:25 +03:00
Roman Mogilatov
9a9861e4b0 Merge remote-tracking branch 'origin/inject_decorator_positional_args' 2015-10-23 15:04:33 +03:00
Roman Mogilatov
d07a2eae25 Update inject() decorator docs with positional argument injections example and some description 2015-10-23 15:04:04 +03:00
Roman Mogilatov
6dc007c8df Add functionality for using positional argument injections with @inject decorator 2015-10-23 14:44:36 +03:00
Roman Mogilatov
a37f1fc256 Fix Callable.injections attribute test 2015-10-23 09:59:25 +03:00
Roman Mogilatov
0da60aafef Merge remote-tracking branch 'origin/callable_injections_attribute' 2015-10-22 17:48:34 +03:00
Roman Mogilatov
5bdca32779 Add Callable.injections read-only attribute for getting a full list of Callable injections 2015-10-22 17:43:29 +03:00
Roman Mogilatov
2052992a99 Merge remote-tracking branch 'origin/callable_provider_positional_args' 2015-10-22 16:55:56 +03:00
Roman Mogilatov
dd5cc79dd1 Update docs of Callable provider with description of positional agrument injections and new example 2015-10-22 16:52:48 +03:00
Roman Mogilatov
59b98959bc Add support of positional argument injections for Callable provider
Also current commit contains:
- Some refactoring of internals
- Additional unit tests for Factory and Singleton providers
2015-10-21 11:47:37 +03:00
Roman Mogilatov
402539ed7f Merge remote-tracking branch 'origin/factory_and_singleton_positional_args' 2015-10-19 17:31:42 +03:00
Roman Mogilatov
cc29d68337 Update Factory docs about positional and keyword arguments 2015-10-19 17:29:00 +03:00
Roman Mogilatov
9b4a7bd28c Add additional unittests for full validation of Singleton provider 2015-10-19 15:41:16 +03:00
Roman Mogilatov
b61e3ee007 Fix test of Injection.value with catalog bundle 2015-10-19 14:53:38 +03:00
Roman Mogilatov
824ed4f3e9 Add support of positional args for Factory & Singleton providers 2015-10-19 14:50:15 +03:00
Roman Mogilatov
2a5ed703bf Merge remote-tracking branch 'origin/catalog_bundles' 2015-10-19 12:14:55 +03:00
Roman Mogilatov
7a4ffa140f Add functionality of checking catalog bundles ownership 2015-10-19 12:12:38 +03:00
Roman Mogilatov
017af8ff45 Update catalog bundle docs 2015-10-19 11:39:34 +03:00
Roman Mogilatov
c13bee6fb5 Add optimization for Injection.value property 2015-10-19 10:50:17 +03:00
Roman Mogilatov
53025756d8 Fix bug with injections of catalog bundles 2015-10-19 10:47:24 +03:00