Skip to content

Commit

Permalink
chore: set max SDK version to <3.0.0 (flutter#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and kevmoo committed Jul 17, 2018
1 parent c60e39c commit 4539161
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.9.7+10

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

# 0.9.7+9

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

This file was deleted.

18 changes: 11 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: watcher
version: 0.9.7+9
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/watcher
version: 0.9.7+10

description: >
A file system watcher. It monitors changes to contents of directories and
sends notifications when files have been added, removed, or modified.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/watcher

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

dependencies:
async: '>=1.10.0 <3.0.0'
path: '>=0.9.0 <2.0.0'

dev_dependencies:
benchmark_harness: '^1.0.4'
test: '^0.12.29'
test_descriptor: '^1.0.0'
benchmark_harness: ^1.0.4
test: '>=0.12.42 <2.0.0'
test_descriptor: ^1.0.0
3 changes: 1 addition & 2 deletions test/directory_watcher/linux_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ void main() {
sharedTests();

test('DirectoryWatcher creates a LinuxDirectoryWatcher on Linux', () {
expect(
new DirectoryWatcher('.'), new isInstanceOf<LinuxDirectoryWatcher>());
expect(new DirectoryWatcher('.'), new TypeMatcher<LinuxDirectoryWatcher>());
});

test('emits events for many nested files moved out then immediately back in',
Expand Down
3 changes: 1 addition & 2 deletions test/directory_watcher/mac_os_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ void main() {
sharedTests();

test('DirectoryWatcher creates a MacOSDirectoryWatcher on Mac OS', () {
expect(
new DirectoryWatcher('.'), new isInstanceOf<MacOSDirectoryWatcher>());
expect(new DirectoryWatcher('.'), new TypeMatcher<MacOSDirectoryWatcher>());
});

test(
Expand Down
2 changes: 1 addition & 1 deletion test/directory_watcher/windows_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ void main() {

test('DirectoryWatcher creates a WindowsDirectoryWatcher on Windows', () {
expect(
new DirectoryWatcher('.'), new isInstanceOf<WindowsDirectoryWatcher>());
new DirectoryWatcher('.'), new TypeMatcher<WindowsDirectoryWatcher>());
});
}
2 changes: 0 additions & 2 deletions test/no_subscription/shared.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:async/async.dart';
import 'package:test/test.dart';
import 'package:watcher/watcher.dart';
Expand Down

0 comments on commit 4539161

Please sign in to comment.