Sha256: fc5143ab395b43390795788f146b863ddf7f9cbd00d19552638397f312a941c6

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 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']
  t.warning = false
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

6 entries across 6 versions & 1 rubygems

Version Path
telephone_number-1.2.0 Rakefile
telephone_number-1.2.0.rc1 Rakefile
telephone_number-1.1.1 Rakefile
telephone_number-1.1.0 Rakefile
telephone_number-1.0.0 Rakefile
telephone_number-0.3.0 Rakefile