Sha256: 38ac49a8f14ff2372b2c6eba6e549e544213d3dc526ab2329b99be87c2d889ae
Contents?: true
Size: 776 Bytes
Versions: 29
Compression:
Stored size: 776 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::PhoneDataImporter.new(File.expand_path('data/telephone_number_data_file.xml')).import! end end namespace :timezone do task :import do TelephoneNumber::TimeZoneDataImporter.load_data! end end namespace :geolocation do task :import do TelephoneNumber::GeoLocationDataImporter.load_data! end end namespace :test do task :import do TelephoneNumber::TestDataImporter.import! end end end
Version data entries
29 entries across 29 versions & 1 rubygems