Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: set max SDK version to <3.0.0 #17

Merged
merged 2 commits into from
Jul 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: dart

dart: 2.0.0-dev.61.0
dart: dev

env:
global:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

- Set max SDK version to <3.0.0

## 2.0.0, 2.0.0+1

- First Dart-2-only version.
Expand Down
2 changes: 0 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
analyzer:
strong-mode: true
linter:
rules:
- always_declare_return_types
Expand Down
2 changes: 1 addition & 1 deletion lib/linkcheck.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const helpFlag = "help";
const hostsFlag = "hosts";
const inputFlag = "input-file";
const skipFlag = "skip-file";
const version = "2.0.0+1";
const version = "2.0.1";
const versionFlag = "version";
final _portOnlyRegExp = new RegExp(r"^:\d+$");

Expand Down
4 changes: 1 addition & 3 deletions lib/src/crawl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@ Future<CrawlResult> crawl(
count += 1;
print("Server check for ${result.host} complete: "
"${result.didNotConnect ? 'didn\'t connect' : 'connected'}, "
"${result.robotsTxtContents.isEmpty
? 'no robots.txt'
: 'robots.txt found'}.");
"${result.robotsTxtContents.isEmpty ? 'no robots.txt' : 'robots.txt found'}.");
} else {
if (ansiTerm) {
cursor.moveLeft(count.toString().length);
Expand Down
8 changes: 2 additions & 6 deletions lib/src/writer_report.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,9 @@ void printWithoutAnsi(Uri uri, List<Link> broken, Stdout stdout) {
":${link.origin.span.start.column}) "
"$tag"
"=> ${link.destination.url}"
"${link.fragment == null
? ''
: '#' + link.fragment} "
"${link.fragment == null ? '' : '#' + link.fragment} "
"(${link.destination.statusDescription}"
"${!link.destination.isBroken && link.breaksAnchor
? ' but missing anchor'
: ''}"
"${!link.destination.isBroken && link.breaksAnchor ? ' but missing anchor' : ''}"
")");
if (link.destination.isRedirected) {
print(" - redirect path:");
Expand Down
48 changes: 24 additions & 24 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "0.32.1"
version: "0.32.3"
args:
dependency: "direct main"
description:
Expand All @@ -28,14 +28,14 @@ packages:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
version: "1.0.4"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
version: "1.1.2"
collection:
dependency: transitive
description:
Expand Down Expand Up @@ -63,14 +63,14 @@ packages:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
version: "2.0.6"
csslib:
dependency: "direct main"
description:
name: csslib
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.4"
version: "0.14.4+1"
dhttpd:
dependency: "direct dev"
description:
Expand All @@ -84,7 +84,7 @@ packages:
name: front_end
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.1"
version: "0.1.3"
glob:
dependency: "direct main"
description:
Expand All @@ -105,7 +105,7 @@ packages:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.11.3+16"
version: "0.11.3+17"
http_multi_server:
dependency: transitive
description:
Expand All @@ -126,7 +126,7 @@ packages:
name: io
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.2+1"
version: "0.3.3"
js:
dependency: transitive
description:
Expand All @@ -147,7 +147,7 @@ packages:
name: kernel
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.1"
version: "0.3.3"
logging:
dependency: "direct main"
description:
Expand All @@ -161,7 +161,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.3"
version: "0.12.3+1"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -189,14 +189,14 @@ packages:
name: node_preamble
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.2"
version: "1.4.3"
package_config:
dependency: transitive
description:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
version: "1.0.4"
package_resolver:
dependency: transitive
description:
Expand All @@ -217,7 +217,7 @@ packages:
name: plugin
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0+2"
version: "0.2.0+3"
pool:
dependency: transitive
description:
Expand All @@ -238,7 +238,7 @@ packages:
name: shelf
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.3+1"
version: "0.7.3+3"
shelf_packages_handler:
dependency: transitive
description:
Expand All @@ -252,7 +252,7 @@ packages:
name: shelf_static
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.7+1"
version: "0.2.8"
shelf_web_socket:
dependency: transitive
description:
Expand All @@ -273,7 +273,7 @@ packages:
name: source_maps
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.5"
version: "0.10.7"
source_span:
dependency: "direct main"
description:
Expand Down Expand Up @@ -308,14 +308,14 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.0.1"
test:
dependency: "direct dev"
description:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.3.0"
typed_data:
dependency: transitive
description:
Expand All @@ -329,7 +329,7 @@ packages:
name: utf
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.0+4"
version: "0.9.0+5"
vector_math:
dependency: transitive
description:
Expand All @@ -343,27 +343,27 @@ packages:
name: vm_service_client
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.4+3"
version: "0.2.5"
watcher:
dependency: transitive
description:
name: watcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+8"
version: "0.9.7+9"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.8"
version: "1.0.9"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.14"
version: "2.1.15"
sdks:
dart: ">=2.0.0-dev.62.0 <=2.0.0-dev.64.1"
dart: ">=2.0.0-dev.62.0 <=2.0.0-dev.69.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: linkcheck
version: 2.0.0+1 # Don't forget to update in lib/linkcheck.dart, too.
version: 2.0.1 # Don't forget to update in lib/linkcheck.dart, too.

description: A very fast link-checker.

homepage: https://github.com/filiph/linkcheck
author: 'Filip Hracek <[email protected]>'

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

dependencies:
args: ^1.4.3
Expand Down