Sha256: b4de3e3a16dc4d326e4a1a8b92c31b545a0cd75bc4f2c7e2a5ae44c760647602
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |g| g.name = 'postalcoder' g.summary = 'A library for geocoding postal codes via the Google Maps ' \ 'Geocoding API with a persisted cache through Tokyo Tyrant' g.email = 'heycarsten@gmail.com' g.homepage = 'http://github.com/heycarsten/postalcoder' g.authors = ['Carsten Nielsen'] end rescue LoadError puts 'Jeweler not available. Install it with: sudo gem install ' \ 'technicalpickles-jeweler -s http://gems.github.com' end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end rescue LoadError task :rcov do abort 'RCov is not available. In order to run rcov, you must: sudo gem ' \ 'install spicycode-rcov' end end task :default => :test # require 'rake/rdoctask' # Rake::RDocTask.new do |rdoc| # if File.exist?('VERSION.yml') # config = YAML.load(File.read('VERSION.yml')) # version = [config[:major], config[:minor], config[:patch]].join('.') # else # version = '' # end # rdoc.rdoc_dir = 'rdoc' # rdoc.title = "PostalCoder #{version}" # rdoc.rdoc_files.include('README*') # rdoc.rdoc_files.include('lib/**/*.rb') # end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
heycarsten-postalcoder-0.1.3 | Rakefile |
heycarsten-postalcoder-0.1.4 | Rakefile |
heycarsten-postalcoder-0.2.0 | Rakefile |