nanoc_fuel 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
%iframe{:src=>"
|
1
|
+
%iframe{:src=>"//www.facebook.com/plugins/like.php?href&send=#{send}&layout=#{layout}&width=#{width}&show_faces=#{show_faces}&action=like&colorscheme=light&font&height=80", :scrolling=>"no", :frameborder=>"0", :style=>"border:none; overflow:hidden; width:450px; height:80px;", :allowTransparency=>"true"}
|
data/lib/nanoc_fuel/version.rb
CHANGED
@@ -6,8 +6,7 @@ class NanocFuel::Helpers::FacebookTest < MiniTest::Unit::TestCase
|
|
6
6
|
def test_fb_init
|
7
7
|
|
8
8
|
html = %q{
|
9
|
-
<div id=
|
10
|
-
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
|
9
|
+
<div id='fb-root'></div>
|
11
10
|
<script type='text/javascript'>
|
12
11
|
//<![CDATA[
|
13
12
|
window.fbAsyncInit = function() {
|
@@ -42,7 +41,7 @@ class NanocFuel::Helpers::FacebookTest < MiniTest::Unit::TestCase
|
|
42
41
|
|
43
42
|
def test_fb_like_btn
|
44
43
|
html = %q{
|
45
|
-
<iframe allowTransparency='true' frameborder='0' scrolling='no' src='
|
44
|
+
<iframe allowTransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/like.php?href&amp;send=true&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80' style='border:none; overflow:hidden; width:450px; height:80px;'></iframe>
|
46
45
|
}
|
47
46
|
assert_equal compact(html), compact(fb_like_btn("standard", "450", "true", "true"))
|
48
47
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jack Chu
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-16 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|