Sha256: 2609b566f48f01d9a25f3743f9877835758b636dfb7d1263d00fd53c03bf43fa
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
# -*- ruby -*- require 'rubygems' require 'hoe' require 'open-uri' require 'hpricot' require './lib/metainspector.rb' Hoe.new('metainspector', MetaInspector::VERSION) do |p| p.rubyforge_name = 'metainspector' p.author = 'Jaime Iniesta' p.email = 'jaimeiniesta@gmail.com' p.summary = 'Ruby gem for web scraping purposes. It scrapes a given URL, and returns you a hash with data from it like for example the title, meta description, meta keywords, an array with all the links, all the images in it, etc.' p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n") p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1] p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") p.extra_deps << "hpricot" end # vim: syntax=Ruby
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metainspector-1.0.2 | Rakefile |