Skip to content

Commit

Permalink
prep 6.2.1 and dart format (comment whitespace 🤦)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbecker-wf committed Apr 21, 2020
1 parent 49338d9 commit 3a22708
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lib/hooks.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// This entrypoint is here so that dartdoc will generate documentation for
/// files under lib/src/server. This is only necessary because conditional
/// files under lib/src/server. This is only necessary because conditional
/// import/export isn't well supported in the Dart ecosystem.
///
///
/// Add this import if you are in a non-web environment and writing something
/// that uses github hooks. For more information, see github hooks documentation
/// that uses github hooks. For more information, see github hooks documentation
/// https://developer.github.com/v3/repos/hooks/
/// `import 'pacakge:github/hooks.dart';`
library hooks;

export 'src/server/xplat_server.dart';
export 'src/server/xplat_server.dart';
8 changes: 4 additions & 4 deletions lib/src/common/xplat_common.dart
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import 'package:github/src/common.dart';

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

/// Checks the passed in map for keys in [COMMON_GITHUB_TOKEN_ENV_KEYS].
/// Checks the passed in map for keys in [COMMON_GITHUB_TOKEN_ENV_KEYS].
/// The first one that exists is used as the github token to call [Authentication.withToken] with.
/// If the above fails, the GITHUB_USERNAME and GITHUB_PASSWORD keys will be checked.
/// If those keys both exist, then [Authentication.basic] will be used.
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: 6.2.0
version: 6.2.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 3a22708

Please sign in to comment.