diff --git a/CHANGELOG.md b/CHANGELOG.md index e440538..5491b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +* _Fix dart formatting._ + ## 1.0.0 * _Tested with dart `2.13`._ diff --git a/lib/src/double_metaphone.dart b/lib/src/double_metaphone.dart index f429f11..1b819fb 100644 --- a/lib/src/double_metaphone.dart +++ b/lib/src/double_metaphone.dart @@ -99,8 +99,9 @@ class _DoubleMetaphoneEncoding { /// Returns `true` if the encoding is maxed out (both encodings are at the /// max length), `false` otherwise (or if [_maxLength] is `0`). bool isMaxedOut() { - return _maxLength > 0 && _primary.length >= _maxLength && _alternate - .length >= _maxLength; + return _maxLength > 0 && + _primary.length >= _maxLength && + _alternate.length >= _maxLength; } /// Returns the string value of the primary encoding. This renders the diff --git a/pubspec.yaml b/pubspec.yaml index 4094c52..53fcc29 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_phonetics description: A collection of phonetic algorithms. These algorithms help find words or names that sound similar by generating an encoding that can be compared or indexed for fuzzy searching. -version: 1.0.0 +version: 1.0.1 homepage: https://github.com/raycardillo/dart_phonetics repository: https://github.com/raycardillo/dart_phonetics