Skip to content

Commit

Permalink
Setting version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
makiftutuncu committed Feb 14, 2020
1 parent 6360d3b commit 3cdf460
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It consists of different modules for different needs. You can find details, inst

| Latest Version of e | Java Version | Scala Versions |
| ------------------- | --------------------- | ----------------------- |
| 1.0.1-SNAPSHOT | 1.8 | 2.12, 2.13 |
| 1.1.0 | 1.8 | 2.12, 2.13 |

## Table of Contents

Expand Down Expand Up @@ -42,10 +42,10 @@ It consists of different modules for different needs. You can find details, inst
```scala
libraryDependencies ++= Seq(
// Scala modules
"dev.akif" %% "[MODULE]" % "1.0.1-SNAPSHOT",
"dev.akif" %% "[MODULE]" % "1.1.0",

// Java/Kotlin modules
"dev.akif" % "[MODULE]" % "1.0.1-SNAPSHOT"
"dev.akif" % "[MODULE]" % "1.1.0"
)
```
* If you use Maven, add following to your `pom.xml` for each module you want to use
Expand All @@ -55,14 +55,14 @@ libraryDependencies ++= Seq(
<dependency>
<groupId>dev.akif</groupId>
<artifactId>[MODULE]_[SCALA_VERSION]</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.1.0</version>
</dependency>

<!-- Java/Kotlin modules -->
<dependency>
<groupId>dev.akif</groupId>
<artifactId>[MODULE]</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.1.0</version>
</dependency>
</dependencies>
```
Expand All @@ -71,10 +71,10 @@ libraryDependencies ++= Seq(
```javascript
dependencies {
// Scala modules
implementation('dev.akif:[MODULE]_[SCALA_VERSION]:1.0.1-SNAPSHOT'),
implementation('dev.akif:[MODULE]_[SCALA_VERSION]:1.1.0'),

// Java/Kotlin modules
implementation('dev.akif:[MODULE]:1.0.1-SNAPSHOT')
implementation('dev.akif:[MODULE]:1.1.0')
}
```

Expand Down
6 changes: 3 additions & 3 deletions e-scala/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ import e.scala.implicits._
/*******************************/

val encoder: Encoder[String] = JsonStringEncoder
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@7ab1b4e2
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@52909156

encoder.encode(E())
// res45: String = "{}"
Expand All @@ -342,7 +342,7 @@ val csv: Encoder[String] = { e: E =>
|"${e.name}","${e.message}","${e.code}"
""".stripMargin
}
// csv: Encoder[String] = repl.Session$App$$anonfun$96@4b1d57bc
// csv: Encoder[String] = repl.Session$App$$anonfun$96@4cf0bfa7

csv.encode(E())
// res47: String = """"name","message","code"
Expand Down Expand Up @@ -397,7 +397,7 @@ val csvDecoder: Decoder[String] = new Decoder[String] {
private def unescape(s: String): String =
if (s.startsWith("\"") && s.endsWith("\"")) s.drop(1).dropRight(1) else s
}
// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@6956671
// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@6241b4c5

val result1 = csvDecoder.decode("foo")
// result1: DecodingResult[E] = {"name":"decoding-failure","message":"Input did not have 2 rows!"}
Expand Down
8 changes: 4 additions & 4 deletions e-zio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import zio.internal.PlatformLive
/****************/

val runtime1 = zio.Runtime((), PlatformLive.Default)
// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@171ec698
// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@df77a7c

def divide(a: Int, b: Int): MaybeZ[Int] =
if (b == 0) {
Expand All @@ -33,7 +33,7 @@ runtime1.unsafeRunSync(divide(4, 0))
// Fail(
// E("divide-by-zero", "Cannot divide by 0!", 0, None, Map("input" -> "4"))
// ),
// ZTrace(Id(1581699262264L, 0L), List(), List(), None)
// ZTrace(Id(1581699834436L, 0L), List(), List(), None)
// )
// )

Expand All @@ -50,7 +50,7 @@ val divider: Divider = (a: Int, b: Int) => divide(a, b)
// divider: (Int, Int) => MaybeZ[Int] = <function2>

val runtime2: zio.Runtime[Divider] = zio.Runtime(divider, PlatformLive.Default)
// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@4c5f9e32
// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@6431c6be

def divideWithEnvironment(a: Int, b: Int): MaybeZR[Divider, Int] =
for {
Expand All @@ -67,7 +67,7 @@ runtime2.unsafeRunSync(divideWithEnvironment(4, 0))
// E("divide-by-zero", "Cannot divide by 0!", 0, None, Map("input" -> "4"))
// ),
// ZTrace(
// Id(1581699262305L, 2L),
// Id(1581699834473L, 2L),
// List(
// SourceLocation(
// "README.md",
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "1.0.1-SNAPSHOT"
version in ThisBuild := "1.1.0"

0 comments on commit 3cdf460

Please sign in to comment.