public
Description: A Rails plugin that makes your applications geo-aware.
Homepage: http://graticule.rubyforge.org/plugin.html
Clone URL: git://github.com/collectiveidea/acts_as_geocodable.git
Click here to lend your support to: acts_as_geocodable and make a donation at www.pledgie.com !
acts_as_geocodable / Rakefile
100644 38 lines (34 sloc) 1.248 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
require 'rake'
require 'load_multi_rails_rake_tasks'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the acts_as_geocodable plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the acts_as_geocodable plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsGeocodable'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = 'acts_as_geocodable'
    gemspec.summary = 'Simple geocoding for Rails ActiveRecord models'
    gemspec.description = 'Simple geocoding for Rails ActiveRecord models. See the README for more details.'
    gemspec.email = 'info@collectiveidea.com'
    gemspec.homepage = 'http://github.com/collectiveidea/acts_as_geocodable'
    gemspec.authors = ['Daniel Morrison', 'Brandon Keepers']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end