Skip to content

Commit a7b3e7e

Browse files
authored
Merge pull request #126 from dreampowder/pubdev-score
Improve pub.dev score to 160/160
2 parents 4800bf2 + 946b25d commit a7b3e7e

56 files changed

Lines changed: 1443 additions & 1115 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
exit 1
3131
fi
3232
33+
- name: Verify formatting
34+
run: dart format --output=none --set-exit-if-changed lib test
35+
3336
- name: Analyze
3437
run: dart analyze --fatal-infos --fatal-warnings
3538

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.3.1]
2+
- Recognized OSI MIT `LICENSE`, `dart format` applied across the package, and
3+
added `repository` / `issue_tracker` / `documentation` / `topics` metadata
4+
(improves pub.dev score). No API changes.
5+
16
## [2.3.0]
27
Backwards compatible (additions + deprecations only).
38

LICENSE

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
strava-flutter is provided under a MIT License. Copyright (c) 2019 Patrick FINKELSTEIN
1+
MIT License
2+
3+
Copyright (c) 2019-2026 Serdar Coşkun and contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,11 @@ CI runs analysis and tests on every PR.
317317
## Acknowledgements
318318

319319
- [@Birdyf](https://github.com/Birdyf) for the original package.
320+
- Patrick Finkelstein, the package's original maintainer.
320321
- [Joe Birch](https://github.com/hitherejoe/FlutterOAuth) — OAuth reference.
321322
- Strava's published [Swagger spec](https://developers.strava.com/swagger/),
322323
bundled and validated under [`openapi/`](openapi/).
323324

324325
## License
325326

326-
[MIT](LICENSE) — Copyright (c) 2019-present the strava_flutter contributors.
327+
[MIT](LICENSE) — Copyright (c) 2019-present Serdar Coşkun and contributors.

example/lib/api/api_models.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ApiCall {
3939
final bool isWrite;
4040
final List<ApiParam> params;
4141
final Future<dynamic> Function(StravaClient client, Map<String, dynamic> args)
42-
run;
42+
run;
4343

4444
const ApiCall({
4545
required this.group,

0 commit comments

Comments
 (0)