Skip to content

Commit

Permalink
Prepare for 0.0.2 publish
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jun 24, 2024
1 parent d2c8a30 commit 9947797
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.0.2

- Remove extra spaces from beginning of unified diff output.

# 0.0.1

- Initial, experimental release with just unified diff generation support.
6 changes: 3 additions & 3 deletions lib/src/update.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class Keep<T extends Object> extends Update<T> {
const Keep(super.value, super.indexInSource, super.indexInTarget);

@override
String toString() => ' $value';
String toString() => ' $value';
}

/// A value that is added in the target list.
Expand All @@ -41,7 +41,7 @@ final class Insert<T extends Object> extends Update<T> {
const Insert(super.value, super.indexInSource, super.indexInTarget);

@override
String toString() => '+ $value';
String toString() => '+$value';
}

/// A value that is removed from the source list.
Expand All @@ -52,5 +52,5 @@ final class Remove<T extends Object> extends Update<T> {
const Remove(super.value, super.indexInSource, super.indexInTarget);

@override
String toString() => '- $value';
String toString() => '-$value';
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: deviation
description: A diff generation tool and library.
version: 0.0.1
version: 0.0.2
repository: https://github.com/dart-community/deviation

topics:
Expand Down

0 comments on commit 9947797

Please sign in to comment.