about iRosi gem
r o s i 大家懂的,这是一个简单的下载图片的gem而已
Installation
Add this line to your application's Gemfile:
gem 'irosi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install irosi
this gem depend on 2 gems
gem install 'curb'
gem install 'nokogiri'
功能
- 根据指定的专辑编号下载
- 下载区间编号之内的所有专辑
查看帮助文档
使用方法
Api说明
Rosi.download do
for num in 1..8
tem(num)
end
end
or
Rosi.download do
item(1)
item(2)
item(4)
end
目前还比较简陋,欢迎反馈
history
- v0.0.3
- 增加runtime dependency
- v0.0.2
- optparse doc
- v0.0.1
- init
Contributing
- Fork it ( http://github.com/
/irosi/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request