Skip to content

Commit

Permalink
version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kudera committed Jan 12, 2014
1 parent dce9fb5 commit 3cebf4a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ or create service from other service (for example from factory)
}
```

Now this `foreignLibrary` will gets your `translator` service in constructor.

## Default settings

You can change default behavior of some options in your config file.
Expand Down Expand Up @@ -521,6 +519,16 @@ $ npm test

## Changelog

* 2.3.0
+ Added option for services derived from other services
+ Support for calling methods from other services in config
+ Some optimization
+ exposed [easy-configuration](https://github.com/sakren/node-easy-configuration) into dependency-injection/Configuration
+ DIConfigurator renamed to DIFactory (DIConfigurator is now deprecated)
+ Support for services from npm modules
+ Default base path for services in config file is dir name of config file
+ Updated dependencies

* 2.2.0
+ Relative paths to config files
+ Little updates in tests
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dependency-injection",
"description": "Dependency injection with configuration and autowire for node js and browser",
"version": "2.2.0",
"version": "2.3.0",
"author": {
"name": "David Kudera",
"email": "sakren@gmail.com"
Expand All @@ -18,7 +18,7 @@
},
"license": "MIT",
"engines": {
"node": "*"
"node": ">=0.9"
},
"main": "./lib/DI",
"dependencies": {
Expand All @@ -27,7 +27,7 @@
},
"devDependencies": {
"chai": "~1.8.1",
"mocha": "~1.16.2",
"mocha": "~1.17.0",
"mocha-phantomjs": "~3.3.1",
"phantomjs": "~1.9.2-6"
},
Expand Down
6 changes: 3 additions & 3 deletions test/browser/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@
return {
"name": "dependency-injection",
"description": "Dependency injection with configuration and autowire for node js and browser",
"version": "2.2.0",
"version": "2.3.0",
"author": {
"name": "David Kudera",
"email": "sakren@gmail.com"
Expand All @@ -2540,7 +2540,7 @@
},
"devDependencies": {
"chai": "~1.8.1",
"mocha": "~1.16.2",
"mocha": "~1.17.0",
"mocha-phantomjs": "~3.3.1",
"phantomjs": "~1.9.2-6"
},
Expand Down Expand Up @@ -2636,7 +2636,7 @@
, 'callsite': function(exports, module) { module.exports = window.require('callsite/index.js'); }

});
require.__setStats({"/lib/Service.js":{"atime":1389546266000,"mtime":1389546243000,"ctime":1389546243000},"/lib/Helpers.js":{"atime":1389524439000,"mtime":1389524436000,"ctime":1389524436000},"/lib/Defaults.js":{"atime":1389471498000,"mtime":1389471491000,"ctime":1389471491000},"/lib/DI.js":{"atime":1389547195000,"mtime":1389547074000,"ctime":1389547074000},"easy-configuration/lib/EasyConfiguration.js":{"atime":1389471395000,"mtime":1389106575000,"ctime":1389113763000},"recursive-merge/lib/Merge.js":{"atime":1389471642000,"mtime":1385409966000,"ctime":1389113764000},"easy-configuration/lib/Extension.js":{"atime":1389471395000,"mtime":1389093412000,"ctime":1389113763000},"easy-configuration/lib/Helpers.js":{"atime":1389471396000,"mtime":1389093412000,"ctime":1389113763000},"callsite/index.js":{"atime":1389471642000,"mtime":1359062982000,"ctime":1389113763000},"/lib/DIFactory.js":{"atime":1389547195000,"mtime":1389547189000,"ctime":1389547189000},"/test/browser/tests/DI.coffee":{"atime":1389543371000,"mtime":1389543363000,"ctime":1389543363000},"/test/browser/tests/DIFactory.coffee":{"atime":1389547225000,"mtime":1389547221000,"ctime":1389547221000},"/test/browser/tests/Helpers.coffee":{"atime":1389471642000,"mtime":1389113676000,"ctime":1389113676000},"/DI.js":{"atime":1389519060000,"mtime":1385309217000,"ctime":1385309217000},"/DIFactory.js":{"atime":1389520197000,"mtime":1389520197000,"ctime":1389520197000},"/Configuration.js":{"atime":1389520197000,"mtime":1389520197000,"ctime":1389520197000},"/test/data/Application.coffee":{"atime":1389471642000,"mtime":1388270225000,"ctime":1388270225000},"/test/data/AutowirePath.coffee":{"atime":1389471642000,"mtime":1388270225000,"ctime":1388270225000},"/test/data/Http.coffee":{"atime":1389544796000,"mtime":1389544230000,"ctime":1389544230000},"/test/data/HttpFactory.coffee":{"atime":1389545973000,"mtime":1389545972000,"ctime":1389545972000},"/test/data/config.json":{"atime":1389471642000,"mtime":1388272273000,"ctime":1388272273000},"/test/data/derivedArguments.json":{"atime":1389544939000,"mtime":1389544933000,"ctime":1389544933000},"/test/data/derivedService.json":{"atime":1389547328000,"mtime":1389547328000,"ctime":1389547328000},"/test/data/relative.json":{"atime":1389480333000,"mtime":1389480333000,"ctime":1389480333000},"/test/data/sections.json":{"atime":1389471642000,"mtime":1389113676000,"ctime":1389113676000},"callsite/package.json":{"atime":1389471642000,"mtime":1389113763000,"ctime":1389113763000},"/package.json":{"atime":1389544858000,"mtime":1389544843000,"ctime":1389544843000},"easy-configuration/package.json":{"atime":1389471642000,"mtime":1389113763000,"ctime":1389113763000}});
require.__setStats({"/lib/Service.js":{"atime":1389547936000,"mtime":1389547561000,"ctime":1389547561000},"/lib/Helpers.js":{"atime":1389547936000,"mtime":1389547561000,"ctime":1389547561000},"/lib/Defaults.js":{"atime":1389471498000,"mtime":1389471491000,"ctime":1389471491000},"/lib/DI.js":{"atime":1389547936000,"mtime":1389547561000,"ctime":1389547561000},"easy-configuration/lib/EasyConfiguration.js":{"atime":1389471395000,"mtime":1389106575000,"ctime":1389113763000},"recursive-merge/lib/Merge.js":{"atime":1389471642000,"mtime":1385409966000,"ctime":1389113764000},"easy-configuration/lib/Extension.js":{"atime":1389471395000,"mtime":1389093412000,"ctime":1389113763000},"easy-configuration/lib/Helpers.js":{"atime":1389471396000,"mtime":1389093412000,"ctime":1389113763000},"callsite/index.js":{"atime":1389471642000,"mtime":1359062982000,"ctime":1389113763000},"/lib/DIFactory.js":{"atime":1389548186000,"mtime":1389548165000,"ctime":1389548165000},"/test/browser/tests/DI.coffee":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/browser/tests/DIFactory.coffee":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/browser/tests/Helpers.coffee":{"atime":1389471642000,"mtime":1389113676000,"ctime":1389113676000},"/DI.js":{"atime":1389519060000,"mtime":1385309217000,"ctime":1385309217000},"/DIFactory.js":{"atime":1389520197000,"mtime":1389520197000,"ctime":1389520197000},"/Configuration.js":{"atime":1389520197000,"mtime":1389520197000,"ctime":1389520197000},"/test/data/Application.coffee":{"atime":1389471642000,"mtime":1388270225000,"ctime":1388270225000},"/test/data/AutowirePath.coffee":{"atime":1389471642000,"mtime":1388270225000,"ctime":1388270225000},"/test/data/Http.coffee":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/data/HttpFactory.coffee":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/data/config.json":{"atime":1389471642000,"mtime":1388272273000,"ctime":1388272273000},"/test/data/derivedArguments.json":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/data/derivedService.json":{"atime":1389547561000,"mtime":1389547561000,"ctime":1389547561000},"/test/data/relative.json":{"atime":1389480333000,"mtime":1389480333000,"ctime":1389480333000},"/test/data/sections.json":{"atime":1389471642000,"mtime":1389113676000,"ctime":1389113676000},"callsite/package.json":{"atime":1389471642000,"mtime":1389113763000,"ctime":1389113763000},"/package.json":{"atime":1389548394000,"mtime":1389548393000,"ctime":1389548393000},"easy-configuration/package.json":{"atime":1389471642000,"mtime":1389113763000,"ctime":1389113763000}});
require.version = '5.5.1';

/** run section **/
Expand Down

0 comments on commit 3cebf4a

Please sign in to comment.