Switch back to ruby-readability now that JRuby support was added.
This commit is contained in:
parent
cbca3d8d37
commit
d351108ad0
|
|
@ -3,7 +3,7 @@
|
|||
'nokogiri', 'ferret',
|
||||
'bson_ext', 'mongo', 'lda-ruby',
|
||||
'stanford-core-nlp', 'linguistics',
|
||||
'jruby-readability', 'whatlanguage',
|
||||
'ruby-readability', 'whatlanguage',
|
||||
'chronic', 'nickel', 'decisiontree',
|
||||
'rb-libsvm', 'ruby-fann', 'zip', 'loggability',
|
||||
'tf-idf-similarity', 'narray', 'fastimage'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# https://github.com/iterationlabs/ruby-readability
|
||||
class Treat::Workers::Formatters::Readers::HTML
|
||||
|
||||
silence_warnings { require 'jruby-readability' }
|
||||
silence_warnings { require 'ruby-readability' }
|
||||
|
||||
# By default, don't backup the original HTML
|
||||
DefaultOptions = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue