Skip to content

Commit

Permalink
Remove upper case constants (flutter#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrhn authored and kevmoo committed May 15, 2018
1 parent 8cbd4e1 commit 107c312
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: dart

dart:
- dev
- stable

dart_task:
- test

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.2+1

* Updated SDK version to 2.0.0-dev.17.0

## 0.2.2

* Stop using comment-based generic syntax.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/web_socket_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class WebSocketHandler {

var protocol = _chooseProtocol(request);
request.hijack((channel) {
var sink = UTF8.encoder.startChunkedConversion(channel.sink);
var sink = utf8.encoder.startChunkedConversion(channel.sink);
sink.add("HTTP/1.1 101 Switching Protocols\r\n"
"Upgrade: websocket\r\n"
"Connection: Upgrade\r\n"
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: shelf_web_socket
version: 0.2.2
version: 0.2.2+1
author: "Dart Team <[email protected]>"
homepage: http://github.com/dart-lang/shelf_web_socket
description: >
Expand All @@ -12,4 +12,4 @@ dev_dependencies:
http: ">=0.10.0 <0.12.0"
test: "^0.12.0"
environment:
sdk: ">=1.21.0 <2.0.0"
sdk: ">=2.0.0-dev.17.0 <2.0.0"

0 comments on commit 107c312

Please sign in to comment.