mirror of
https://github.com/java-james/flutter_dotenv.git
synced 2025-07-15 05:53:52 +08:00
minor: docs
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
changelog
|
||||
=========
|
||||
|
||||
This project follows [pub-flavored semantic versioning][pub-semver].
|
||||
This project follows [pub-flavored semantic versioning][pub-semver]. ([more][pub-semver-readme])
|
||||
|
||||
Release notes are available on [github][notes].
|
||||
|
||||
[pub-semver]: https://www.dartlang.org/tools/pub/versioning.html#semantic-versions
|
||||
[pub-semver-readme]: https://pub.dartlang.org/packages/pub_semver
|
||||
[notes]: https://github.com/mockturtl/dotenv/releases
|
||||
|
||||
HEAD
|
||||
@ -23,7 +24,7 @@ HEAD
|
||||
-----
|
||||
|
||||
- [deprecated] `Parser` internals will become private. [#3][]
|
||||
- `#unquote` `#strip`, `#swallow`, `#parseOne`, `#surroundingQuote`, `#interpolate`
|
||||
- `#unquote`, `#strip`, `#swallow`, `#parseOne`, `#surroundingQuote`, `#interpolate`
|
||||
- [new] support variable substitution
|
||||
- [deps] migrate to [test][]
|
||||
- [deps] bump [logging][]
|
||||
|
@ -6,7 +6,7 @@ Load environment variables at runtime from a `.env` file.
|
||||
[![Pub Version][pub-badge]][pub]
|
||||
[![Build Status][ci-badge]][ci]
|
||||
|
||||
NB: Travis uses [`test_runner`][], which has not yet moved off `unittest`.
|
||||
_NB: Travis uses [`test_runner`][], which has not yet moved off `unittest`._
|
||||
|
||||
[`test_runner`]: https://github.com/google/test_runner.dart/blob/master/pubspec.yaml
|
||||
|
||||
|
@ -67,7 +67,7 @@ class Parser {
|
||||
return _surroundQuotes.firstMatch(val).group(1);
|
||||
}
|
||||
|
||||
/// Strip quotes (single or double) surrounding a value.
|
||||
/// Remove quotes (single or double) surrounding a value.
|
||||
@Deprecated('Exposed for testing') // FIXME
|
||||
String unquote(String val) =>
|
||||
val.replaceFirstMapped(_surroundQuotes, (m) => m[2]).trim();
|
||||
|
@ -1,7 +1,7 @@
|
||||
tool
|
||||
====
|
||||
|
||||
Consider calling these in a git pre-commit hook.
|
||||
_Consider calling these in a git pre-commit hook._
|
||||
|
||||
### [fmt.sh][]
|
||||
|
||||
|
Reference in New Issue
Block a user