README.md in boilerpipe-ruby-0.1.1 vs README.md in boilerpipe-ruby-0.2.0
- old
+ new
@@ -12,14 +12,16 @@
I've only got the ArticleExtractor working but the others should be following quickly as the ArticleExtractor definitley has the most code behind it...
Presently the follow Extractors are implemented
* [x] ArticleExtractor
-* [ ] DefaultExtractor
+* [x] DefaultExtractor
* [ ] LargestContentExtractor
* [ ] KeepEverythingExtractor
+[![CircleCI](https://circleci.com/gh/gregors/boilerpipe-ruby/tree/master.svg?style=shield)](https://circleci.com/gh/gregors/boilerpipe-ruby/tree/master)
+
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -42,9 +44,11 @@
> require 'open-uri'
=> true
> content = open('https://blog.carbonfive.com/2017/08/28/always-squash-and-rebase-your-git-commits/').read; true;
> output = Boilerpipe::Extractors::ArticleExtractor.text(content).slice(0..40)
=> "Always Squash and Rebase your Git Commits"
+ > output = Boilerpipe::Extractors::DefaultExtractor.text(content).slice(0..40)
+ => "Posted on\nWhat is the squash rebase workf"
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.