Skip to content

Commit

Permalink
Fix for Dart 2.2 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
shamblett authored and Steve Hamblett committed Feb 27, 2019
1 parent 08f3a07 commit 3d12b42
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: dart
dart:
# Install the latest stable release
- "2.1.1"
- stable
dart_task:
- test: --exclude-tags no-xvfb
xvfb: false
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#5.5.2
Fix for dart 2.2 usage

#5.5.1
Issue 81

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ class _DetachedSocket extends Stream<List<int>> implements Socket {
@override
bool setOption(SocketOption option, bool enabled) =>
_socket.setOption(option, enabled);

@override
Uint8List getRawOption(RawSocketOption option) =>
_socket.getRawOption(option);

@override
void setRawOption(RawSocketOption option) => _socket.setRawOption(option);
}

/// The MQTT secure connection class
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mqtt_client
description: A server side MQTT client for Dart supporting both secure sockets and websockets.
version: 5.5.1
version: 5.5.2
author: Steve Hamblett <[email protected]>
homepage: https://github.com/shamblett/mqtt_client

Expand Down

0 comments on commit 3d12b42

Please sign in to comment.