Sha256: ce899041db592cb5b72aa1476a7ba3508761a561eeaa2eb6a94936da6f35f80d

Contents?: true

Size: 415 Bytes

Versions: 78

Compression:

Stored size: 415 Bytes

Contents

namespace :phonelib do
  desc 'Create database for tests in Rails dummy application'
  task :create_test_db do
    exit unless defined? Rails
    Rails.env = 'test'
    load 'spec/dummy/Rakefile'
    Rake::Task['db:setup'].invoke
  end

  desc 'Import and reparse original data file from Google libphonenumber'
  task :import_data do
    require 'phonelib/data_importer'
    Phonelib::DataImporter.import
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
phonelib-0.9.3 lib/tasks/phonelib_tasks.rake
phonelib-0.9.2 lib/tasks/phonelib_tasks.rake
phonelib-0.9.1 lib/tasks/phonelib_tasks.rake
phonelib-0.9.0 lib/tasks/phonelib_tasks.rake
phonelib-0.8.9 lib/tasks/phonelib_tasks.rake
phonelib-0.8.8 lib/tasks/phonelib_tasks.rake
phonelib-0.8.7 lib/tasks/phonelib_tasks.rake
phonelib-0.8.6 lib/tasks/phonelib_tasks.rake
phonelib-0.8.5 lib/tasks/phonelib_tasks.rake
phonelib-0.8.4 lib/tasks/phonelib_tasks.rake
phonelib-0.8.3 lib/tasks/phonelib_tasks.rake
phonelib-0.8.2 lib/tasks/phonelib_tasks.rake
phonelib-0.8.1 lib/tasks/phonelib_tasks.rake
phonelib-0.8.0 lib/tasks/phonelib_tasks.rake
phonelib-0.7.7 lib/tasks/phonelib_tasks.rake
phonelib-0.7.6 lib/tasks/phonelib_tasks.rake
phonelib-0.7.5 lib/tasks/phonelib_tasks.rake
phonelib-0.7.4 lib/tasks/phonelib_tasks.rake
phonelib-0.7.3 lib/tasks/phonelib_tasks.rake
phonelib-0.7.2 lib/tasks/phonelib_tasks.rake