fbgraph_rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fbgraph_rails.gemspec +1 -1
- data/lib/fbgraph_rails/controller.rb +2 -0
- data/lib/fbgraph_rails/engine.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/fbgraph_rails.gemspec
CHANGED
@@ -41,6 +41,7 @@ module ControllerInstanceMethods
|
|
41
41
|
FBGraphRails.fbclient @current_facebook_access_token
|
42
42
|
end
|
43
43
|
end
|
44
|
+
private :probe_facebook_access_token
|
44
45
|
|
45
46
|
def enforce_facebook_access_token(redirect_url = request.url)
|
46
47
|
probe_facebook_access_token
|
@@ -50,6 +51,7 @@ module ControllerInstanceMethods
|
|
50
51
|
return false
|
51
52
|
end
|
52
53
|
end
|
54
|
+
private :enforce_facebook_access_token
|
53
55
|
end
|
54
56
|
|
55
57
|
ActionController::Base.send :include, ControllerMixin
|
data/lib/fbgraph_rails/engine.rb
CHANGED
@@ -11,8 +11,8 @@ class Engine < Rails::Engine
|
|
11
11
|
paths.app.models = "app/models"
|
12
12
|
paths.app.metals = "app/metal"
|
13
13
|
paths.app.views = "app/views"
|
14
|
-
paths.lib = "lib"
|
15
|
-
paths.lib.tasks = "lib/tasks"
|
14
|
+
# paths.lib = "lib"
|
15
|
+
# paths.lib.tasks = "lib/tasks"
|
16
16
|
# paths.config = "config"
|
17
17
|
# paths.config.initializers = "config/initializers"
|
18
18
|
# paths.config.locales = "config/locales"
|