Skip to content

Commit

Permalink
chore: set max SDK version to <3.0.0 (flutter#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and kevmoo committed Jul 17, 2018
1 parent 0a85e41 commit 56338f7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ language: dart
dart:
- dev
dart_task:
# TODO: Only run dartfmt and dartanalyzer over dev release once Dart 2 stable is out
- dartfmt
- dartanalyzer
- test

matrix:
include:
# Only validate formatting using the dev release
- dart: dev
dart_task: dartfmt
- dart: dev
dart_task: analyzer

# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
## 0.2.2+3

* Set max SDK version to `<3.0.0`, and adjust other dependencies.

## 0.2.2+2

* Stopped using deprected `HTML_ESCAPE` constant name.

## 0.2.2+1

* Updated SDK version to 2.0.0-dev.17.0
* Update SDK version to 2.0.0-dev.17.0.

## 0.2.2

Expand Down
2 changes: 0 additions & 2 deletions analysis_options.yaml

This file was deleted.

25 changes: 14 additions & 11 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: shelf_web_socket
version: 0.2.2+2
author: "Dart Team <misc@dartlang.org>"
version: 0.2.2+3

description: A WebSocket handler for Shelf.
author: Dart Team <misc@dartlang.org>
homepage: http://github.com/dart-lang/shelf_web_socket
description: >
A WebSocket handler for Shelf.

environment:
sdk: '>=2.0.0-dev.17.0 <3.0.0'

dependencies:
shelf: ">=0.7.0 <0.8.0"
stream_channel: "^1.4.0"
web_socket_channel: "^1.0.0"
shelf: '>=0.7.0 <0.8.0'
stream_channel: ^1.4.0
web_socket_channel: ^1.0.0

dev_dependencies:
http: ">=0.10.0 <0.12.0"
test: "^0.12.0"
environment:
sdk: ">=2.0.0-dev.17.0 <2.0.0"
http: '>=0.10.0 <0.12.0'
test: '>=0.12.42 <2.0.0'
2 changes: 1 addition & 1 deletion test/web_socket_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void main() {
}

Matcher hasStatus(int status) => completion(predicate((response) {
expect(response, new isInstanceOf<http.Response>());
expect(response, new TypeMatcher<http.Response>());
expect(response.statusCode, equals(status));
return true;
}));

0 comments on commit 56338f7

Please sign in to comment.