Skip to content

Commit

Permalink
Merge commit '94d323'
Browse files Browse the repository at this point in the history
  • Loading branch information
youpy committed Nov 16, 2009
2 parents 0c390ed + 94d323d commit c55f490
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,15 @@ desc 'Show information about the gem.'
task :debug_gem do
puts spec.to_ruby
end

desc 'Test against the provided URL'
task :try do
url = ENV['URL']
raise "URL is required." unless url

require 'rubygems'
require 'www/favicon'

favicon_url = WWW::Favicon.new.find(url)
puts "Favicon URL for #{url} is #{favicon_url.inspect}"
end

0 comments on commit c55f490

Please sign in to comment.