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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b35bc58da2245b0dda58c335c4cfea4551128c01
4
- data.tar.gz: ae3c1969f961e4a567dfe27a7fe76ae7d280b637
3
+ metadata.gz: 22f7a14127513f6ad223c483c5a2a5bbb310c3a4
4
+ data.tar.gz: f76a4c79f7aa0e6d8e3cf8d87f868dc9b5e920c7
5
5
  SHA512:
6
- metadata.gz: d31aeecfd5bff5eaac11bc9d766997b8eb0a15d87d809ebe8619e73ddf7edbb2a59cb837fcc321c3db69271219a841a37e63949bc4a468d690c593fdea61dc78
7
- data.tar.gz: 5938c50037f15006cc8be537f420e6d29f5ff0b6f3d0419a9debce85f6f7014566eba82b53653cdcf59e95f5ee955a7f4b73f880b6b0b723c3a4df503e89f27a
6
+ metadata.gz: a15da2c810e0b46c6a2959924ac5c1f333de89e2770663ebeff3e3f3f040a582d4c1550d5fb285b684d7e9ce9b7774422a48fd50b2c41321f5ccca9b4649b19d
7
+ data.tar.gz: f1d4ab6be480fd5ff206afb6b3d872e96cd6a6f84b4dff37512356cbd80633445abcb94b6721be5826bfacf5a2a996c6649f422aad4f4a3e89898756cd5aa91d
@@ -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)
@@ -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.0'
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-readability-discourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Cantino