Commit Graph

29 Commits

Author SHA1 Message Date
Roman Mogilatov
81072832e4 Add deprecation warning when @inject is used 2016-09-16 16:02:59 +03:00
Roman Mogilatov
99b6e27ab4 Refactor injections 2016-05-29 16:39:39 +03:00
Roman Mogilatov
918335e0e4 Remove catalog bundles 2016-05-22 16:50:06 +03:00
Roman Mogilatov
7729d97a41 Make injections 2 times faster 2016-05-22 15:37:39 +03:00
Roman Mogilatov
2878ea5515 Drop method injections 2016-05-17 22:37:50 +03:00
Roman Mogilatov
9ef7a961f6 Update representation of injections 2015-12-09 19:28:52 +02:00
Roman Mogilatov
5bb20a9c2d Improve representation of injections 2015-12-07 14:31:51 +02:00
Roman Mogilatov
3c0c3b3abc Refactor tests imports 2015-11-23 21:45:58 +02:00
Roman Mogilatov
6dc007c8df Add functionality for using positional argument injections with @inject decorator 2015-10-23 14:44:36 +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
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
53025756d8 Fix bug with injections of catalog bundles 2015-10-19 10:47:24 +03:00
Roman Mogilatov
8ab0cc5e0e Fix PEP257 D211 error 2015-10-11 23:41:55 +03:00
Roman Mogilatov
1c55f9d645 Add functionality for @inject decorator to work with classes 2015-09-28 14:19:22 +03:00
Roman Mogilatov
ad2072688b Update test imports 2015-09-01 15:02:00 +03:00
Roman Mogilatov
6ac0e4a04e Add simplified syntax for @inject decorator 2015-09-01 00:30:38 +03:00
Roman Mogilatov
6d0f892f8a Rename Objects to Dependency Injector 2015-08-31 16:31:38 +03:00
Roman Mogilatov
498465b705 Moving @override decorator into catalogs module and @inject decorator into injections module 2015-08-03 12:57:42 +03:00
Roman Mogilatov
c824eae566 Renaming NewInstance provider to Factory provider 2015-05-14 11:35:41 +03:00
Roman Mogilatov
b0720cfc2c moving @override and @inject decorators to decorators module 2015-04-14 23:17:53 +03:00
Roman Mogilatov
b5c1bea18f Adding inject() decorator tests 2015-03-23 12:23:34 +02:00
Roman Mogilatov
b0c2005288 Adding tests for inject() decorator 2015-03-23 12:19:58 +02:00
Roman Mogilatov
1032143f5b Renaming InitArg to KwArg, adding @inject decorator 2015-03-23 01:04:18 +02:00
Roman Mogilatov
37f8382f4b Add tests for providers.Scoped & little test refactoring 2015-03-15 15:31:05 +02:00
Roman Mogilatov
0414ab5460 adding injections module unittests 2015-03-12 00:10:51 +02:00
Roman Mogilatov
911117f5a7 minor codestyle fixes for tests 2015-03-11 00:25:37 +02:00
Roman Mogilatov
54f35a5d35 adding some tests 2015-03-11 00:23:26 +02:00
Roman Mogilatov
13d6a0f667 adding .coveragerc and some tests 2015-03-10 16:12:42 +02:00