2012-03-12 01:38:05 +00:00
|
|
|
require 'bundler/setup'
|
2020-07-20 13:35:41 +00:00
|
|
|
|
|
|
|
require 'rspec'
|
2012-03-12 01:38:05 +00:00
|
|
|
require 'rspec/core/rake_task'
|
2013-07-11 03:00:06 +00:00
|
|
|
require 'rake/testtask'
|
2012-03-12 01:38:05 +00:00
|
|
|
|
2011-02-04 04:13:41 +00:00
|
|
|
|
2020-07-20 13:35:41 +00:00
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
task default: :spec
|
2011-02-04 04:13:41 +00:00
|
|
|
|
2020-07-20 13:35:41 +00:00
|
|
|
Bundler::GemHelper.install_tasks
|
2011-02-04 04:13:41 +00:00
|
|
|
|
|
|
|
namespace :impressionist do
|
2021-12-21 01:11:44 +00:00
|
|
|
require "#{File.dirname(__FILE__)}/lib/impressionist/bots"
|
2011-11-28 02:56:44 +00:00
|
|
|
|
2011-02-04 04:13:41 +00:00
|
|
|
desc "output the list of bots from http://www.user-agents.org/"
|
2011-11-28 02:56:44 +00:00
|
|
|
task :bots do
|
2011-02-04 04:13:41 +00:00
|
|
|
p Impressionist::Bots.consume
|
|
|
|
end
|
2012-03-06 22:20:22 +00:00
|
|
|
end
|