busk-ruby-readability 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/readability.rb CHANGED
@@ -398,6 +398,7 @@ module Readability
398
398
  end
399
399
 
400
400
  def apply_custom_rule
401
+ debug "Applying custom selector for : " + rules[@base_uri]['name']
401
402
  extracted = @document.css(rules[@base_uri]["css"])
402
403
  extracted.each do |elem|
403
404
  if (elem.try(:inner_html) =~ /^\W*$/)
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.authors = ["Fabio Mont Alegre", "Rodrigo Flores"]
3
3
  s.email = "it-team@busk.com"
4
4
  s.homepage = "http://github.com/busk/ruby-readability"
5
- s.version = "1.2.2"
5
+ s.version = "1.2.3"
6
6
  s.name = "busk-ruby-readability"
7
7
  s.summary = "A rewrite of original ruby-readability"
8
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busk-ruby-readability
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 2
10
- version: 1.2.2
9
+ - 3
10
+ version: 1.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fabio Mont Alegre