Sha256: 871e1e2a4ed42060bddc80143e6aaf5fb5afbbf56e69383cb37ad2d1d8b5fe3c

Contents?: true

Size: 842 Bytes

Versions: 3

Compression:

Stored size: 842 Bytes

Contents

# This sample originally from http://www.channel4.com/news/articles/world/judge+rules+briton+can+be+forcefed/3578372

$required_fragments = [
  "Judge rules Briton can be force-fed", # headline
  "A US judge has ruled that prison officials may continue force-feeding a Briton who began a hunger strike in September 2007 over claims he was convicted on a fabricated sexual assault charge.",
  "William Coleman, reportedly originally from Liverpool, who is serving an eight-year sentence for rape, said he began his hunger strike to protest against a corrupt judicial system.",
  "The state of Connecticut began force-feeding Coleman in September 2008 after he stopped accepting fluids, but he argued that the feedings violate his right of free speech."
]

$excluded_fragments = [
#  "Share this article" # ideally this would not be present
]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-readability-0.2.3 spec/fixtures/samples/channel4-1-fragments.rb
ruby-readability-0.2.2 spec/fixtures/samples/channel4-1-fragments.rb
ruby-readability-0.2.1 spec/fixtures/samples/channel4-1-fragments.rb