diff --git a/.travis.yml b/.travis.yml index 43905a9..c808293 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,21 @@ language: scala scala: - - 2.11.7 + - 2.11.8 jdk: - oraclejdk8 -script: sbt coverage test +script: + - sbt clean coverage test +after_success: + - sbt coverageReport coveralls + - bash <(curl -s https://codecov.io/bash) # go faster on travis sudo: false notifications: email: - - cezary.lada.extern@zalando.de - + - dmitry.krivaltsevich@zalando.de + - cezary.lada.extern@zalando.de \ No newline at end of file diff --git a/MAINTAINERS b/MAINTAINERS index aace3fc..f4314ee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1,2 +1,3 @@ Dmitry Krivaltsevich William Okuyama +Raymond Chenon \ No newline at end of file diff --git a/README.md b/README.md index 1964232..4727714 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Play-security library +![Build Status - Master](https://travis-ci.org/zalando-incubator/play-zhewbacca.svg?branch=master) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.zalando/play-zhewbacca_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.zalando/play-zhewbacca_2.11) +[![codecov.io](https://codecov.io/github/zalando-incubator/play-zhewbacca/coverage.svg?branch=master)](https://codecov.io/github/zalando-incubator/play-zhewbacca?branch=master) +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/zalando-incubator/play-zhewbacca/master/LICENSE) + Play! (v2.5) library to protect REST endpoint using OAuth2 token verification. In order to access a protected endpoint clients should pass an `Authorization` header with the `Bearer` token in every request. This library is implemented in a non-blocking way and provides two implementations of token verification. @@ -13,7 +18,7 @@ Clients of this library don't need to change their code in order to protect endp Configure libraries dependencies in your `build.sbt`: ```scala -libraryDependencies += "org.zalando" %% "play-zhewbacca" % "0.1.0" +libraryDependencies += "org.zalando" %% "play-zhewbacca" % "0.2.1" ``` To configure Development environment: diff --git a/build.sbt b/build.sbt index 3892e59..a28d7af 100644 --- a/build.sbt +++ b/build.sbt @@ -99,4 +99,7 @@ pomExtra := ( William Okuyama + + Raymond Chenon + ) \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index d824721..9f6fcda 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,6 +3,6 @@ addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.5.1") addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "0.7.0") // code coverage -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.3") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")