From 9aab0cec4f6f34e39b6e7d27f34a86823c3fa615 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Thu, 2 Mar 2017 16:30:27 -0500 Subject: [PATCH] 1.0.1 --- README.md | 2 +- pubspec.yaml | 2 +- test/callback_test.dart | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 02700037..bcbfcc77 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_auth -[![version 1.0.0](https://img.shields.io/badge/version-1.0.0-brightgreen.svg)](https://pub.dartlang.org/packages/angel_auth) +[![version 1.0.1](https://img.shields.io/badge/version-1.0.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_auth) ![build status](https://travis-ci.org/angel-dart/auth.svg?branch=master) A complete authentication plugin for Angel. Inspired by Passport. diff --git a/pubspec.yaml b/pubspec.yaml index 08920fca..be08ab4f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: angel_auth description: A complete authentication plugin for Angel. -version: 1.0.0 +version: 1.0.1 author: Tobe O homepage: https://github.com/angel-dart/angel_auth environment: diff --git a/test/callback_test.dart b/test/callback_test.dart index 70173613..0c24cc40 100644 --- a/test/callback_test.dart +++ b/test/callback_test.dart @@ -1,10 +1,11 @@ import 'dart:io'; import 'package:angel_auth/angel_auth.dart'; import 'package:angel_framework/angel_framework.dart'; +import 'package:angel_framework/common.dart'; import 'package:http/http.dart' as http; import 'package:test/test.dart'; -class User extends MemoryModel { +class User extends Model { String username, password; User({this.username, this.password}); @@ -19,7 +20,7 @@ main() { setUp(() async { app = new Angel(); - app.use('/users', new MemoryService()); + app.use('/users', new TypedService(new MapService())); await app .service('users')