doesfacebook 0.3.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/doesfacebook.rb +20 -0
- metadata +2 -2
data/lib/doesfacebook.rb
CHANGED
@@ -47,3 +47,23 @@ module ActionController
|
|
47
47
|
end
|
48
48
|
end # ActionController
|
49
49
|
|
50
|
+
|
51
|
+
module ActionMailer
|
52
|
+
class Base
|
53
|
+
|
54
|
+
# Call this method within your controller to parse configuration and enabled
|
55
|
+
# session validation and parsing
|
56
|
+
def self.does_facebook
|
57
|
+
self.instance_eval do
|
58
|
+
include DoesFacebook::Config
|
59
|
+
helper :does_facebook
|
60
|
+
|
61
|
+
protected
|
62
|
+
attr_reader :fbparams
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
67
|
+
end # ActionMailer
|
68
|
+
|
69
|
+
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: doesfacebook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.4.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- mccolin
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-08-05 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|