countries 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/countries.gemspec +10 -10
- data/lib/data/countries.yaml +15 -15
- metadata +86 -131
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
gem.description = 'All sorts of useful information about every country packaged as pretty little country objects. It includes data from ISO 3166 (countries and subdivisions), ISO 4217 (currency), and E.164 (phone numbers). As a bonus it even adds a country_select helper to rails projects.'
|
10
10
|
gem.email = "hexorx@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/hexorx/countries"
|
12
|
-
gem.authors = ["hexorx"]
|
12
|
+
gem.authors = ["hexorx", "Joe Corcoran"]
|
13
13
|
gem.add_dependency('currencies', '>= 0.2.0')
|
14
14
|
gem.add_development_dependency "rspec"
|
15
15
|
gem.add_development_dependency "yard"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.3
|
data/countries.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.6.
|
7
|
+
s.name = "countries"
|
8
|
+
s.version = "0.6.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["hexorx", "Joe Corcoran"]
|
12
|
+
s.date = "2011-11-22"
|
13
|
+
s.description = "All sorts of useful information about every country packaged as pretty little country objects. It includes data from ISO 3166 (countries and subdivisions), ISO 4217 (currency), and E.164 (phone numbers). As a bonus it even adds a country_select helper to rails projects."
|
14
|
+
s.email = "hexorx@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.markdown"
|
@@ -229,10 +229,10 @@ Gem::Specification.new do |s|
|
|
229
229
|
"spec/country_spec.rb",
|
230
230
|
"spec/spec_helper.rb"
|
231
231
|
]
|
232
|
-
s.homepage =
|
233
|
-
s.require_paths = [
|
234
|
-
s.rubygems_version =
|
235
|
-
s.summary =
|
232
|
+
s.homepage = "http://github.com/hexorx/countries"
|
233
|
+
s.require_paths = ["lib"]
|
234
|
+
s.rubygems_version = "1.8.10"
|
235
|
+
s.summary = "Gives you a country object full of all sorts of useful information."
|
236
236
|
|
237
237
|
if s.respond_to? :specification_version then
|
238
238
|
s.specification_version = 3
|
data/lib/data/countries.yaml
CHANGED
@@ -201,7 +201,7 @@ AO:
|
|
201
201
|
AQ:
|
202
202
|
alpha2: AQ
|
203
203
|
alpha3: ATA
|
204
|
-
country_code: ""
|
204
|
+
country_code: "672"
|
205
205
|
currency: ~
|
206
206
|
international_prefix: ""
|
207
207
|
latitude: "90 00 S"
|
@@ -350,7 +350,7 @@ AW:
|
|
350
350
|
AX:
|
351
351
|
alpha2: AX
|
352
352
|
alpha3: ALA
|
353
|
-
country_code: ""
|
353
|
+
country_code: "358"
|
354
354
|
currency: ~
|
355
355
|
international_prefix: ""
|
356
356
|
latitude: ""
|
@@ -597,7 +597,7 @@ BJ:
|
|
597
597
|
BL:
|
598
598
|
alpha2: BL
|
599
599
|
alpha3: BLM
|
600
|
-
country_code: ""
|
600
|
+
country_code: "590"
|
601
601
|
currency: ~
|
602
602
|
international_prefix: ""
|
603
603
|
latitude: "17 90 N"
|
@@ -963,9 +963,9 @@ CI:
|
|
963
963
|
international_prefix: "00"
|
964
964
|
latitude: "8 00 N"
|
965
965
|
longitude: "5 00 W"
|
966
|
-
name: "Côte D
|
966
|
+
name: "Côte D'Ivoire"
|
967
967
|
names:
|
968
|
-
- "Côte D
|
968
|
+
- "Côte D'Ivoire"
|
969
969
|
national_destination_code_lengths:
|
970
970
|
- 2
|
971
971
|
national_number_lengths:
|
@@ -1153,7 +1153,7 @@ CV:
|
|
1153
1153
|
CX:
|
1154
1154
|
alpha2: CX
|
1155
1155
|
alpha3: CXR
|
1156
|
-
country_code: "
|
1156
|
+
country_code: "61"
|
1157
1157
|
currency: AUD
|
1158
1158
|
international_prefix: "0011"
|
1159
1159
|
latitude: "10 30 S"
|
@@ -1431,7 +1431,7 @@ EG:
|
|
1431
1431
|
EH:
|
1432
1432
|
alpha2: EH
|
1433
1433
|
alpha3: ESH
|
1434
|
-
country_code: ""
|
1434
|
+
country_code: "212"
|
1435
1435
|
currency: MAD
|
1436
1436
|
international_prefix: ""
|
1437
1437
|
latitude: "24 30 N"
|
@@ -1777,7 +1777,7 @@ GF:
|
|
1777
1777
|
GG:
|
1778
1778
|
alpha2: GG
|
1779
1779
|
alpha3: GGY
|
1780
|
-
country_code: ""
|
1780
|
+
country_code: "44"
|
1781
1781
|
currency: GGP
|
1782
1782
|
international_prefix: ""
|
1783
1783
|
latitude: "49 28 N"
|
@@ -1975,7 +1975,7 @@ GR:
|
|
1975
1975
|
GS:
|
1976
1976
|
alpha2: GS
|
1977
1977
|
alpha3: SGS
|
1978
|
-
country_code: ""
|
1978
|
+
country_code: "500"
|
1979
1979
|
currency: ~
|
1980
1980
|
international_prefix: ""
|
1981
1981
|
latitude: "54 30 S"
|
@@ -2290,7 +2290,7 @@ IL:
|
|
2290
2290
|
IM:
|
2291
2291
|
alpha2: IM
|
2292
2292
|
alpha3: IMN
|
2293
|
-
country_code: ""
|
2293
|
+
country_code: "44"
|
2294
2294
|
currency: IMP
|
2295
2295
|
international_prefix: ""
|
2296
2296
|
latitude: "54 15 N"
|
@@ -2337,7 +2337,7 @@ IN:
|
|
2337
2337
|
IO:
|
2338
2338
|
alpha2: IO
|
2339
2339
|
alpha3: IOT
|
2340
|
-
country_code: ""
|
2340
|
+
country_code: "246"
|
2341
2341
|
currency: USD
|
2342
2342
|
international_prefix: ""
|
2343
2343
|
latitude: "6 00 S"
|
@@ -2452,7 +2452,7 @@ IT:
|
|
2452
2452
|
JE:
|
2453
2453
|
alpha2: JE
|
2454
2454
|
alpha3: JEY
|
2455
|
-
country_code: ""
|
2455
|
+
country_code: "44"
|
2456
2456
|
currency: JEP
|
2457
2457
|
international_prefix: ""
|
2458
2458
|
latitude: "49 15 N"
|
@@ -2803,7 +2803,7 @@ LA:
|
|
2803
2803
|
international_prefix: "00"
|
2804
2804
|
latitude: "18 00 N"
|
2805
2805
|
longitude: "105 00 E"
|
2806
|
-
name: "Lao People
|
2806
|
+
name: "Lao People's Democratic Republic"
|
2807
2807
|
names:
|
2808
2808
|
- Laos
|
2809
2809
|
- Laos
|
@@ -3133,7 +3133,7 @@ ME:
|
|
3133
3133
|
MF:
|
3134
3134
|
alpha2: MF
|
3135
3135
|
alpha3: MAF
|
3136
|
-
country_code: ""
|
3136
|
+
country_code: "590"
|
3137
3137
|
currency: EUR
|
3138
3138
|
international_prefix: ""
|
3139
3139
|
latitude: "18 05 N"
|
@@ -4043,7 +4043,7 @@ PM:
|
|
4043
4043
|
PN:
|
4044
4044
|
alpha2: PN
|
4045
4045
|
alpha3: PCN
|
4046
|
-
country_code: "
|
4046
|
+
country_code: ""
|
4047
4047
|
currency: NZD
|
4048
4048
|
international_prefix: "00"
|
4049
4049
|
latitude: "25 04 S"
|
metadata
CHANGED
@@ -1,154 +1,116 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: countries
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 2
|
10
|
-
version: 0.6.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- hexorx
|
9
|
+
- Joe Corcoran
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
13
|
+
date: 2011-11-22 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: currencies
|
17
|
+
requirement: &70265478453600 !ruby/object:Gem::Requirement
|
22
18
|
none: false
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 15
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 4
|
30
|
-
- 0
|
19
|
+
requirements:
|
20
|
+
- - =
|
21
|
+
- !ruby/object:Gem::Version
|
31
22
|
version: 0.4.0
|
32
|
-
name: currencies
|
33
23
|
type: :runtime
|
34
24
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
|
25
|
+
version_requirements: *70265478453600
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: jeweler
|
28
|
+
requirement: &70265478453080 !ruby/object:Gem::Requirement
|
38
29
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 7
|
43
|
-
segments:
|
44
|
-
- 1
|
45
|
-
- 6
|
46
|
-
- 4
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
47
33
|
version: 1.6.4
|
48
|
-
name: jeweler
|
49
34
|
type: :development
|
50
35
|
prerelease: false
|
51
|
-
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
|
36
|
+
version_requirements: *70265478453080
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rspec
|
39
|
+
requirement: &70265478452560 !ruby/object:Gem::Requirement
|
54
40
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 25
|
59
|
-
segments:
|
60
|
-
- 1
|
61
|
-
- 3
|
62
|
-
- 1
|
41
|
+
requirements:
|
42
|
+
- - =
|
43
|
+
- !ruby/object:Gem::Version
|
63
44
|
version: 1.3.1
|
64
|
-
name: rspec
|
65
45
|
type: :development
|
66
46
|
prerelease: false
|
67
|
-
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
hash: 3
|
75
|
-
segments:
|
76
|
-
- 0
|
77
|
-
version: "0"
|
47
|
+
version_requirements: *70265478452560
|
48
|
+
- !ruby/object:Gem::Dependency
|
78
49
|
name: rake
|
50
|
+
requirement: &70265478451980 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
79
56
|
type: :development
|
80
57
|
prerelease: false
|
81
|
-
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
|
58
|
+
version_requirements: *70265478451980
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: yard
|
61
|
+
requirement: &70265478451480 !ruby/object:Gem::Requirement
|
84
62
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
hash: 15
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
- 6
|
92
|
-
- 4
|
63
|
+
requirements:
|
64
|
+
- - =
|
65
|
+
- !ruby/object:Gem::Version
|
93
66
|
version: 0.6.4
|
94
|
-
name: yard
|
95
67
|
type: :development
|
96
68
|
prerelease: false
|
97
|
-
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
|
69
|
+
version_requirements: *70265478451480
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: currencies
|
72
|
+
requirement: &70265478450880 !ruby/object:Gem::Requirement
|
100
73
|
none: false
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
hash: 23
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
- 2
|
108
|
-
- 0
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
109
77
|
version: 0.2.0
|
110
|
-
name: currencies
|
111
78
|
type: :runtime
|
112
79
|
prerelease: false
|
113
|
-
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
|
-
requirements:
|
118
|
-
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
hash: 3
|
121
|
-
segments:
|
122
|
-
- 0
|
123
|
-
version: "0"
|
80
|
+
version_requirements: *70265478450880
|
81
|
+
- !ruby/object:Gem::Dependency
|
124
82
|
name: rspec
|
83
|
+
requirement: &70265478450320 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
125
89
|
type: :development
|
126
90
|
prerelease: false
|
127
|
-
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
|
-
requirements:
|
132
|
-
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
hash: 3
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
version: "0"
|
91
|
+
version_requirements: *70265478450320
|
92
|
+
- !ruby/object:Gem::Dependency
|
138
93
|
name: yard
|
94
|
+
requirement: &70265478449660 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
139
100
|
type: :development
|
140
101
|
prerelease: false
|
141
|
-
|
142
|
-
description: All sorts of useful information about every country packaged as pretty
|
102
|
+
version_requirements: *70265478449660
|
103
|
+
description: All sorts of useful information about every country packaged as pretty
|
104
|
+
little country objects. It includes data from ISO 3166 (countries and subdivisions),
|
105
|
+
ISO 4217 (currency), and E.164 (phone numbers). As a bonus it even adds a country_select
|
106
|
+
helper to rails projects.
|
143
107
|
email: hexorx@gmail.com
|
144
108
|
executables: []
|
145
|
-
|
146
109
|
extensions: []
|
147
|
-
|
148
|
-
extra_rdoc_files:
|
110
|
+
extra_rdoc_files:
|
149
111
|
- LICENSE
|
150
112
|
- README.markdown
|
151
|
-
files:
|
113
|
+
files:
|
152
114
|
- .document
|
153
115
|
- .rvmrc
|
154
116
|
- Gemfile
|
@@ -362,36 +324,29 @@ files:
|
|
362
324
|
- spec/spec_helper.rb
|
363
325
|
homepage: http://github.com/hexorx/countries
|
364
326
|
licenses: []
|
365
|
-
|
366
327
|
post_install_message:
|
367
328
|
rdoc_options: []
|
368
|
-
|
369
|
-
require_paths:
|
329
|
+
require_paths:
|
370
330
|
- lib
|
371
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
331
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
372
332
|
none: false
|
373
|
-
requirements:
|
374
|
-
- -
|
375
|
-
- !ruby/object:Gem::Version
|
376
|
-
|
377
|
-
segments:
|
333
|
+
requirements:
|
334
|
+
- - ! '>='
|
335
|
+
- !ruby/object:Gem::Version
|
336
|
+
version: '0'
|
337
|
+
segments:
|
378
338
|
- 0
|
379
|
-
|
380
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
+
hash: -4335846236134678826
|
340
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
341
|
none: false
|
382
|
-
requirements:
|
383
|
-
- -
|
384
|
-
- !ruby/object:Gem::Version
|
385
|
-
|
386
|
-
segments:
|
387
|
-
- 0
|
388
|
-
version: "0"
|
342
|
+
requirements:
|
343
|
+
- - ! '>='
|
344
|
+
- !ruby/object:Gem::Version
|
345
|
+
version: '0'
|
389
346
|
requirements: []
|
390
|
-
|
391
347
|
rubyforge_project:
|
392
|
-
rubygems_version: 1.8.
|
348
|
+
rubygems_version: 1.8.10
|
393
349
|
signing_key:
|
394
350
|
specification_version: 3
|
395
351
|
summary: Gives you a country object full of all sorts of useful information.
|
396
352
|
test_files: []
|
397
|
-
|