fbgraph_rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
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 = ["costan"]
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.2
1
+ 0.1.3
@@ -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.2"
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 = ["costan"]
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
metadata CHANGED
@@ -5,11 +5,11 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
- - costan
12
+ - Victor Costan
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []