Sha256: 6c90d30b6bc72ec9ed95eb96932e2d1ac7a48e5c714c46129f84b54658805c9f

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

require 'rake'
require File.dirname(__FILE__) + '/../lib/as_dialed_from.rb'

desc "Downloads and parses country metadata from Google's libphonenumber project"
task :update do
  AsDialedFrom::Metadata.download
  AsDialedFrom::Metadata.parse
end

namespace :update do
  desc "Downloads XML file from Google"
  task :download do
    AsDialedFrom::Metadata.download
  end

  desc "Parses XML into YAML files"
  task :parse do
    AsDialedFrom::Metadata.parse
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
as_dialed_from-0.2.3 tasks/as_dialed_from.rake