Skip to content

Commit

Permalink
Google renamed PhoneNumberMetaData.xml to PhoneNumberMetadata.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Sep 24, 2013
1 parent 5dc1642 commit 38e9c1b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
all: PhoneNumberMetaData.js
all: PhoneNumberMetadata.js

%.js: %.xml xml2meta.py
python xml2meta.py $< > $@

PhoneNumberMetaData.xml:
PhoneNumberMetadata.xml:
curl http://libphonenumber.googlecode.com/svn/trunk/resources/PhoneNumberMetadata.xml > $@

clean:
rm -f PhoneNumberMetaData.xml *~
rm -f PhoneNumberMetadata.xml *~
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ is unpacked. Depending on the memory layout of the specific JavaScript engine, p
memory use should be below 200k. If you mostly format numbers from one or a few
regions, memory use should be pretty close to 60k.

PhoneNumber.js uses libphonenumber's PhoneNumberMetaData.xml database of known
PhoneNumber.js uses libphonenumber's PhoneNumberMetadata.xml database of known
phone number formats. Use "make" to download the xml file and translate it
into PhoneNumber.js's internal format.

Expand Down
2 changes: 1 addition & 1 deletion fuzz.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */

load("PhoneNumberMetaData.js");
load("PhoneNumberMetadata.js");
load("PhoneNumberNormalizer.js");
load("PhoneNumber.js");

Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */

load("PhoneNumberMetaData.js");
load("PhoneNumberMetadata.js");
load("PhoneNumberNormalizer.js")
load("PhoneNumber.js");

Expand Down
2 changes: 1 addition & 1 deletion xml2meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys

# parse command line arguments
use = "Usage: %prog [options] PhoneNumberMetaData.xml"
use = "Usage: %prog [options] PhoneNumberMetadata.xml"
parser = OptionParser(usage = use)
parser.add_option("-t", "--tests", dest="tests", action="store_true", default=False, help="Emit tests instead of meta data.")
options, args = parser.parse_args()
Expand Down

0 comments on commit 38e9c1b

Please sign in to comment.