ruby-readability-discourse 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/readability.rb +0 -4
- data/ruby-readability.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22f7a14127513f6ad223c483c5a2a5bbb310c3a4
|
4
|
+
data.tar.gz: f76a4c79f7aa0e6d8e3cf8d87f868dc9b5e920c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a15da2c810e0b46c6a2959924ac5c1f333de89e2770663ebeff3e3f3f040a582d4c1550d5fb285b684d7e9ce9b7774422a48fd50b2c41321f5ccca9b4649b19d
|
7
|
+
data.tar.gz: f1d4ab6be480fd5ff206afb6b3d872e96cd6a6f84b4dff37512356cbd80633445abcb94b6721be5826bfacf5a2a996c6649f422aad4f4a3e89898756cd5aa91d
|
data/lib/readability.rb
CHANGED
@@ -65,15 +65,11 @@ module Readability
|
|
65
65
|
elems = @html.css(whitelist).to_s
|
66
66
|
|
67
67
|
if body = @html.at_css('body')
|
68
|
-
body.css('*').each do |e|
|
69
|
-
e.remove
|
70
|
-
end
|
71
68
|
body.inner_html = elems
|
72
69
|
end
|
73
70
|
end
|
74
71
|
|
75
72
|
@input = @html.to_s
|
76
|
-
nil
|
77
73
|
end
|
78
74
|
|
79
75
|
def make_html(whitelist=nil, blacklist=nil)
|
data/ruby-readability.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "ruby-readability-discourse"
|
6
|
-
s.version = '0.6.
|
6
|
+
s.version = '0.6.1'
|
7
7
|
s.authors = ["Andrew Cantino", "starrhorne", "libc", "Kyle Maxwell"]
|
8
8
|
s.email = ["andrew@iterationlabs.com"]
|
9
9
|
s.homepage = "http://github.com/cantino/ruby-readability"
|