Skip to content

Commit 56338f7

Browse files
chalinkevmoo
authored andcommitted
chore: set max SDK version to <3.0.0 (flutter#10)
1 parent 0a85e41 commit 56338f7

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,11 @@ language: dart
33
dart:
44
- dev
55
dart_task:
6+
# TODO: Only run dartfmt and dartanalyzer over dev release once Dart 2 stable is out
7+
- dartfmt
8+
- dartanalyzer
69
- test
710

8-
matrix:
9-
include:
10-
# Only validate formatting using the dev release
11-
- dart: dev
12-
dart_task: dartfmt
13-
- dart: dev
14-
dart_task: analyzer
15-
1611
# Only building master means that we don't run two builds for each pull request.
1712
branches:
1813
only: [master]

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
## 0.2.2+3
2+
3+
* Set max SDK version to `<3.0.0`, and adjust other dependencies.
4+
15
## 0.2.2+2
26

37
* Stopped using deprected `HTML_ESCAPE` constant name.
48

59
## 0.2.2+1
610

7-
* Updated SDK version to 2.0.0-dev.17.0
11+
* Update SDK version to 2.0.0-dev.17.0.
812

913
## 0.2.2
1014

analysis_options.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

pubspec.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: shelf_web_socket
2-
version: 0.2.2+2
3-
author: "Dart Team <[email protected]>"
2+
version: 0.2.2+3
3+
4+
description: A WebSocket handler for Shelf.
5+
author: Dart Team <[email protected]>
46
homepage: http://github.com/dart-lang/shelf_web_socket
5-
description: >
6-
A WebSocket handler for Shelf.
7+
8+
environment:
9+
sdk: '>=2.0.0-dev.17.0 <3.0.0'
10+
711
dependencies:
8-
shelf: ">=0.7.0 <0.8.0"
9-
stream_channel: "^1.4.0"
10-
web_socket_channel: "^1.0.0"
12+
shelf: '>=0.7.0 <0.8.0'
13+
stream_channel: ^1.4.0
14+
web_socket_channel: ^1.0.0
15+
1116
dev_dependencies:
12-
http: ">=0.10.0 <0.12.0"
13-
test: "^0.12.0"
14-
environment:
15-
sdk: ">=2.0.0-dev.17.0 <2.0.0"
17+
http: '>=0.10.0 <0.12.0'
18+
test: '>=0.12.42 <2.0.0'

test/web_socket_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void main() {
178178
}
179179

180180
Matcher hasStatus(int status) => completion(predicate((response) {
181-
expect(response, new isInstanceOf<http.Response>());
181+
expect(response, new TypeMatcher<http.Response>());
182182
expect(response.statusCode, equals(status));
183183
return true;
184184
}));

0 commit comments

Comments
 (0)