warden-github 0.10.0 → 0.10.1
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/lib/warden-github/user.rb +3 -3
- data/lib/warden-github/version.rb +1 -1
- metadata +4 -4
data/lib/warden-github/user.rb
CHANGED
@@ -6,9 +6,9 @@ module Warden
|
|
6
6
|
module Github
|
7
7
|
module Oauth
|
8
8
|
class User < Struct.new(:attribs, :token)
|
9
|
-
def initialize(
|
10
|
-
|
11
|
-
super
|
9
|
+
def initialize(attributes, api_token)
|
10
|
+
attributes.delete('bio') # Delete bio, as it can easily make the session cookie too long.
|
11
|
+
super(attributes, api_token)
|
12
12
|
end
|
13
13
|
|
14
14
|
def login
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warden-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
9
|
+
- 1
|
10
|
+
version: 0.10.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Corey Donohoe
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-09-
|
18
|
+
date: 2012-09-19 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|