BMorearty / link_to_remote_with_seo

All the benefits of link_to_remote, but SEO-friendly because it makes your links crawlable by bots.

This URL has Read+Write access

BMorearty (author)
Thu Apr 02 15:29:29 -0700 2009
commit  360a121d4e041a23eb78daa9f28c60e2936f7ea3
tree    2b5da439dfba9036f5ac9dcdb550392c1d14a7d7
parent  bff0c9aad4a4f8d7c6dcc9f9405096471daf8b1c
link_to_remote_with_seo / Rakefile
100755 24 lines (20 sloc) 0.604 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the link_to_remote_with_seo plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the link_to_remote_with_seo plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'LinkToRemoteWithSeo'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end