authpwn_rails 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +33 -34
- data/VERSION +1 -1
- data/authpwn_rails.gemspec +2 -2
- data/lib/authpwn_rails/facebook_token_model.rb +4 -4
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -1,45 +1,43 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (3.1.
|
5
|
-
actionpack (= 3.1.
|
4
|
+
actionmailer (3.1.1)
|
5
|
+
actionpack (= 3.1.1)
|
6
6
|
mail (~> 2.3.0)
|
7
|
-
actionpack (3.1.
|
8
|
-
activemodel (= 3.1.
|
9
|
-
activesupport (= 3.1.
|
7
|
+
actionpack (3.1.1)
|
8
|
+
activemodel (= 3.1.1)
|
9
|
+
activesupport (= 3.1.1)
|
10
10
|
builder (~> 3.0.0)
|
11
11
|
erubis (~> 2.7.0)
|
12
12
|
i18n (~> 0.6)
|
13
13
|
rack (~> 1.3.2)
|
14
|
-
rack-cache (~> 1.
|
14
|
+
rack-cache (~> 1.1)
|
15
15
|
rack-mount (~> 0.8.2)
|
16
16
|
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.0.
|
18
|
-
activemodel (3.1.
|
19
|
-
activesupport (= 3.1.
|
20
|
-
bcrypt-ruby (~> 3.0.0)
|
17
|
+
sprockets (~> 2.0.2)
|
18
|
+
activemodel (3.1.1)
|
19
|
+
activesupport (= 3.1.1)
|
21
20
|
builder (~> 3.0.0)
|
22
21
|
i18n (~> 0.6)
|
23
|
-
activerecord (3.1.
|
24
|
-
activemodel (= 3.1.
|
25
|
-
activesupport (= 3.1.
|
22
|
+
activerecord (3.1.1)
|
23
|
+
activemodel (= 3.1.1)
|
24
|
+
activesupport (= 3.1.1)
|
26
25
|
arel (~> 2.2.1)
|
27
26
|
tzinfo (~> 0.3.29)
|
28
|
-
activeresource (3.1.
|
29
|
-
activemodel (= 3.1.
|
30
|
-
activesupport (= 3.1.
|
31
|
-
activesupport (3.1.
|
27
|
+
activeresource (3.1.1)
|
28
|
+
activemodel (= 3.1.1)
|
29
|
+
activesupport (= 3.1.1)
|
30
|
+
activesupport (3.1.1)
|
32
31
|
multi_json (~> 1.0)
|
33
32
|
addressable (2.2.6)
|
34
33
|
arel (2.2.1)
|
35
|
-
bcrypt-ruby (3.0.1)
|
36
34
|
builder (3.0.0)
|
37
35
|
erubis (2.7.0)
|
38
36
|
faraday (0.7.5)
|
39
37
|
addressable (~> 2.2.6)
|
40
38
|
multipart-post (~> 1.1.3)
|
41
|
-
rack (
|
42
|
-
fbgraph (1.8.
|
39
|
+
rack (>= 1.1.0, < 2)
|
40
|
+
fbgraph (1.8.4)
|
43
41
|
activesupport
|
44
42
|
faraday (>= 0.7.5)
|
45
43
|
hashie (>= 1.0.0)
|
@@ -74,7 +72,7 @@ GEM
|
|
74
72
|
multi_json (~> 1.0.3)
|
75
73
|
polyglot (0.3.2)
|
76
74
|
rack (1.3.4)
|
77
|
-
rack-cache (1.
|
75
|
+
rack-cache (1.1)
|
78
76
|
rack (>= 0.4)
|
79
77
|
rack-mount (0.8.3)
|
80
78
|
rack (>= 1.0.0)
|
@@ -82,30 +80,31 @@ GEM
|
|
82
80
|
rack
|
83
81
|
rack-test (0.6.1)
|
84
82
|
rack (>= 1.0)
|
85
|
-
rails (3.1.
|
86
|
-
actionmailer (= 3.1.
|
87
|
-
actionpack (= 3.1.
|
88
|
-
activerecord (= 3.1.
|
89
|
-
activeresource (= 3.1.
|
90
|
-
activesupport (= 3.1.
|
83
|
+
rails (3.1.1)
|
84
|
+
actionmailer (= 3.1.1)
|
85
|
+
actionpack (= 3.1.1)
|
86
|
+
activerecord (= 3.1.1)
|
87
|
+
activeresource (= 3.1.1)
|
88
|
+
activesupport (= 3.1.1)
|
91
89
|
bundler (~> 1.0)
|
92
|
-
railties (= 3.1.
|
93
|
-
railties (3.1.
|
94
|
-
actionpack (= 3.1.
|
95
|
-
activesupport (= 3.1.
|
90
|
+
railties (= 3.1.1)
|
91
|
+
railties (3.1.1)
|
92
|
+
actionpack (= 3.1.1)
|
93
|
+
activesupport (= 3.1.1)
|
96
94
|
rack-ssl (~> 1.3.2)
|
97
95
|
rake (>= 0.8.7)
|
98
96
|
rdoc (~> 3.4)
|
99
97
|
thor (~> 0.14.6)
|
100
98
|
rake (0.9.2)
|
101
|
-
rcov (0.9.
|
102
|
-
rdoc (3.
|
99
|
+
rcov (0.9.11)
|
100
|
+
rdoc (3.10)
|
101
|
+
json (~> 1.4)
|
103
102
|
rest-client (1.6.7)
|
104
103
|
mime-types (>= 1.16)
|
105
104
|
sprockets (2.0.2)
|
106
105
|
hike (~> 1.2)
|
107
106
|
rack (~> 1.0)
|
108
|
-
tilt (
|
107
|
+
tilt (~> 1.1, != 1.3.0)
|
109
108
|
sqlite3 (1.3.4)
|
110
109
|
thor (0.14.6)
|
111
110
|
tilt (1.3.3)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.5
|
data/authpwn_rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "authpwn_rails"
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Victor Costan"]
|
12
|
-
s.date = "2011-10-
|
12
|
+
s.date = "2011-10-09"
|
13
13
|
s.description = "Works with Facebook."
|
14
14
|
s.email = "victor@costan.us"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -44,11 +44,11 @@ module FacebookTokenModel
|
|
44
44
|
|
45
45
|
# Extracts the Facebook user ID from a OAuth2 token.
|
46
46
|
#
|
47
|
-
# This
|
48
|
-
#
|
49
|
-
#
|
47
|
+
# This used to be a hack that pulled the UID out of an OAuth2 token. The new
|
48
|
+
# encrypted OAuth2 tokens don't have UIDs anymore, so this method is an
|
49
|
+
# interim hack for old code that still depends on it.
|
50
50
|
def uid_from_token(access_token)
|
51
|
-
|
51
|
+
FBGraphRails.fbclient(access_token).selection.me.id.to_s
|
52
52
|
end
|
53
53
|
end # module AuthpwnRails::FacebookTokenModel::ClassMethods
|
54
54
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authpwn_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 5
|
10
|
+
version: 0.9.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-09 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|