Skip to content

Commit 9c662bc

Browse files
authored
Small fixes before publish (flutter#16)
Fix dartlang URLs in README Fix long line in pubspec Validate hints and warnings on Travis Remove `new` from Example
1 parent a08c875 commit 9c662bc

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dart_task:
99
xvfb: false
1010
# Set concurrency to 1 to avoid flakes on Travis
1111
- test: -p firefox -j 1
12-
- dartanalyzer
12+
- dartanalyzer: --fatal-infos --fatal-warnings .
1313

1414
matrix:
1515
include:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ using [`BooleanSelector.evaluate()`][evaluate]. The variables may be supplied as
2121
a list of strings, or as a function that takes a variable name and returns its
2222
value. For example:
2323

24-
[parse]: https://www.dartdocs.org/documentation/boolean_selector/latest/boolean_selector/BooleanSelector/BooleanSelector.parse.html
24+
[parse]: https://pub.dev/documentation/boolean_selector/latest/boolean_selector/BooleanSelector/BooleanSelector.parse.html
2525

26-
[evaluate]: https://www.dartdocs.org/documentation/boolean_selector/latest/boolean_selector/BooleanSelector/evaluate.html
26+
[evaluate]: https://pub.dev/documentation/boolean_selector/latest/boolean_selector/BooleanSelector/evaluate.html
2727

2828
```dart
2929
import 'package:boolean_selector/boolean_selector.dart';

example/example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:boolean_selector/boolean_selector.dart';
22

33
void main(List<String> args) {
4-
var selector = new BooleanSelector.parse("(x && y) || z");
4+
var selector = BooleanSelector.parse("(x && y) || z");
55
print(selector.evaluate((variable) => args.contains(variable)));
66
}

pubspec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: boolean_selector
22
version: 1.0.5
3-
description: A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax.
3+
description: >-
4+
A flexible syntax for boolean expressions, based on a simplified version of
5+
Dart's expression syntax.
46
author: Dart Team <[email protected]>
57
homepage: https://github.com/dart-lang/boolean_selector
68

0 commit comments

Comments
 (0)