Skip to content
Browse files

add tuple case to oauth_response, roll 0.4.1

  • Loading branch information...
1 parent 7b64f19 commit ae95595d5ef7f77b05ea68e4b6a16ba0c8b3422c @bipthelin bipthelin committed Aug 21, 2013
Showing with 5 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 src/oauth2.app.src
  3. +2 −0 src/oauth2_response.erl
View
4 README.md
@@ -1,4 +1,4 @@
-# OAuth2 (v0.4.0) [![BuildStatus](https://travis-ci.org/kivra/oauth2.png?branch=master)](https://travis-ci.org/kivra/oauth2)
+# OAuth2 (v0.4.1) [![BuildStatus](https://travis-ci.org/kivra/oauth2.png?branch=master)](https://travis-ci.org/kivra/oauth2)
This library is designed to simplify the implementation of the server side
of OAuth2 (http://tools.ietf.org/html/rfc6749). It provides
**no** support for developing clients. See
@@ -7,7 +7,7 @@ accessing Oauth2 enabled services.
oauth2 is released under the terms of the [MIT](http://en.wikipedia.org/wiki/MIT_License) license
-Current stable version: [0.4.0](https://github.com/kivra/oauth2/tree/0.4.0)
+Current stable version: [0.4.1](https://github.com/kivra/oauth2/tree/0.4.1)
Current α alpha version: [0.5.0](https://github.com/kivra/oauth2)
View
2 src/oauth2.app.src
@@ -27,7 +27,7 @@
{application, oauth2,
[
{description, "Erlang OAuth 2.0 implementation"},
- {vsn, "0.4.0"},
+ {vsn, "0.4.1"},
{registered, []},
{applications, [
kernel,
View
2 src/oauth2_response.erl
@@ -210,5 +210,7 @@ to_binary(Float) when is_float(Float) ->
to_binary(float_to_list(Float));
to_binary(Integer) when is_integer(Integer) ->
to_binary(integer_to_list(Integer));
+to_binary({Key, Value}) ->
+ {to_binary(Key), to_binary(Value)};
to_binary(Term) ->
to_binary(term_to_binary(Term)).

0 comments on commit ae95595

Please sign in to comment.
Something went wrong with that request. Please try again.