Sha256: b97d298c2b99ceb2d11524f6734afe475c18fb96e58f27ed0f1b842841625e18

Contents?: true

Size: 489 Bytes

Versions: 14

Compression:

Stored size: 489 Bytes

Contents

require 'bundler/setup'
Bundler.setup(:default, :development)

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new :spec do |t|
  t.rspec_opts = %w[--color]
end

RSpec::Core::RakeTask.new :specdoc do |t|
  t.rspec_opts = %w[-fl]
end

task default: :spec

desc 'Open an irb session preloaded with this library'
task :console do
  sh 'irb -r rubygems -I lib -r ziptz.rb'
end

desc 'Create ziptz db from zipcodes database'
task :create_ziptz do
  require 'zip_code'
  ZipCode.import
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ziptz-2.1.14 Rakefile
ziptz-2.1.13 Rakefile
ziptz-2.1.12 Rakefile
ziptz-2.1.11 Rakefile
ziptz-2.1.10 Rakefile
ziptz-2.1.9 Rakefile
ziptz-2.1.8 Rakefile
ziptz-2.1.7 Rakefile
ziptz-2.1.6 Rakefile
ziptz-2.1.5 Rakefile
ziptz-2.1.4 Rakefile
ziptz-2.1.3 Rakefile
ziptz-2.1.2 Rakefile
ziptz-2.1.0 Rakefile