Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyumatsuri committed Nov 8, 2016
1 parent 730d0c1 commit 055dc80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ See the [specification](https://github.com/msgpack-rpc/msgpack-rpc/blob/master/s
## SBT
Add dependency:

libraryDependencies += "xyz.aoei" %% "msgpack-rpc-scala" % "1.0"
libraryDependencies += "xyz.aoei" %% "msgpack-rpc-scala" % "1.1"

## Usage
This package exports a single class which represents a msgpack-rpc session. A
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "msgpack-rpc-scala"

organization := "xyz.aoei"

version := "1.0"
version := "1.1"

scalaVersion := "2.11.8"

Expand Down
3 changes: 1 addition & 2 deletions src/main/scala/xyz/aoei/msgpack/rpc/Session.scala
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ class Session(in: InputStream, out: OutputStream, types: List[ExtendedType[_ <:
implicit def defaultDefaultsTo[T]: DefaultsTo[T, T] = null
implicit def fallback[T, D]: DefaultsTo[T, D] = null
}
// def request(method: String, args: Any*): Future[Any] = request[Any](method, args.toList)
// def request(method: String, args: List[Any]): Future[Any] = request[Any](method, args)

def request[T <: Any : ClassTag](method: String, args: Any*)(implicit default: T DefaultsTo Any): Future[T] = request[T](method, args.toList)
def request[T <: Any : ClassTag](method: String, args: List[Any] = List())(implicit default: T DefaultsTo Any): Future[T] = {
val ct = implicitly[ClassTag[T]]
Expand Down

0 comments on commit 055dc80

Please sign in to comment.