Commit 3a22708 1 parent 49338d9 commit 3a22708 Copy full SHA for 3a22708
File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
/// 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
3
3
/// import/export isn't well supported in the Dart ecosystem.
4
- ///
4
+ ///
5
5
/// 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
7
7
/// https://developer.github.com/v3/repos/hooks/
8
8
/// `import 'pacakge:github/hooks.dart';`
9
9
library hooks;
10
10
11
- export 'src/server/xplat_server.dart' ;
11
+ export 'src/server/xplat_server.dart' ;
Original file line number Diff line number Diff line change 1
1
import 'package:github/src/common.dart' ;
2
2
3
3
/// Looks for GitHub Authentication information from the current environment.
4
- ///
4
+ ///
5
5
/// If in a browser context, it will look through query string parameters first
6
- /// and then sessionStorage.
7
- ///
6
+ /// and then sessionStorage.
7
+ ///
8
8
/// If in a server, command line or Flutter context it will use the system environment variables.
9
9
///
10
10
/// In both contexts it delegates to [findAuthenticationInMap] to find the
11
11
/// github token or username and password.
12
12
Authentication findAuthenticationFromEnvironment () =>
13
13
Authentication .anonymous ();
14
14
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] .
16
16
/// The first one that exists is used as the github token to call [Authentication.withToken] with.
17
17
/// If the above fails, the GITHUB_USERNAME and GITHUB_PASSWORD keys will be checked.
18
18
/// If those keys both exist, then [Authentication.basic] will be used.
Original file line number Diff line number Diff line change 1
1
name : github
2
- version : 6.2.0
2
+ version : 6.2.1
3
3
description : A high-level GitHub API Client Library that uses Github's v3 API
4
4
homepage : https://github.com/SpinlockLabs/github.dart
5
5
You can’t perform that action at this time.
0 commit comments