busk-ruby-readability 1.0.5 → 1.0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/readability.rb +2 -2
- metadata +17 -4
data/lib/readability.rb
CHANGED
@@ -92,11 +92,11 @@ module Readability
|
|
92
92
|
def youtube
|
93
93
|
if @input.base_uri.request_uri =~ /\?v=([_\-a-z0-9]+)&?/i
|
94
94
|
Nokogiri::HTML.fragment <<-HTML
|
95
|
-
<object width="
|
95
|
+
<object width="706" height="422">
|
96
96
|
<param name="movie" value="http://www.youtube.com/v/#{$1}?fs=1&hl=en_US"></param>
|
97
97
|
<param name="allowFullScreen" value="true"></param>
|
98
98
|
<param name="allowscriptaccess" value="always"></param>
|
99
|
-
<embed src="http://www.youtube.com/v/#{$1}?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="
|
99
|
+
<embed src="http://www.youtube.com/v/#{$1}?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="706" height="422"></embed>
|
100
100
|
</object>
|
101
101
|
HTML
|
102
102
|
else
|
metadata
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: busk-ruby-readability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 73
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 5
|
10
|
+
- 1
|
11
|
+
version: 1.0.5.1
|
5
12
|
platform: ruby
|
6
13
|
authors: []
|
7
14
|
|
@@ -33,21 +40,27 @@ rdoc_options: []
|
|
33
40
|
require_paths:
|
34
41
|
- lib
|
35
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
36
44
|
requirements:
|
37
45
|
- - ">="
|
38
46
|
- !ruby/object:Gem::Version
|
47
|
+
hash: 3
|
48
|
+
segments:
|
49
|
+
- 0
|
39
50
|
version: "0"
|
40
|
-
version:
|
41
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
42
53
|
requirements:
|
43
54
|
- - ">="
|
44
55
|
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
45
59
|
version: "0"
|
46
|
-
version:
|
47
60
|
requirements: []
|
48
61
|
|
49
62
|
rubyforge_project:
|
50
|
-
rubygems_version: 1.3.
|
63
|
+
rubygems_version: 1.3.7
|
51
64
|
signing_key:
|
52
65
|
specification_version: 3
|
53
66
|
summary: A rewrite of original ruby-readability
|