Skip to content

Commit

Permalink
Setting version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
makiftutuncu committed Feb 12, 2020
1 parent dac7a8c commit a5db513
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 |
| ------------------- | --------------------- | ----------------------- |
| 0.2.5-SNAPSHOT | 1.8 | 2.12, 2.13 |
| 1.0.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]" % "0.2.5-SNAPSHOT",
"dev.akif" %% "[MODULE]" % "1.0.0",

// Java/Kotlin modules
"dev.akif" % "[MODULE]" % "0.2.5-SNAPSHOT"
"dev.akif" % "[MODULE]" % "1.0.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>0.2.5-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>

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

// Java/Kotlin modules
implementation('dev.akif:[MODULE]:0.2.5-SNAPSHOT')
implementation('dev.akif:[MODULE]:1.0.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 @@ -291,7 +291,7 @@ import e.scala.implicits._
/*******************************/

val encoder: Encoder[String] = JsonStringEncoder
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@7e59f535
// encoder: Encoder[String] = e.scala.JsonStringEncoder$@643bab66

encoder.encode(E())
// res39: String = "{}"
Expand All @@ -308,7 +308,7 @@ val csv: Encoder[String] = { e: E =>
|"${e.name}","${e.message}","${e.code}"
""".stripMargin
}
// csv: Encoder[String] = repl.Session$App$$anonfun$80@4be309ae
// csv: Encoder[String] = repl.Session$App$$anonfun$80@4a34efcd

csv.encode(E())
// res41: String = """"name","message","code"
Expand Down Expand Up @@ -363,7 +363,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@2474a1cb
// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@26ae2171

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@1c13b7f1
// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@c0f244b

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(1581496439209L, 3L), List(), List(), None)
// ZTrace(Id(1581514181304L, 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@73880bf1
// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@6b6514dd

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(1581496439217L, 5L),
// Id(1581514181347L, 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 := "0.2.5-SNAPSHOT"
version in ThisBuild := "1.0.0"

0 comments on commit a5db513

Please sign in to comment.