Skip to content

Commit 3a22708

Browse files
committed
prep 6.2.1 and dart format (comment whitespace 🤦)
1 parent 49338d9 commit 3a22708

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/hooks.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/// This entrypoint is here so that dartdoc will generate documentation for
2-
/// files under lib/src/server. This is only necessary because conditional
2+
/// files under lib/src/server. This is only necessary because conditional
33
/// import/export isn't well supported in the Dart ecosystem.
4-
///
4+
///
55
/// Add this import if you are in a non-web environment and writing something
6-
/// that uses github hooks. For more information, see github hooks documentation
6+
/// that uses github hooks. For more information, see github hooks documentation
77
/// https://developer.github.com/v3/repos/hooks/
88
/// `import 'pacakge:github/hooks.dart';`
99
library hooks;
1010

11-
export 'src/server/xplat_server.dart';
11+
export 'src/server/xplat_server.dart';

lib/src/common/xplat_common.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import 'package:github/src/common.dart';
22

33
/// Looks for GitHub Authentication information from the current environment.
4-
///
4+
///
55
/// If in a browser context, it will look through query string parameters first
6-
/// and then sessionStorage.
7-
///
6+
/// and then sessionStorage.
7+
///
88
/// If in a server, command line or Flutter context it will use the system environment variables.
99
///
1010
/// In both contexts it delegates to [findAuthenticationInMap] to find the
1111
/// github token or username and password.
1212
Authentication findAuthenticationFromEnvironment() =>
1313
Authentication.anonymous();
1414

15-
/// Checks the passed in map for keys in [COMMON_GITHUB_TOKEN_ENV_KEYS].
15+
/// Checks the passed in map for keys in [COMMON_GITHUB_TOKEN_ENV_KEYS].
1616
/// The first one that exists is used as the github token to call [Authentication.withToken] with.
1717
/// If the above fails, the GITHUB_USERNAME and GITHUB_PASSWORD keys will be checked.
1818
/// If those keys both exist, then [Authentication.basic] will be used.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: github
2-
version: 6.2.0
2+
version: 6.2.1
33
description: A high-level GitHub API Client Library that uses Github's v3 API
44
homepage: https://github.com/SpinlockLabs/github.dart
55

0 commit comments

Comments
 (0)