rack-oauth2 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/lib/rack/oauth2/client.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
|
@@ -6,11 +6,11 @@ Both Bearer and MAC token type are supported.
|
|
|
6
6
|
The OAuth 2.0 Authorization Protocol (draft 15)
|
|
7
7
|
http://tools.ietf.org/html/draft-ietf-oauth-v2-15
|
|
8
8
|
|
|
9
|
-
The OAuth 2.0 Protocol: Bearer Tokens (draft
|
|
10
|
-
http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-
|
|
9
|
+
The OAuth 2.0 Protocol: Bearer Tokens (draft 06)
|
|
10
|
+
http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-06
|
|
11
11
|
|
|
12
|
-
HTTP Authentication: MAC Authentication (draft
|
|
13
|
-
http://
|
|
12
|
+
HTTP Authentication: MAC Access Authentication (draft 00)
|
|
13
|
+
http://www.ietf.org/id/draft-ietf-oauth-v2-http-mac-00.txt
|
|
14
14
|
|
|
15
15
|
== Installation
|
|
16
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.3
|
data/lib/rack/oauth2/client.rb
CHANGED
|
@@ -98,7 +98,7 @@ module Rack
|
|
|
98
98
|
error = JSON.parse(response.body).with_indifferent_access
|
|
99
99
|
raise Error.new(response.status, error)
|
|
100
100
|
rescue JSON::ParserError
|
|
101
|
-
raise Error.new(response.status, :error => 'Unknown', :error_description =>
|
|
101
|
+
raise Error.new(response.status, :error => 'Unknown', :error_description => response.body)
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
end
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: rack-oauth2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.8.
|
|
5
|
+
version: 0.8.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- nov matake
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-06-
|
|
13
|
+
date: 2011-06-28 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rack
|