From 2671eba3526c7974826abd7138c96383c8aeb6fe Mon Sep 17 00:00:00 2001 From: Andrew Cantino Date: Mon, 14 Apr 2014 21:50:01 -0700 Subject: [PATCH] add SamSaffron's blacklist and whitelist options --- README.md | 1 + ruby-readability.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b563e8b..837b166 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ You may provide options to `Readability::Document.new`, including: `:ignore_image_format => ["gif", "png"]`; * `:min_image_height`: set a minimum image height for `#images`; * `:min_image_width`: set a minimum image width for `#images`. +* `:blacklist` and `:whitelist` allow you to explicitly scope to, or remove, CSS selectors. Command Line Tool diff --git a/ruby-readability.gemspec b/ruby-readability.gemspec index ea8f290..fa3d629 100644 --- a/ruby-readability.gemspec +++ b/ruby-readability.gemspec @@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "ruby-readability" - s.version = '0.6.0' + s.version = '0.6.1' s.authors = ["Andrew Cantino", "starrhorne", "libc", "Kyle Maxwell"] s.email = ["andrew@iterationlabs.com"] s.homepage = "http://github.com/cantino/ruby-readability"