Skip to content

Commit 11afe5e

Browse files
chalinkevmoo
authored andcommitted
chore: set max SDK version to <3.0.0 (#5)
1 parent e4b936c commit 11afe5e

File tree

6 files changed

+20
-23
lines changed

6 files changed

+20
-23
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1+
.dart_tool/
12
.packages
2-
.pub/
3-
build/
43
pubspec.lock

.travis.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@ dart:
99
- dev
1010
# See https://docs.travis-ci.com/user/languages/dart/ for details.
1111
dart_task:
12-
- test: --platform vm
13-
# Uncomment this line to run tests on the browser.
14-
# - test: --platform firefox
15-
16-
# Only run one instance of the formatter and the analyzer, rather than running
17-
# them against each Dart version.
18-
matrix:
19-
include:
20-
- dart: dev
21-
dart_task: dartfmt
22-
- dart: dev
23-
dart_task: dartanalyzer
12+
- dartfmt
13+
- dartanalyzer
14+
# TODO: reinstate tests once https://github.com/dart-lang/http_retry/issues/6 is fixed
15+
# - test: --platform vm
16+
# xvfb: false
17+
# # Uncomment this line to run tests on the browser.
18+
# - test: --platform firefox
2419

2520
# Only building master means that we don't run two builds for each pull request.
2621
branches:

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
## 0.1.1+2
2+
3+
* Set max SDK version to `<3.0.0`, and adjust other dependencies.
4+
15
## 0.1.1+1
26

3-
* Updated SDK version to 2.0.0-dev.17.0
7+
* Update SDK version to 2.0.0-dev.17.0.
48

59
## 0.1.1
610

analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
analyzer:
2-
strong-mode: true

pubspec.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: http_retry
2-
version: 0.1.1+1
2+
version: 0.1.1+2
3+
34
description: HTTP client middleware that automatically retries requests.
45
author: Dart Team <[email protected]>
56
homepage: https://github.com/dart-lang/http_retry
67

78
environment:
8-
sdk: '>=2.0.0-dev.17.0 <2.0.0'
9+
sdk: '>=2.0.0-dev.17.0 <3.0.0'
910

1011
dependencies:
11-
async: ">=1.2.0 <=3.0.0"
12-
http: "^0.11.0"
12+
async: ^2.0.7
13+
http: ^0.11.0
1314

1415
dev_dependencies:
15-
fake_async: "^0.1.2"
16-
test: "^0.12.0"
16+
fake_async: ^0.1.2
17+
test: ^1.2.0

test/http_retry_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ void main() {
8282
});
8383

8484
test("doesn't retry a request where whenError() returns false", () async {
85-
var count = 0;
8685
var client = new RetryClient(
8786
new MockClient(expectAsync1((request) async => throw "oh no")),
8887
whenError: (error, _) => error == "oh yeah",

0 commit comments

Comments
 (0)