Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed May 14, 2021
1 parent d18bd14 commit 59d37d2
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 18 deletions.
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Changelog

## Unreleased
## 0.8.0 - 2021-05-14

### Breaking changes
### BREAKING CHANGES

* Diff formatters are now gone in favor of operation tree flatteners. If you
have a custom diff formatter, you will want to inherit from
SuperDiff::OperationTreeFlatteners::Base (or an appropriate subclass).
Additionally, the `add_extra_diff_formatter_class` configuration option has
disappeared; instead, operation tree classes are expected to have an
`operation_tree_flattener_class` method, which should return your custom
operation tree flattener class.
operation tree flattener class. ([#91])

### Features

* Add the ability to compress long diffs by eliding sections of unchanged data
(data which is present in both "expected" and "actual" values). This
functionality is not enabled by default; rather, you will need to activate it.
At a minimum, you will want to add this to your test helper:
At a minimum, you will want to add this to your spec helper (or a support file
if you so desire):

``` ruby
SuperDiff.configure do |config|
Expand All @@ -38,17 +39,22 @@
Here, the gem will try to keep at least 10 unchanged lines in between changed
lines.

([#91])

### Features

* Update inspection of Doubles to include stubbed methods and their values.
([#91])

### Improvements

* Change how objects are inspected on a single line so that instance variables
are always sorted.
are always sorted. ([#91])
* Make a tweak to how hashes are presented in diffs and inspections: a hash that
has a mixture of symbols and strings will be presented as though all keys are
strings (i.e. hashrocket syntax).
strings (i.e. hashrocket syntax). ([#91])

[#91]: https://github.com/mcmire/super_diff/pull/91

## 0.7.0 - 2021-05-07

Expand Down Expand Up @@ -170,7 +176,7 @@

## 0.5.0 - 2020-06-18

### Breaking changes
### BREAKING CHANGES

* Do some reorganizing and rename some concepts in the code: "operational
sequencer" changes to "operation tree builder" and "operation sequence"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/no_rails_rspec_gte_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/no_rails_rspec_lt_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_0_rspec_gte_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_0_rspec_lt_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_1_rspec_gte_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_1_rspec_lt_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_2_rspec_gte_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_2_rspec_lt_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_0_rspec_gte_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_0_rspec_lt_3_10.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
super_diff (0.7.0)
super_diff (0.8.0)
attr_extras (>= 6.2.4)
diff-lcs
patience_diff
Expand Down
2 changes: 1 addition & 1 deletion lib/super_diff/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SuperDiff
VERSION = "0.7.0".freeze
VERSION = "0.8.0".freeze
end

0 comments on commit 59d37d2

Please sign in to comment.