fbgraph_rails 0.0.1 → 0.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 CHANGED
@@ -5,7 +5,7 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "fbgraph_rails"
8
- gem.summary = %Q{Rails plug-in for integrating the fbgraph gem}
8
+ gem.summary = %Q{Rails plug-in integrating the fbgraph gem}
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"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fbgraph_rails}
8
- s.version = "0.0.1"
8
+ s.version = "0.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 = ["costan"]
12
- s.date = %q{2010-05-27}
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}
15
15
  s.extra_rdoc_files = [
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.rdoc_options = ["--charset=UTF-8"]
38
38
  s.require_paths = ["lib"]
39
39
  s.rubygems_version = %q{1.3.6}
40
- s.summary = %q{Rails plug-in for integrating the fbgraph gem}
40
+ s.summary = %q{Rails plug-in integrating the fbgraph gem}
41
41
  s.test_files = [
42
42
  "test/fbgraph_rails_test.rb",
43
43
  "test/test_helper.rb"
data/lib/fbgraph_rails.rb CHANGED
@@ -7,4 +7,9 @@ require 'fbgraph_rails/fbgraph_client.rb'
7
7
  if defined?(Rails)
8
8
  require 'fbgraph_rails/controller.rb'
9
9
  require 'fbgraph_rails/engine.rb'
10
+
11
+ # HACK(costan): this works around a known Rails bug
12
+ # https://rails.lighthouseapp.com/projects/8994/tickets/1905-apphelpers-within-plugin-not-being-mixed-in
13
+ require File.expand_path('../../app/helpers/facebook_oauth_helper.rb', __FILE__)
14
+ ActionController::Base.helper FacebookOauthHelper
10
15
  end
@@ -5,7 +5,7 @@ require 'rails'
5
5
  module FBGraphRails
6
6
 
7
7
  class Engine < Rails::Engine
8
- # paths.app = "app"
8
+ paths.app = "app"
9
9
  paths.app.controllers = "app/controllers"
10
10
  paths.app.helpers = "app/helpers"
11
11
  paths.app.models = "app/models"
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 0
8
7
  - 1
9
- version: 0.0.1
8
+ - 0
9
+ version: 0.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - costan
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-27 00:00:00 -04:00
17
+ date: 2010-05-28 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -141,7 +141,7 @@ rubyforge_project:
141
141
  rubygems_version: 1.3.6
142
142
  signing_key:
143
143
  specification_version: 3
144
- summary: Rails plug-in for integrating the fbgraph gem
144
+ summary: Rails plug-in integrating the fbgraph gem
145
145
  test_files:
146
146
  - test/fbgraph_rails_test.rb
147
147
  - test/test_helper.rb