Skip to content

Commit

Permalink
Fixes docs, bumps version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno committed Nov 14, 2016
1 parent c663372 commit 355d7b5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ A library for Simple & Efficient data access in Scala and Scala.js

Add the following dependency to your project's build file.

For Scala 2.11.x:
For Scala 2.11.x and 2.12.x:

```scala
"com.fortysevendeg" %% "fetch" % "0.3.0"
"com.fortysevendeg" %% "fetch" % "0.4.0"
```

Or, if using Scala.js (0.6.x):

```scala
"com.fortysevendeg" %%% "fetch" % "0.3.0"
"com.fortysevendeg" %%% "fetch" % "0.4.0"
```


Expand Down
7 changes: 4 additions & 3 deletions docs/src/tut/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ we read) concerns.
To begin, add the following dependency to your SBT build file:

```scala
"com.fortysevendeg" %% "fetch" % "0.3.0"
"com.fortysevendeg" %% "fetch" % "0.4.0"
```

Or, if using Scala.js:

```scala
"com.fortysevendeg" %%% "fetch" % "0.3.0"
"com.fortysevendeg" %%% "fetch" % "0.4.0"
```

Now you'll have Fetch available in both Scala and Scala.js.
Expand Down Expand Up @@ -645,6 +645,7 @@ When a single identity is being fetched the request will be a `FetchOne`; it con
should be able to easily diagnose the failure. For ilustrating this scenario we'll ask for users that are not in the database.

```tut:silent
import cats.syntax.either._
val missingUser = getUser(5)
val eval: Eval[Either[FetchException, User]] = missingUser.runA[Eval].attempt
val result: Either[FetchException, User] = eval.value
Expand Down Expand Up @@ -940,7 +941,7 @@ The [Monix](https://monix.io/) library provides an abstraction for lazy, asynchr
For using `Task` as the target concurrency monad of a fetch, add the following dependency to your build file:

```scala
"com.fortysevendeg" %% "fetch-monix" % "0.3.0"
"com.fortysevendeg" %% "fetch-monix" % "0.4.0"
```

And do some standard imports, we'll need an Scheduler for running our tasks as well as the instance of `FetchMonadError[Task]` that `fetch-monix` provides:
Expand Down
6 changes: 3 additions & 3 deletions docs/src/tut/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ technologies:

Add the following dependency to your project's build file.

For Scala 2.11.x:
For Scala 2.11.x and 2.12.x:

```scala
"com.fortysevendeg" %% "fetch" % "0.3.0"
"com.fortysevendeg" %% "fetch" % "0.4.0"
```

Or, if using Scala.js (0.6.x):

```scala
"com.fortysevendeg" %%% "fetch" % "0.3.0"
"com.fortysevendeg" %%% "fetch" % "0.4.0"
```

```tut:invisible
Expand Down
6 changes: 3 additions & 3 deletions tut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ A library for Simple & Efficient data access in Scala and Scala.js

Add the following dependency to your project's build file.

For Scala 2.11.x:
For Scala 2.11.x and 2.12.x:

```scala
"com.fortysevendeg" %% "fetch" % "0.3.0"
"com.fortysevendeg" %% "fetch" % "0.4.0"
```

Or, if using Scala.js (0.6.x):

```scala
"com.fortysevendeg" %%% "fetch" % "0.3.0"
"com.fortysevendeg" %%% "fetch" % "0.4.0"
```

```tut:invisible
Expand Down

0 comments on commit 355d7b5

Please sign in to comment.