Fragile
Ruby Pipeline Framework
Description
This is a pipeline framework which can extend the functionality by plug-ins.
Get Started
Installation.
$ gem install fragile
Specify any recipe which -f option.
$ fragile -f <recipe> <target>
Example.
$ fragile -f recipe/example.rb console_sample
What is Recipe?
The "Recipe" is ruby script.
require "fragile/plugin/rss_input"
require "fragile/plugin/select_filter"
require "fragile/plugin/console_output"
pipeline "console_sample" do
use "rss_input", :url => "http://d.hatena.ne.jp/griefworker/rss"
use "select_filter", :proc => lambda{|x| x[:title].include?("[Ruby]")}
use "console_output"
end
Environment
After ruby 1.8.
Author
tnakamura
License
Licensed under the MIT LICENSE
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request