From c587d91b52df1d99cfd64611bc7ca126c4377c35 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 7 Feb 2019 10:46:06 -0500 Subject: [PATCH] Dependency updates --- .gitignore | 1 + CHANGELOG.md | 2 ++ analysis_options.yaml | 4 ++++ example/main.dart | 0 pubspec.yaml | 22 ++++++++++++---------- 5 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 analysis_options.yaml create mode 100644 example/main.dart diff --git a/.gitignore b/.gitignore index f79b4bf5..fc12d1b3 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ crashlytics.properties crashlytics-build.properties fabric.properties +.dart_tool diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..6c8e8eea --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,2 @@ +# 2.0.0 +* Updates for Dart 2 and Angel 2. \ No newline at end of file diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 00000000..c230cee7 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:pedantic/analysis_options.yaml +analyzer: + strong-mode: + implicit-casts: false \ No newline at end of file diff --git a/example/main.dart b/example/main.dart new file mode 100644 index 00000000..e69de29b diff --git a/pubspec.yaml b/pubspec.yaml index b410aa0b..dec4d9b7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,14 @@ -author: "Tobe O " -description: "Angel CORS middleware." +author: Tobe O +description: Angel CORS middleware. environment: - sdk: ">=1.19.0" -homepage: "https://github.com/angel-dart/cors.git" -name: "angel_cors" -version: 1.0.0+2 + sdk: ">=2.0.0 <3.0.0" +homepage: https://github.com/angel-dart/cors.git +name: angel_cors +version: 2.0.0 dependencies: - angel_framework: "^1.0.0-dev" -dev_dependencies: - http: "^0.11.3+9" - test: "^0.12.17" + angel_framework: ^2.0.0-alpha +dev_dependencies: + angel_test: ^2.0.0 + http: ^0.12.0 + pedantic: ^1.0.0 + test: ^1.0.0