Sha256: c2fb394acfdcf1a65a648cf5753036b68e84c4e4f7e9efdef8acc9dfbcce8b62

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require "telephone_number"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/**/*_test.rb']
end

task :default => :test

namespace :data do
  namespace :main do
    task :import  do
      TelephoneNumber::DataImporter.new(File.expand_path("data/telephone_number_data_file.xml")).import!
    end
  end

  namespace :test do
    task :import  do
      TelephoneNumber::TestDataGenerator.import!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telephone_number-0.2.0 Rakefile