Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 2d76733

Browse files
committed
Release 0.6.0
1 parent 23bf25a commit 2d76733

File tree

8 files changed

+33
-19
lines changed

8 files changed

+33
-19
lines changed

generated-docs/out/integrations/cats.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ This module contains integration layer between [org.typelevel.cats](https://gith
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-cats" % "0.5.6" % Test
8+
"com.softwaremill.diffx" %% "diffx-cats" % "0.6.0" % Test
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-cats::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-cats::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/integrations/refined.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ This module contains integration layer between [eu.timepit.refined](https://gith
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-refined" % "0.5.6" % Test
8+
"com.softwaremill.diffx" %% "diffx-refined" % "0.6.0" % Test
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-refined::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-refined::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/integrations/tagging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ This module contains integration layer between [com.softwaremill.common.tagging]
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-tagging" % "0.5.6"
8+
"com.softwaremill.diffx" %% "diffx-tagging" % "0.6.0"
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-tagging::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-tagging::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/test-frameworks/munit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ To use with munit, add following dependency:
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-munit" % "0.5.6" % Test
8+
"com.softwaremill.diffx" %% "diffx-munit" % "0.6.0" % Test
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-munit::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-munit::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/test-frameworks/scalatest.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,38 @@ To use with scalatest, add the following dependency:
44

55
## sbt
66

7+
For use with `should` matchers:
78
```scala
8-
"com.softwaremill.diffx" %% "diffx-scalatest" % "0.5.6" % Test
9+
"com.softwaremill.diffx" %% "diffx-scalatest-should" % "0.6.0" % Test
10+
```
11+
12+
For use with `must` matchers:
13+
```scala
14+
"com.softwaremill.diffx" %% "diffx-scalatest-should" % "0.6.0" % Test
915
```
1016

1117
## mill
1218

19+
For use with `should` matchers:
1320
```scala
14-
ivy"com.softwaremill.diffx::diffx-scalatest::0.5.6"
21+
ivy"com.softwaremill.diffx::diffx-scalatest-must::0.6.0"
22+
```
23+
24+
For use with `must` matchers:
25+
```scala
26+
ivy"com.softwaremill.diffx::diffx-scalatest-must::0.6.0"
1527
```
1628

1729
## Usage
1830

19-
Then, extend the `com.softwaremill.diffx.scalatest.DiffMatcher` trait or `import com.softwaremill.diffx.scalatest.DiffMatcher._`.
31+
Then, depending on the chosen matcher style extend or import relevant trait/object:
32+
- should -> `com.softwaremill.diffx.scalatest.DiffShouldMatcher`
33+
- must -> `com.softwaremill.diffx.scalatest.DiffMustMatcher`
34+
2035
After that you will be able to use syntax such as:
2136

2237
```scala
23-
import org.scalatest.matchers.should.Matchers._
24-
import com.softwaremill.diffx.scalatest.DiffMatcher._
38+
import com.softwaremill.diffx.scalatest.DiffShouldMatcher._
2539
import com.softwaremill.diffx.generic.auto._
2640

2741
sealed trait Parent
@@ -40,5 +54,5 @@ val left: Foo = Foo(
4054
Some(right)
4155
)
4256

43-
left should matchTo(right)
57+
left shouldMatchTo(right)
4458
```

generated-docs/out/test-frameworks/specs2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ To use with specs2, add the following dependency:
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-specs2" % "0.5.6" % Test
8+
"com.softwaremill.diffx" %% "diffx-specs2" % "0.6.0" % Test
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-specs2::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-specs2::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/test-frameworks/utest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ To use with utest, add following dependency:
55
## sbt
66

77
```scala
8-
"com.softwaremill.diffx" %% "diffx-utest" % "0.5.6" % Test
8+
"com.softwaremill.diffx" %% "diffx-utest" % "0.6.0" % Test
99
```
1010

1111
## mill
1212

1313
```scala
14-
ivy"com.softwaremill.diffx::diffx-utest::0.5.6"
14+
ivy"com.softwaremill.diffx::diffx-utest::0.6.0"
1515
```
1616

1717
## Usage

generated-docs/out/usage/ignoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ implicit val conf: DiffConfiguration = DiffConfiguration(makeIgnored =
4444
)
4545
// conf: DiffConfiguration = DiffConfiguration(makeIgnored = <function1>)
4646
val d = Diff[Person].ignore(_.age)
47-
// d: Diff[Person] = com.softwaremill.diffx.Diff$$anon$1@275c48e0
47+
// d: Diff[Person] = com.softwaremill.diffx.Diff$$anon$1@2f232df9
4848
d(Person("bob", 25), Person("bob", 30))
4949
// res2: DiffResult = DiffResultObject(
5050
// name = "Person",

0 commit comments

Comments
 (0)