Merge pull request #15 from send-to-friends/master

Fixed issues with README example
diff --git a/.gitignore b/.gitignore
index 7dbf035..ab3cb76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # Don’t commit the following directories created by pub.
 .buildlog
+.dart_tool/
 .pub/
 build/
 packages
@@ -12,4 +13,4 @@
 *.js.map
 
 # Include when developing application packages.
-pubspec.lock
\ No newline at end of file
+pubspec.lock
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b35be25..3397968 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.2.2+5
+
+* Allow `stream_channel` version 2.x
+
 ## 0.2.2+4
 
 * Fix the check for `onConnection` to check the number of arguments  and not
diff --git a/pubspec.yaml b/pubspec.yaml
index 77ee83f..310bb84 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,18 +1,19 @@
 name: shelf_web_socket
-version: 0.2.2+4
+version: 0.2.2+5
 
-description: A WebSocket handler for Shelf.
+description: >-
+  A shelf handler that wires up a listener for every connection.
 author: Dart Team <misc@dartlang.org>
-homepage: http://github.com/dart-lang/shelf_web_socket
+homepage: https://github.com/dart-lang/shelf_web_socket
 
 environment:
-  sdk: '>=2.0.0-dev.17.0 <3.0.0'
+  sdk: ">=2.0.0 <3.0.0"
 
 dependencies:
-  shelf: '>=0.7.0 <0.8.0'
-  stream_channel: ^1.4.0
+  shelf: ^0.7.0
   web_socket_channel: ^1.0.0
+  stream_channel: ">1.4.0 <3.0.0"
 
 dev_dependencies:
-  http: '>=0.10.0 <0.12.0'
-  test: '>=0.12.42 <2.0.0'
+  http: ">=0.10.0 <0.12.0"
+  test: ^1.0.0