Skip to content

Commit

Permalink
improve pub score
Browse files Browse the repository at this point in the history
  • Loading branch information
robrbecker committed Mar 7, 2021
1 parent 436618d commit e620ff3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 8.0.1
- Minor tweaks to improve pub score

## 8.0.0
- Allow start page, per_page, number of pages options to pagination helper
- Allow page options for listTags
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ We are looking for contributors. If you're interested or have questions, head ov

## Links

- [Library Demos](http://spinlocklabs.github.io/github.dart/) (based on the [sample code](https://github.com/SpinlockLabs/github.dart/tree/master/example))
- [Library Demos](https://spinlocklabs.github.io/github.dart/) (based on the [sample code](https://github.com/SpinlockLabs/github.dart/tree/master/example))
- [Pub Package](https://pub.dartlang.org/packages/github)
- [Wiki](https://github.com/SpinlockLabs/github.dart/wiki)
- [Latest API reference](https://pub.dev/documentation/github/latest/)
Expand Down
1 change: 1 addition & 0 deletions example/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export 'package:github/browser_helper.dart';
Future<void> initViewSourceButton(String script) async {
// query the DOM for the view source button, handle clicks
document.querySelector('#view-source')?.onClick.listen((_) {
// ignore: unsafe_html
final popup = window.open('view_source.html?script=$script', 'View Source');
String? code;

Expand Down
2 changes: 2 additions & 0 deletions lib/src/common/model/repos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ class RepositoryPermissions {

factory RepositoryPermissions.fromJson(Map<String, dynamic> json) =>
_$RepositoryPermissionsFromJson(json);

Map<String, dynamic> toJson() => _$RepositoryPermissionsToJson(this);
}

@JsonSerializable(createToJson: false)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: github
version: 8.0.0
version: 8.0.1
description: A high-level GitHub API Client Library that uses Github's v3 API
homepage: https://github.com/SpinlockLabs/github.dart

Expand Down

0 comments on commit e620ff3

Please sign in to comment.