Skip to content

Commit

Permalink
Setting version to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
makiftutuncu committed Feb 17, 2020
1 parent 4c1e759 commit 1db775d
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.1.1-SNAPSHOT | 1.8 | 2.12, 2.13 |
| 1.1.1 | 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.1.1-SNAPSHOT",
"dev.akif" %% "[MODULE]" % "1.1.1",

// Java/Kotlin modules
"dev.akif" % "[MODULE]" % "1.1.1-SNAPSHOT"
"dev.akif" % "[MODULE]" % "1.1.1"
)
```
* 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.1.1-SNAPSHOT</version>
<version>1.1.1</version>
</dependency>

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

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

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

val encoder: Encoder[String] = JsonStringEncoder
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@5ef0f02a
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@1c0f73b1

encoder.encode(E())
// res75: String = "{}"
Expand All @@ -464,7 +464,7 @@ val csv: Encoder[String] = { e: E =>
|"${e.name}","${e.message}","${e.code}"
""".stripMargin
}
// csv: Encoder[String] = repl.Session$App$$anonfun$159@5dc1e88f
// csv: Encoder[String] = repl.Session$App$$anonfun$159@7a50eca

csv.encode(E())
// res77: String = """"name","message","code"
Expand Down Expand Up @@ -519,7 +519,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@4fa654f1
// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@1540a76

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@65456d14
// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@66bac563

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(1581948566345L, 0L), List(), List(), None)
// ZTrace(Id(1581949266141L, 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@562643fc
// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@75c33e29

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(1581948566391L, 2L),
// Id(1581949266191L, 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.1.1-SNAPSHOT"
version in ThisBuild := "1.1.1"

0 comments on commit 1db775d

Please sign in to comment.