From fe1c8a93332800a5df0cf00da938098ea17d8464 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 29 Apr 2017 00:18:45 -0400 Subject: [PATCH] Fixed dates --- .idea/workspace.xml | 99 ++++++++++++++++++++++++++++----------------- README.md | 2 +- lib/hooks.dart | 8 ++-- pubspec.yaml | 2 +- 4 files changed, 68 insertions(+), 43 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cb8d00c1..d46447e8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -29,7 +29,7 @@ - + @@ -58,21 +58,36 @@ - + - - + + + + + + + + + + + + + + + + + - - + + @@ -165,8 +180,8 @@ @@ -177,10 +192,10 @@ DEFINITION_ORDER - @@ -200,6 +215,8 @@ + + @@ -282,8 +299,6 @@ - - @@ -415,7 +430,8 @@ - + + 1481237183504 @@ -487,7 +503,14 @@ - @@ -523,7 +546,7 @@ - @@ -535,22 +558,23 @@ - + + + - - - - - + + - + + + @@ -576,7 +600,8 @@ - @@ -936,7 +961,7 @@ - + @@ -944,8 +969,16 @@ - - + + + + + + + + + + @@ -954,22 +987,14 @@ - + - + - - - - - - - - \ No newline at end of file diff --git a/README.md b/README.md index 0972efcf..8ae7647e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_framework -[![pub 1.0.2+3](https://img.shields.io/badge/pub-1.0.2+3-brightgreen.svg)](https://pub.dartlang.org/packages/angel_framework) +[![pub 1.0.2+4](https://img.shields.io/badge/pub-1.0.2+4-brightgreen.svg)](https://pub.dartlang.org/packages/angel_framework) [![build status](https://travis-ci.org/angel-dart/framework.svg)](https://travis-ci.org/angel-dart/framework) A high-powered HTTP server with support for dependency injection, sophisticated routing and more. diff --git a/lib/hooks.dart b/lib/hooks.dart index 6ab06f43..3e7c7ee0 100644 --- a/lib/hooks.dart +++ b/lib/hooks.dart @@ -228,9 +228,9 @@ HookedServiceEventListener addCreatedAt({ if (assign != null) return assign(obj, now); else if (obj is Map) - obj.remove(name); + obj[name] = now; else if (obj is Extensible) - obj..properties.remove(name); + obj..properties[name] = now; else { try { reflect(obj).setField(new Symbol(name), now); @@ -279,9 +279,9 @@ HookedServiceEventListener addUpdatedAt({ if (assign != null) return assign(obj, now); else if (obj is Map) - obj.remove(name); + obj[name] = now; else if (obj is Extensible) - obj..properties.remove(name); + obj..properties[name] = now; else { try { reflect(obj).setField(new Symbol(name), now); diff --git a/pubspec.yaml b/pubspec.yaml index f6aef7a2..6dec5e81 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.2+3 +version: 1.0.2+4 description: A high-powered HTTP server with DI, routing and more. author: Tobe O homepage: https://github.com/angel-dart/angel_framework