Permalink
Browse files

Catch up

  • Loading branch information...
1 parent 8a59bee commit 62316d00f4d1ad85fb4d82fca7ce41fc3778eceb @farski committed Jul 31, 2012
View
BIN .DS_Store
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,12 @@
+module Iso
+ module Country
+ module Data
+ CORE_FILE = File.expand_path(File.join(File.dirname(__FILE__), 'data', '20120215', 'ISO_3166-1.core.json'))
+ I18N_FILE = File.expand_path(File.join(File.dirname(__FILE__), 'data', '20120215', 'ISO_3166-1.i18n.json'))
+
+ CORE = JSON.parse(File.open(CORE_FILE, 'rb') { |file| file.read })
+ I18N = JSON.parse(File.open(I18N_FILE, 'rb') { |file| file.read })
+ DICTIONARY = { countries: CORE, localizations: I18N }
+ end
+ end
+end
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 62316d0

Please sign in to comment.