Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
fntz committed Oct 26, 2017
1 parent b6fa119 commit 5ed606a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Easy Api access for [rollbar](https://rollbar.com/)

Current version: 0.0.3
Current version: 0.0.4

# How to

add dependency

`"com.github.truerss" %% "rollbar-scala" % "0.0.3"`
`"com.github.truerss" %% "rollbar-scala" % "0.0.4"`

and then

Expand All @@ -25,6 +25,20 @@ import spray.json._
import com.github.truerss.rollbar.json._
val builder = NotifyBuilder(token, "environment")
MySender.send(builder.info("some message").toJson)

// send exception

import DefaultImplicits._ // or implement own

val builder = NotifyBuilder(token, "environment")

try {
// ... throw new RuntimeException("boom!")
} catch {
case ex: Throwable =>
Sender.send(builder.trace(ex))
}

```


Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ val root = Project(
).settings(
organization := "com.github.truerss",
name := "rollbar-scala",
version := "0.0.3",
version := "0.0.4",
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
crossScalaVersions := Seq("2.10.5", "2.11.6"),
crossScalaVersions := Seq("2.10.5", "2.11.6", "2.12.2"),
publishMavenStyle := true,
bintrayOrganization := Some("truerss"),
pomExtra := pomXml,
publishArtifact in Test := false,
libraryDependencies ++= Seq(
"io.spray" %% "spray-json" % "1.3.2",
"org.scalaj" %% "scalaj-http" % "2.2.1"
"org.scalaj" %% "scalaj-http" % "2.3.0"
)
)

Expand Down

0 comments on commit 5ed606a

Please sign in to comment.