fbgraph_rails 0.1.2 → 0.1.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/Rakefile +1 -1
- data/VERSION +1 -1
- data/fbgraph_rails.gemspec +2 -2
- data/lib/fbgraph_rails/controller.rb +8 -0
- metadata +3 -3
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
gem.description = %Q{Support for sessions tied to Facebook users.}
|
10
10
|
gem.email = "victor@costan.us"
|
11
11
|
gem.homepage = "http://github.com/costan/fbgraph_rails"
|
12
|
-
gem.authors = ["
|
12
|
+
gem.authors = ["Victor Costan"]
|
13
13
|
gem.add_runtime_dependency "erubis", ">= 2.3.5"
|
14
14
|
gem.add_runtime_dependency "fbgraph", ">= 0.0.5"
|
15
15
|
gem.add_runtime_dependency "json", ">= 1.4.2"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/fbgraph_rails.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fbgraph_rails}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["
|
11
|
+
s.authors = ["Victor Costan"]
|
12
12
|
s.date = %q{2010-05-28}
|
13
13
|
s.description = %q{Support for sessions tied to Facebook users.}
|
14
14
|
s.email = %q{victor@costan.us}
|
@@ -56,4 +56,12 @@ end
|
|
56
56
|
|
57
57
|
ActionController::Base.send :include, ControllerMixin
|
58
58
|
|
59
|
+
# :nodoc: add session modification
|
60
|
+
class ActionController::TestCase
|
61
|
+
# Sets the authenticated user in the test session.
|
62
|
+
def set_session_current_facebook_token(access_token)
|
63
|
+
@request.session[:current_facebook_token] = access_token
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
59
67
|
end # namespace FBGraphRails
|