Skip to content

Commit

Permalink
Releases Freestyle 0.7.0 (#531)
Browse files Browse the repository at this point in the history
* Releases Freestyle 0.7.0 updating the build
* Fixes finch docs
  • Loading branch information
juanpedromoreno authored Feb 12, 2018
1 parent 3521e0d commit 3a865d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/src/main/tut/docs/http/finch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Importing the _freestyle-finch_ module, Finch, and shapeless' `::` used by Finch
import freestyle.free.http.finch._
import io.finch._
import io.finch.syntax._
import shapeless.::
```
Expand All @@ -80,11 +81,11 @@ We can use a freestyle program within `Endpoint#apply`:
```tut:book
cats.Monad[Future]
val gcdEndpointTwo = get(int :: int) { (a: Int, b: Int) =>
val gcdEndpointTwo = get(path[Int] :: path[Int]) { (a: Int, b: Int) =>
Calc[Calc.Op].gcd(a, b).map(Ok(_))
}
val gcdEndpointOne = get(int) { (a: Int) =>
val gcdEndpointOne = get(path[Int]) { (a: Int) =>
Calc[Calc.Op].gcd(a, 12).map(Ok(_))
}
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolvers += Resolver.sonatypeRepo("releases")

addSbtPlugin("io.frees" % "sbt-freestyle" % "0.3.17")
addSbtPlugin("io.frees" % "sbt-freestyle" % "0.3.19")
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.2.1")
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.6.4-SNAPSHOT"
version in ThisBuild := "0.7.0"

0 comments on commit 3a865d2

Please sign in to comment.