Commit graph

63 commits

Author SHA1 Message Date
Mike Bierlee c4c57da9eb Clear all registrations after test is done 2014-06-22 17:24:08 +02:00
Mike Bierlee 627d165d6f Add mixin for boilerplate workaround 2014-06-22 17:16:07 +02:00
Mike Bierlee 06024e55db Use typeof instead 2014-06-22 16:52:50 +02:00
Mike Bierlee 7afefd9d9c Add workaround to readme 2014-06-22 16:35:08 +02:00
Mike Bierlee 47d7f72fae Add test for resolve by interface workaround 2014-06-22 16:33:15 +02:00
Mike Bierlee 17c833a114 Use auto instead of explicit type in autowiretest 2014-06-22 16:13:25 +02:00
Mike Bierlee ad0f36b19a Mark bug test-case as being a bug 2014-06-14 16:05:04 +02:00
Mike Bierlee 2db7b7644a Add build status to readme 2014-06-14 15:47:24 +02:00
Mike Bierlee 5808916bdf Add travis-ci configuration 2014-06-14 15:32:23 +02:00
Mike Bierlee e3124b53e6 Prepare release 0.1.1 2014-06-14 00:05:47 +02:00
Mike Bierlee f97a689f29 Accept defeat and recognize resolve by supertype/interface bug
For now....
2014-06-13 23:49:34 +02:00
Mike Bierlee af7d6a7872 Also autowire baseclass members 2014-06-12 01:46:05 +02:00
Mike Bierlee 0a0ac1bba2 Add more future work 2014-06-08 17:40:21 +02:00
Mike Bierlee f123109a5e Add addresses to debug info when autowiring 2014-06-08 15:56:24 +02:00
Mike Bierlee 034837d752 Simplyfy reference to member 2014-06-08 14:53:09 +02:00
Mike Bierlee 81d0323722 Simpify instructions for adding Poodining to a DUB project 2014-06-04 01:44:00 +02:00
Mike Bierlee 5a54f395bc Fix minor errors in README 2014-06-04 01:02:09 +02:00
Mike Bierlee 02445bdba8 Add release configuration 2014-06-04 00:22:25 +02:00
Mike Bierlee b66b9d5def Fix autowiring deep circular dependencies 2014-06-04 00:16:24 +02:00
Mike Bierlee b88745130a Add readme and changelog 2014-06-02 01:45:00 +02:00
Mike Bierlee 40e9ae4027 Test circular dependency by third-degree
Look I just had to made a term up for these kind of dependencies, okay?
2014-06-02 00:03:03 +02:00
Mike Bierlee a53080c109 Prevent endless recursion on autowiring circular dependencies 2014-06-01 23:49:12 +02:00
Mike Bierlee b0df553ca9 Add test for re-wiring existing members 2014-06-01 23:48:19 +02:00
Mike Bierlee 6b82c35b2e Print autowirings in debug mode 2014-06-01 22:44:02 +02:00
Mike Bierlee 666df9422b Add flavor to project description 2014-06-01 22:10:18 +02:00
Mike Bierlee e5484edb19 Apply open-source MIT license 2014-06-01 19:05:02 +02:00
Mike Bierlee 906ac6246c Ignore lib and dub folder 2014-06-01 18:38:49 +02:00
Mike Bierlee 4b3411f183 Tweak copyright 2014-06-01 00:11:14 +02:00
Mike Bierlee 121d871572 Replace type validity check with template parameter specialization 2014-05-31 23:37:02 +02:00
Mike Bierlee b78e05455d Add removing of registrations 2014-05-31 23:22:29 +02:00
Mike Bierlee 60b1149aea Add test for autowiring circular dependencies 2014-05-30 01:19:51 +02:00
Mike Bierlee f4ad79003e Remove left-over debug import 2014-05-30 01:19:28 +02:00
Mike Bierlee 14d504a752 Change autowire UDA to be a class instead of enum 2014-05-30 01:09:37 +02:00
Mike Bierlee ec5cad2bbf Add test for autowiring member with different attribute 2014-05-30 01:04:40 +02:00
Mike Bierlee 58d0c2b6e0 Add test for autowiring unregistered types 2014-05-30 00:51:03 +02:00
Mike Bierlee 52936379e4 Autowire upon resolving instances 2014-05-30 00:42:58 +02:00
Mike Bierlee 9e59dc0a37 Fix line delimiter 2014-05-30 00:34:49 +02:00
Mike Bierlee 35acaa84d1 Only autowire members which are null 2014-05-30 00:33:08 +02:00
Mike Bierlee 4957b67b49 Test that you can autowire members declared as an interface type 2014-05-27 02:02:07 +02:00
Mike Bierlee a9e5b315e3 Add autowiring of concrete types in existing instances 2014-05-27 01:54:08 +02:00
Mike Bierlee 7d1fe2deda Rename RegistationScope -> CreationScope 2014-05-21 00:27:38 +02:00
Mike Bierlee cbecebf43f Add existing instance registration scope 2014-05-21 00:26:44 +02:00
Mike Bierlee bb0a8d5746 Add registration scope for existing instances 2014-05-20 23:54:45 +02:00
Mike Bierlee abdcd39e9e Add scope setter for new instance scope 2014-05-20 23:36:33 +02:00
Mike Bierlee 8b5122ad91 Add new instance registration scope 2014-05-20 23:31:28 +02:00
Mike Bierlee aed449e565 Add test for registering class with single instance scope 2014-05-20 23:07:42 +02:00
Mike Bierlee 2bced68e43 Change reference into class, makes it more easily passed as reference 2014-05-20 23:06:27 +02:00
Mike Bierlee 64e25715cf Add scope setter for single instance scopes 2014-05-20 22:12:14 +02:00
Mike Bierlee 4f2f0fbe59 Add single instance scope, make it the default scope of new registrations 2014-05-20 22:03:50 +02:00
Mike Bierlee 0c084a43b9 Add scope to registration, check for unset scope 2014-05-20 21:54:11 +02:00