From ff9224b722e8d04451c821b01095fe1ef0f8f2ee Mon Sep 17 00:00:00 2001 From: Moritz Fink Date: Fri, 16 Sep 2022 06:56:58 +0200 Subject: [PATCH 1/3] Prepare release 0.0.2 --- .github/workflows/runTests.yml | 5 ++++- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index fc6a88a..fa7079d 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -2,7 +2,7 @@ name: Run tests on: push: - branches: [ master ] + branches: [ master, develop ] jobs: build: @@ -18,6 +18,9 @@ jobs: - name: Verify formatting run: dart format --output=none --set-exit-if-changed . + - name: Analyze project source + run: flutter analyze + - name: Book example run: dart example/book_example.dart diff --git a/CHANGELOG.md b/CHANGELOG.md index e689343..a5fe8a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.0.2 (2022-09-16) + +* Added documentation for public methods of LotrApi class + # 0.0.1 (2022-02-05) * Initial version diff --git a/pubspec.yaml b/pubspec.yaml index c6b121a..d2f397e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: lotr_api -version: 0.0.1 +version: 0.0.2 description: API that accesses data on quotes, characters, books, etc. from the Tolkien universe. homepage: https://github.com/finkmoritz/lotr_api repository: https://github.com/finkmoritz/lotr_api From bf010b021fcded504a901f068125624f2d2c3bb6 Mon Sep 17 00:00:00 2001 From: Moritz Fink Date: Fri, 16 Sep 2022 06:59:53 +0200 Subject: [PATCH 2/3] Fix static code analysis --- .github/workflows/runTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index fa7079d..294d0c5 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -19,7 +19,7 @@ jobs: run: dart format --output=none --set-exit-if-changed . - name: Analyze project source - run: flutter analyze + run: dart analyze - name: Book example run: dart example/book_example.dart From d2ddc54ea6dc29e1e7a0495de245211b33012886 Mon Sep 17 00:00:00 2001 From: Moritz Fink Date: Fri, 16 Sep 2022 07:03:55 +0200 Subject: [PATCH 3/3] Clean up imports in examples --- example/book_example.dart | 1 - example/quote_example.dart | 1 - 2 files changed, 2 deletions(-) diff --git a/example/book_example.dart b/example/book_example.dart index 6ba4b23..52505ba 100644 --- a/example/book_example.dart +++ b/example/book_example.dart @@ -1,4 +1,3 @@ -import 'package:lotr_api/src/query/filter/impl/matches.dart'; import 'package:lotr_api/lotr_api.dart'; void main() async { diff --git a/example/quote_example.dart b/example/quote_example.dart index 9f76aca..9335f73 100644 --- a/example/quote_example.dart +++ b/example/quote_example.dart @@ -1,4 +1,3 @@ -import 'package:lotr_api/src/query/filter/impl/matches_regex.dart'; import 'package:lotr_api/lotr_api.dart'; void main(List args) async {