facebooker2 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -46,10 +46,13 @@ module Facebooker2
|
|
46
46
|
link_to_function text, function.to_str, *args
|
47
47
|
end
|
48
48
|
|
49
|
-
def fb_server_fbml(style=nil
|
49
|
+
def fb_server_fbml(style=nil, width=nil, &proc)
|
50
50
|
style_string=" style=\"#{style}\"" if style
|
51
|
+
width_string=" width=\"#{width}\"" if width
|
51
52
|
content = capture(&proc)
|
52
|
-
|
53
|
+
output = "<fb:serverFbml#{style_string}#{width_string}><script type='text/fbml'><fb:fbml>#{content}</fb:fbml></script></fb:serverFbml>"
|
54
|
+
output = output.respond_to?(:html_safe) ? output.html_safe : output
|
55
|
+
concat(output)
|
53
56
|
end
|
54
57
|
end
|
55
58
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebooker2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 5
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 14
|
9
|
+
version: 0.0.14
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Mike Mangino
|
@@ -15,18 +14,16 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-
|
17
|
+
date: 2011-12-01 00:00:00 -05:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: mogli
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 93
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
- 0
|
@@ -38,11 +35,9 @@ dependencies:
|
|
38
35
|
name: ruby-hmac
|
39
36
|
prerelease: false
|
40
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
38
|
requirements:
|
43
39
|
- - ">="
|
44
40
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 3
|
46
41
|
segments:
|
47
42
|
- 0
|
48
43
|
version: "0"
|
@@ -52,11 +47,9 @@ dependencies:
|
|
52
47
|
name: rake
|
53
48
|
prerelease: false
|
54
49
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
50
|
requirements:
|
57
51
|
- - ~>
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 49
|
60
53
|
segments:
|
61
54
|
- 0
|
62
55
|
- 8
|
@@ -68,11 +61,9 @@ dependencies:
|
|
68
61
|
name: rspec
|
69
62
|
prerelease: false
|
70
63
|
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
64
|
requirements:
|
73
65
|
- - ~>
|
74
66
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 25
|
76
67
|
segments:
|
77
68
|
- 1
|
78
69
|
- 3
|
@@ -84,11 +75,9 @@ dependencies:
|
|
84
75
|
name: rspec-rails
|
85
76
|
prerelease: false
|
86
77
|
requirement: &id005 !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
78
|
requirements:
|
89
79
|
- - ~>
|
90
80
|
- !ruby/object:Gem::Version
|
91
|
-
hash: 25
|
92
81
|
segments:
|
93
82
|
- 1
|
94
83
|
- 3
|
@@ -100,11 +89,9 @@ dependencies:
|
|
100
89
|
name: rails
|
101
90
|
prerelease: false
|
102
91
|
requirement: &id006 !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
92
|
requirements:
|
105
93
|
- - ~>
|
106
94
|
- !ruby/object:Gem::Version
|
107
|
-
hash: 23
|
108
95
|
segments:
|
109
96
|
- 2
|
110
97
|
- 3
|
@@ -116,11 +103,9 @@ dependencies:
|
|
116
103
|
name: json
|
117
104
|
prerelease: false
|
118
105
|
requirement: &id007 !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
106
|
requirements:
|
121
107
|
- - ~>
|
122
108
|
- !ruby/object:Gem::Version
|
123
|
-
hash: 7
|
124
109
|
segments:
|
125
110
|
- 1
|
126
111
|
- 4
|
@@ -156,27 +141,23 @@ rdoc_options: []
|
|
156
141
|
require_paths:
|
157
142
|
- lib
|
158
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
144
|
requirements:
|
161
145
|
- - ">="
|
162
146
|
- !ruby/object:Gem::Version
|
163
|
-
hash: 3
|
164
147
|
segments:
|
165
148
|
- 0
|
166
149
|
version: "0"
|
167
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
-
none: false
|
169
151
|
requirements:
|
170
152
|
- - ">="
|
171
153
|
- !ruby/object:Gem::Version
|
172
|
-
hash: 3
|
173
154
|
segments:
|
174
155
|
- 0
|
175
156
|
version: "0"
|
176
157
|
requirements: []
|
177
158
|
|
178
159
|
rubyforge_project:
|
179
|
-
rubygems_version: 1.3.
|
160
|
+
rubygems_version: 1.3.6
|
180
161
|
signing_key:
|
181
162
|
specification_version: 3
|
182
163
|
summary: Facebook Connect integration library for ruby and rails
|