From d50e448c45ae36c10d763d28cc67509e44cdd0b9 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 3 Jun 2017 13:59:55 -0400 Subject: [PATCH] 1.0.6 --- README.md | 2 +- lib/src/client.dart | 6 ++---- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e0b4714c..86e4605c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # angel_test -[![version 1.0.5+1](https://img.shields.io/badge/pub-1.0.5+1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_test) +[![version 1.0.6](https://img.shields.io/badge/pub-1.0.6-brightgreen.svg)](https://pub.dartlang.org/packages/angel_test) [![build status](https://travis-ci.org/angel-dart/test.svg)](https://travis-ci.org/angel-dart/test) Testing utility library for the Angel framework. diff --git a/lib/src/client.dart b/lib/src/client.dart index 7d717140..0f2ca9f1 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -5,9 +5,7 @@ import 'package:angel_client/base_angel_client.dart' as client; import 'package:angel_client/io.dart' as client; import 'package:angel_framework/angel_framework.dart'; import 'package:angel_websocket/io.dart' as client; -import 'package:http/src/base_request.dart' as http; -import 'package:http/src/response.dart' as http; -import 'package:http/src/streamed_response.dart' as http; +import 'package:http/http.dart' as http; import 'package:mock_request/mock_request.dart'; import 'package:web_socket_channel/web_socket_channel.dart'; import 'package:web_socket_channel/io.dart'; @@ -52,7 +50,7 @@ class TestClient extends client.BaseAngelClient { @override String authToken; - TestClient(this.server, {this.autoDecodeGzip: true}) : super(null, '/'); + TestClient(this.server, {this.autoDecodeGzip: true}) : super(new http.Client(), '/'); Future close() => server.close(); diff --git a/pubspec.yaml b/pubspec.yaml index fdea1229..a8e9f772 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: "Tobe O " description: "Testing utility library for the Angel framework." homepage: "https://github.com/angel-dart/test.git" name: "angel_test" -version: 1.0.5+1 +version: 1.0.6 dependencies: angel_client: "^1.0.0" angel_framework: "^1.0.0-dev"