Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Upgraded to di 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
luizmineo committed Jul 31, 2014
1 parent 1ee429a commit 1c82350
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import 'package:crypto/crypto.dart';
import 'package:stack_trace/stack_trace.dart';

import 'package:di/di.dart';
import 'package:di/auto_injector.dart';

import 'query_map.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/setup_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void _scanHandlers([List<Symbol> libraries]) {
});

_modules.add(baseModule);
_injector = defaultInjector(modules: _modules);
_injector = new ModuleInjector(_modules);

routes.forEach((r) => _configureTarget(manager.serverMetadata, r.metadata,
r.lib.def, r.method, urlPrefix: r.lib.conf.urlPrefix));
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: redstone
version: 0.5.9
version: 0.5.10
author: Luiz Mineo <[email protected]>
description: A metadata driven microframework for Dart
homepage: http://redstonedart.org
Expand All @@ -9,11 +9,11 @@ dependencies:
collection: '>=0.9.3+1 <0.10.0'
crypto: '>=0.9.0 <0.10.0'
grinder: '>=0.5.2 <0.6.0'
route_hierarchical: '>=0.4.20 <0.5.0'
di: ">=0.0.40 <2.0.0-alpha.1"
shelf: ">=0.5.4+1 <0.6.0"
route_hierarchical: '>=0.4.21 <0.5.0'
di: ">=2.0.1 <3.0.0"
shelf: ">=0.5.4+2 <0.6.0"
mime: ">=0.9.0+1 <0.10.0"
http: ">=0.11.1 <0.12.0"
http: ">=0.11.1+1 <0.12.0"
stack_trace: ">=0.9.1 <2.0.0"
dev_dependencies:
unittest: '>=0.10.0 <0.12.0'
unittest: '>=0.11.0+3 <0.12.0'

0 comments on commit 1c82350

Please sign in to comment.