rack-oauth2 1.0.10 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rack/oauth2/access_token.rb +2 -0
- data/lib/rack/oauth2/access_token/legacy.rb +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9577874b0a1c185f48cbb6a1d41f57be58605892
|
4
|
+
data.tar.gz: 2ea322ba81ee7a380489501b5adcb55cb500d962
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7a7f850cff921e533da407de1eaea5d32ed170802e87315371a14aa412c28a773d64114a5cd3bc8ab0e0826e28c8e2c2a24dde94156c41004faec3bf892d5ab
|
7
|
+
data.tar.gz: e4ba657a620fe303c04ad7c338be59659372a5849181d95ef72ed20841078ec1585e8d0271689323672d8a2feb00839a985a323941d90e252dfb9f311e9176ba
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
@@ -6,6 +6,8 @@ module Rack
|
|
6
6
|
attr_optional :refresh_token, :expires_in, :scope
|
7
7
|
delegate :get, :post, :put, :delete, :to => :httpclient
|
8
8
|
|
9
|
+
alias_method :to_s, :access_token
|
10
|
+
|
9
11
|
def initialize(attributes = {})
|
10
12
|
(required_attributes + optional_attributes).each do |key|
|
11
13
|
self.send :"#{key}=", attributes[key]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|