authlogic_facebook 1.0.5 → 1.1.0
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/Rakefile +1 -1
- data/VERSION +1 -1
- data/authlogic_facebook.gemspec +5 -5
- data/lib/authlogic_facebook/session.rb +2 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ begin
|
|
10
10
|
gem.email = "GICodeWarrior@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/GICodeWarrior/authlogic_facebook"
|
12
12
|
gem.authors = ["Rusty Burchfield"]
|
13
|
-
gem.add_dependency "mini_fb", ">= 0.
|
13
|
+
gem.add_dependency "mini_fb", ">= 0.2.2"
|
14
14
|
gem.add_dependency "authlogic", ">= 2.1.3"
|
15
15
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
16
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/authlogic_facebook.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{authlogic_facebook}
|
8
|
-
s.version = "1.0
|
8
|
+
s.version = "1.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rusty Burchfield"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-03-12}
|
13
13
|
s.description = %q{Authlogic plugin to support Facebook without Facebooker. A small unobtrusive gem (mini_fb) is used instead.}
|
14
14
|
s.email = %q{GICodeWarrior@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -47,16 +47,16 @@ Gem::Specification.new do |s|
|
|
47
47
|
s.specification_version = 3
|
48
48
|
|
49
49
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
50
|
-
s.add_runtime_dependency(%q<mini_fb>, [">= 0.
|
50
|
+
s.add_runtime_dependency(%q<mini_fb>, [">= 0.2.2"])
|
51
51
|
s.add_runtime_dependency(%q<authlogic>, [">= 2.1.3"])
|
52
52
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
53
53
|
else
|
54
|
-
s.add_dependency(%q<mini_fb>, [">= 0.
|
54
|
+
s.add_dependency(%q<mini_fb>, [">= 0.2.2"])
|
55
55
|
s.add_dependency(%q<authlogic>, [">= 2.1.3"])
|
56
56
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
57
57
|
end
|
58
58
|
else
|
59
|
-
s.add_dependency(%q<mini_fb>, [">= 0.
|
59
|
+
s.add_dependency(%q<mini_fb>, [">= 0.2.2"])
|
60
60
|
s.add_dependency(%q<authlogic>, [">= 2.1.3"])
|
61
61
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
62
62
|
end
|
@@ -114,13 +114,13 @@ module AuthlogicFacebook
|
|
114
114
|
|
115
115
|
uid = nil
|
116
116
|
10.times do
|
117
|
-
params = {'session_key' => session_key
|
117
|
+
params = {'session_key' => session_key}
|
118
118
|
begin
|
119
119
|
uid = MiniFB.call(self.class.facebook_api_key,
|
120
120
|
self.class.facebook_secret_key,
|
121
121
|
'Users.getLoggedInUser', params)
|
122
122
|
break
|
123
|
-
rescue Errno::ECONNRESET, EOFError => e
|
123
|
+
rescue Errno::ECONNRESET, EOFError, Timeout::Error => e
|
124
124
|
exception = e
|
125
125
|
end
|
126
126
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic_facebook
|
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
|
- Rusty Burchfield
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-12 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 0.2.2
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: authlogic
|