maxmind-geoip2 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +27 -0
  3. data/README.md +13 -10
  4. data/lib/maxmind/geoip2/client.rb +18 -9
  5. data/lib/maxmind/geoip2/errors.rb +17 -8
  6. data/lib/maxmind/geoip2/model/city.rb +4 -5
  7. data/lib/maxmind/geoip2/model/connection_type.rb +3 -2
  8. data/lib/maxmind/geoip2/model/enterprise.rb +2 -3
  9. data/lib/maxmind/geoip2/model/insights.rb +3 -5
  10. data/lib/maxmind/geoip2/model/isp.rb +16 -0
  11. data/lib/maxmind/geoip2/reader.rb +1 -2
  12. data/lib/maxmind/geoip2/record/traits.rb +58 -26
  13. data/lib/maxmind/geoip2/version.rb +8 -0
  14. data/maxmind-geoip2.gemspec +8 -2
  15. data/test/data/MaxMind-DB-spec.md +15 -11
  16. data/test/data/cmd/write-test-data/main.go +68 -0
  17. data/test/data/go.mod +13 -0
  18. data/test/data/go.sum +16 -0
  19. data/test/data/perltidyrc +6 -0
  20. data/test/data/pkg/writer/decoder.go +178 -0
  21. data/test/data/pkg/writer/geoip2.go +182 -0
  22. data/test/data/pkg/writer/ip.go +39 -0
  23. data/test/data/pkg/writer/maxmind.go +245 -0
  24. data/test/data/pkg/writer/nestedstructures.go +73 -0
  25. data/test/data/pkg/writer/writer.go +58 -0
  26. data/test/data/source-data/GeoIP2-City-Test.json +402 -48
  27. data/test/data/source-data/GeoIP2-Connection-Type-Test.json +35 -10
  28. data/test/data/source-data/GeoIP2-Country-Test.json +145 -58
  29. data/test/data/source-data/GeoIP2-Domain-Test.json +5 -0
  30. data/test/data/source-data/GeoIP2-Enterprise-Test.json +408 -4
  31. data/test/data/source-data/GeoIP2-ISP-Test.json +10 -0
  32. data/test/data/source-data/GeoIP2-Precision-Enterprise-Sandbox-Test.json +296 -0
  33. data/test/data/source-data/GeoIP2-Precision-Enterprise-Test.json +473 -6
  34. data/test/data/source-data/GeoIP2-Static-IP-Score-Test.json +15 -0
  35. data/test/data/source-data/GeoIP2-User-Count-Test.json +18 -0
  36. data/test/data/source-data/GeoLite2-ASN-Test.json +4091 -8
  37. data/test/data/source-data/GeoLite2-City-Test.json +12972 -0
  38. data/test/data/source-data/GeoLite2-Country-Test.json +11372 -0
  39. data/test/data/test-data/GeoIP2-Anonymous-IP-Test.mmdb +0 -0
  40. data/test/data/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb +0 -0
  41. data/test/data/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb +0 -0
  42. data/test/data/test-data/GeoIP2-City-Test.mmdb +0 -0
  43. data/test/data/test-data/GeoIP2-Connection-Type-Test.mmdb +0 -0
  44. data/test/data/test-data/GeoIP2-Country-Test.mmdb +0 -0
  45. data/test/data/test-data/GeoIP2-DensityIncome-Test.mmdb +0 -0
  46. data/test/data/test-data/GeoIP2-Domain-Test.mmdb +0 -0
  47. data/test/data/test-data/GeoIP2-Enterprise-Test.mmdb +0 -0
  48. data/test/data/test-data/GeoIP2-ISP-Test.mmdb +0 -0
  49. data/test/data/test-data/GeoIP2-Precision-Enterprise-Test.mmdb +0 -0
  50. data/test/data/test-data/GeoIP2-Static-IP-Score-Test.mmdb +0 -0
  51. data/test/data/test-data/GeoIP2-User-Count-Test.mmdb +0 -0
  52. data/test/data/test-data/GeoLite2-ASN-Test.mmdb +0 -0
  53. data/test/data/test-data/GeoLite2-City-Test.mmdb +0 -0
  54. data/test/data/test-data/GeoLite2-Country-Test.mmdb +0 -0
  55. data/test/data/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb +0 -0
  56. data/test/data/test-data/MaxMind-DB-string-value-entries.mmdb +0 -0
  57. data/test/data/test-data/MaxMind-DB-test-broken-pointers-24.mmdb +0 -0
  58. data/test/data/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb +0 -0
  59. data/test/data/test-data/MaxMind-DB-test-decoder.mmdb +0 -0
  60. data/test/data/test-data/MaxMind-DB-test-ipv4-24.mmdb +0 -0
  61. data/test/data/test-data/MaxMind-DB-test-ipv4-28.mmdb +0 -0
  62. data/test/data/test-data/MaxMind-DB-test-ipv4-32.mmdb +0 -0
  63. data/test/data/test-data/MaxMind-DB-test-ipv6-24.mmdb +0 -0
  64. data/test/data/test-data/MaxMind-DB-test-ipv6-28.mmdb +0 -0
  65. data/test/data/test-data/MaxMind-DB-test-ipv6-32.mmdb +0 -0
  66. data/test/data/test-data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
  67. data/test/data/test-data/MaxMind-DB-test-mixed-24.mmdb +0 -0
  68. data/test/data/test-data/MaxMind-DB-test-mixed-28.mmdb +0 -0
  69. data/test/data/test-data/MaxMind-DB-test-mixed-32.mmdb +0 -0
  70. data/test/data/test-data/MaxMind-DB-test-nested.mmdb +0 -0
  71. data/test/data/test-data/MaxMind-DB-test-pointer-decoder.mmdb +0 -0
  72. data/test/data/test-data/README.md +30 -14
  73. data/test/test_client.rb +18 -2
  74. data/test/test_reader.rb +37 -3
  75. metadata +21 -8
  76. data/test/data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
  77. data/test/data/source-data/README +0 -15
  78. data/test/data/test-data/write-test-data.pl +0 -691
@@ -103,6 +103,160 @@
103
103
  }
104
104
  }
105
105
  },
106
+ {
107
+ "::214.0.0.0/120" : {
108
+ "city" : {
109
+ "geoname_id" : 1880252,
110
+ "names" : {
111
+ "de" : "Singapur",
112
+ "en" : "Singapore",
113
+ "es" : "Singapur",
114
+ "fr" : "Singapour",
115
+ "ja" : "シンガポール",
116
+ "pt-BR" : "Singapura",
117
+ "ru" : "Сингапур",
118
+ "zh-CN" : "新加坡"
119
+ }
120
+ },
121
+ "continent" : {
122
+ "code" : "AS",
123
+ "geoname_id" : 6255147,
124
+ "names" : {
125
+ "de" : "Asien",
126
+ "en" : "Asia",
127
+ "es" : "Asia",
128
+ "fr" : "Asie",
129
+ "ja" : "アジア",
130
+ "pt-BR" : "Ásia",
131
+ "ru" : "Азия",
132
+ "zh-CN" : "亚洲"
133
+ }
134
+ },
135
+ "country" : {
136
+ "geoname_id" : 1880251,
137
+ "iso_code" : "SG",
138
+ "names" : {
139
+ "de" : "Singapur",
140
+ "en" : "Singapore",
141
+ "es" : "Singapur",
142
+ "fr" : "Singapour",
143
+ "ja" : "シンガポール",
144
+ "pt-BR" : "Singapura",
145
+ "ru" : "Сингапур",
146
+ "zh-CN" : "新加坡"
147
+ }
148
+ },
149
+ "location" : {
150
+ "accuracy_radius" : 10,
151
+ "latitude" : 1.336,
152
+ "longitude" : 103.7716,
153
+ "time_zone" : "Asia/Singapore"
154
+ },
155
+ "postal" : {
156
+ "code" : "59"
157
+ },
158
+ "registered_country" : {
159
+ "geoname_id" : 1880251,
160
+ "iso_code" : "SG",
161
+ "names" : {
162
+ "de" : "Singapur",
163
+ "en" : "Singapore",
164
+ "es" : "Singapur",
165
+ "fr" : "Singapour",
166
+ "ja" : "シンガポール",
167
+ "pt-BR" : "Singapura",
168
+ "ru" : "Сингапур",
169
+ "zh-CN" : "新加坡"
170
+ }
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "::214.0.1.0/120" : {
176
+ "city" : {
177
+ "geoname_id" : 2158177,
178
+ "names" : {
179
+ "de" : "Melbourne",
180
+ "en" : "Melbourne",
181
+ "es" : "Melbourne",
182
+ "fr" : "Melbourne",
183
+ "ja" : "メルボルン",
184
+ "pt-BR" : "Melbourne",
185
+ "ru" : "Мельбурн",
186
+ "zh-CN" : "墨尔本"
187
+ }
188
+ },
189
+ "continent" : {
190
+ "code" : "OC",
191
+ "geoname_id" : 6255151,
192
+ "names" : {
193
+ "de" : "Ozeanien",
194
+ "en" : "Oceania",
195
+ "es" : "Oceanía",
196
+ "fr" : "Océanie",
197
+ "ja" : "オセアニア",
198
+ "pt-BR" : "Oceania",
199
+ "ru" : "Океания",
200
+ "zh-CN" : "大洋洲"
201
+ }
202
+ },
203
+ "country" : {
204
+ "geoname_id" : 2077456,
205
+ "iso_code" : "AU",
206
+ "names" : {
207
+ "de" : "Australien",
208
+ "en" : "Australia",
209
+ "es" : "Australia",
210
+ "fr" : "Australie",
211
+ "ja" : "オーストラリア",
212
+ "pt-BR" : "Austrália",
213
+ "ru" : "Австралия",
214
+ "zh-CN" : "澳大利亚"
215
+ }
216
+ },
217
+ "location" : {
218
+ "accuracy_radius" : 20,
219
+ "latitude" : -37.8159,
220
+ "longitude" : 144.9669,
221
+ "time_zone" : "Australia/Melbourne"
222
+ },
223
+ "postal" : {
224
+ "code" : "3000"
225
+ },
226
+ "registered_country" : {
227
+ "geoname_id" : 2077456,
228
+ "iso_code" : "AU",
229
+ "names" : {
230
+ "de" : "Australien",
231
+ "en" : "Australia",
232
+ "es" : "Australia",
233
+ "fr" : "Australie",
234
+ "ja" : "オーストラリア",
235
+ "pt-BR" : "Austrália",
236
+ "ru" : "Австралия",
237
+ "zh-CN" : "澳大利亚"
238
+ }
239
+ },
240
+ "subdivisions" : [
241
+ {
242
+ "geoname_id" : 2145234,
243
+ "iso_code" : "VIC",
244
+ "names" : {
245
+ "en" : "Victoria",
246
+ "pt-BR" : "Vitória",
247
+ "ru" : "Виктория"
248
+ }
249
+ }
250
+ ]
251
+ }
252
+ },
253
+ {
254
+ "214.1.1.0/24" : {
255
+ "traits": {
256
+ "is_anycast": true
257
+ }
258
+ }
259
+ },
106
260
  {
107
261
  "2001:230::/32" : {
108
262
  "continent" : {
@@ -2471,7 +2625,6 @@
2471
2625
  },
2472
2626
  "country" : {
2473
2627
  "geoname_id" : 2635167,
2474
- "is_in_european_union" : true,
2475
2628
  "iso_code" : "GB",
2476
2629
  "names" : {
2477
2630
  "de" : "Vereinigtes Königreich",
@@ -2492,7 +2645,6 @@
2492
2645
  },
2493
2646
  "registered_country" : {
2494
2647
  "geoname_id" : 2635167,
2495
- "is_in_european_union" : true,
2496
2648
  "iso_code" : "GB",
2497
2649
  "names" : {
2498
2650
  "de" : "Vereinigtes Königreich",
@@ -2819,7 +2971,6 @@
2819
2971
  },
2820
2972
  "country" : {
2821
2973
  "geoname_id" : 2635167,
2822
- "is_in_european_union" : true,
2823
2974
  "iso_code" : "GB",
2824
2975
  "names" : {
2825
2976
  "de" : "Vereinigtes Königreich",
@@ -2840,7 +2991,6 @@
2840
2991
  },
2841
2992
  "registered_country" : {
2842
2993
  "geoname_id" : 2635167,
2843
- "is_in_european_union" : true,
2844
2994
  "iso_code" : "GB",
2845
2995
  "names" : {
2846
2996
  "de" : "Vereinigtes Königreich",
@@ -3088,7 +3238,6 @@
3088
3238
  },
3089
3239
  "country" : {
3090
3240
  "geoname_id" : 2635167,
3091
- "is_in_european_union" : true,
3092
3241
  "iso_code" : "GB",
3093
3242
  "names" : {
3094
3243
  "de" : "Vereinigtes Königreich",
@@ -3109,7 +3258,6 @@
3109
3258
  },
3110
3259
  "registered_country" : {
3111
3260
  "geoname_id" : 2635167,
3112
- "is_in_european_union" : true,
3113
3261
  "iso_code" : "GB",
3114
3262
  "names" : {
3115
3263
  "de" : "Vereinigtes Königreich",
@@ -3936,7 +4084,6 @@
3936
4084
  },
3937
4085
  "country" : {
3938
4086
  "geoname_id" : 2635167,
3939
- "is_in_european_union" : true,
3940
4087
  "iso_code" : "GB",
3941
4088
  "names" : {
3942
4089
  "de" : "Vereinigtes Königreich",
@@ -3957,7 +4104,6 @@
3957
4104
  },
3958
4105
  "registered_country" : {
3959
4106
  "geoname_id" : 2635167,
3960
- "is_in_european_union" : true,
3961
4107
  "iso_code" : "GB",
3962
4108
  "names" : {
3963
4109
  "de" : "Vereinigtes Königreich",
@@ -4562,7 +4708,6 @@
4562
4708
  },
4563
4709
  "country" : {
4564
4710
  "geoname_id" : 2635167,
4565
- "is_in_european_union" : true,
4566
4711
  "iso_code" : "GB",
4567
4712
  "names" : {
4568
4713
  "de" : "Vereinigtes Königreich",
@@ -4583,7 +4728,6 @@
4583
4728
  },
4584
4729
  "registered_country" : {
4585
4730
  "geoname_id" : 2635167,
4586
- "is_in_european_union" : true,
4587
4731
  "iso_code" : "GB",
4588
4732
  "names" : {
4589
4733
  "de" : "Vereinigtes Königreich",
@@ -5031,7 +5175,6 @@
5031
5175
  },
5032
5176
  "country" : {
5033
5177
  "geoname_id" : 2635167,
5034
- "is_in_european_union" : true,
5035
5178
  "iso_code" : "GB",
5036
5179
  "names" : {
5037
5180
  "de" : "Vereinigtes Königreich",
@@ -5052,7 +5195,6 @@
5052
5195
  },
5053
5196
  "registered_country" : {
5054
5197
  "geoname_id" : 2635167,
5055
- "is_in_european_union" : true,
5056
5198
  "iso_code" : "GB",
5057
5199
  "names" : {
5058
5200
  "de" : "Vereinigtes Königreich",
@@ -5349,7 +5491,6 @@
5349
5491
  },
5350
5492
  "country" : {
5351
5493
  "geoname_id" : 2635167,
5352
- "is_in_european_union" : true,
5353
5494
  "iso_code" : "GB",
5354
5495
  "names" : {
5355
5496
  "de" : "Vereinigtes Königreich",
@@ -5370,7 +5511,6 @@
5370
5511
  },
5371
5512
  "registered_country" : {
5372
5513
  "geoname_id" : 2635167,
5373
- "is_in_european_union" : true,
5374
5514
  "iso_code" : "GB",
5375
5515
  "names" : {
5376
5516
  "de" : "Vereinigtes Königreich",
@@ -5457,7 +5597,6 @@
5457
5597
  },
5458
5598
  "country" : {
5459
5599
  "geoname_id" : 2635167,
5460
- "is_in_european_union" : true,
5461
5600
  "iso_code" : "GB",
5462
5601
  "names" : {
5463
5602
  "de" : "Vereinigtes Königreich",
@@ -5478,7 +5617,6 @@
5478
5617
  },
5479
5618
  "registered_country" : {
5480
5619
  "geoname_id" : 2635167,
5481
- "is_in_european_union" : true,
5482
5620
  "iso_code" : "GB",
5483
5621
  "names" : {
5484
5622
  "de" : "Vereinigtes Königreich",
@@ -7363,7 +7501,6 @@
7363
7501
  },
7364
7502
  "country" : {
7365
7503
  "geoname_id" : 2635167,
7366
- "is_in_european_union" : true,
7367
7504
  "iso_code" : "GB",
7368
7505
  "names" : {
7369
7506
  "de" : "Vereinigtes Königreich",
@@ -7384,7 +7521,6 @@
7384
7521
  },
7385
7522
  "registered_country" : {
7386
7523
  "geoname_id" : 2635167,
7387
- "is_in_european_union" : true,
7388
7524
  "iso_code" : "GB",
7389
7525
  "names" : {
7390
7526
  "de" : "Vereinigtes Königreich",
@@ -7576,7 +7712,6 @@
7576
7712
  },
7577
7713
  "country" : {
7578
7714
  "geoname_id" : 2635167,
7579
- "is_in_european_union" : true,
7580
7715
  "iso_code" : "GB",
7581
7716
  "names" : {
7582
7717
  "de" : "Vereinigtes Königreich",
@@ -7597,7 +7732,6 @@
7597
7732
  },
7598
7733
  "registered_country" : {
7599
7734
  "geoname_id" : 2635167,
7600
- "is_in_european_union" : true,
7601
7735
  "iso_code" : "GB",
7602
7736
  "names" : {
7603
7737
  "de" : "Vereinigtes Königreich",
@@ -8698,7 +8832,6 @@
8698
8832
  },
8699
8833
  "country" : {
8700
8834
  "geoname_id" : 2635167,
8701
- "is_in_european_union" : true,
8702
8835
  "iso_code" : "GB",
8703
8836
  "names" : {
8704
8837
  "de" : "Vereinigtes Königreich",
@@ -8719,7 +8852,6 @@
8719
8852
  },
8720
8853
  "registered_country" : {
8721
8854
  "geoname_id" : 2635167,
8722
- "is_in_european_union" : true,
8723
8855
  "iso_code" : "GB",
8724
8856
  "names" : {
8725
8857
  "de" : "Vereinigtes Königreich",
@@ -8804,7 +8936,6 @@
8804
8936
  },
8805
8937
  "country" : {
8806
8938
  "geoname_id" : 2635167,
8807
- "is_in_european_union" : true,
8808
8939
  "iso_code" : "GB",
8809
8940
  "names" : {
8810
8941
  "de" : "Vereinigtes Königreich",
@@ -8825,7 +8956,6 @@
8825
8956
  },
8826
8957
  "registered_country" : {
8827
8958
  "geoname_id" : 2635167,
8828
- "is_in_european_union" : true,
8829
8959
  "iso_code" : "GB",
8830
8960
  "names" : {
8831
8961
  "de" : "Vereinigtes Königreich",
@@ -9334,7 +9464,6 @@
9334
9464
  },
9335
9465
  "country" : {
9336
9466
  "geoname_id" : 2635167,
9337
- "is_in_european_union" : true,
9338
9467
  "iso_code" : "GB",
9339
9468
  "names" : {
9340
9469
  "de" : "Vereinigtes Königreich",
@@ -9355,7 +9484,6 @@
9355
9484
  },
9356
9485
  "registered_country" : {
9357
9486
  "geoname_id" : 2635167,
9358
- "is_in_european_union" : true,
9359
9487
  "iso_code" : "GB",
9360
9488
  "names" : {
9361
9489
  "de" : "Vereinigtes Königreich",
@@ -9494,7 +9622,6 @@
9494
9622
  },
9495
9623
  "country" : {
9496
9624
  "geoname_id" : 2635167,
9497
- "is_in_european_union" : true,
9498
9625
  "iso_code" : "GB",
9499
9626
  "names" : {
9500
9627
  "de" : "Vereinigtes Königreich",
@@ -9515,7 +9642,6 @@
9515
9642
  },
9516
9643
  "registered_country" : {
9517
9644
  "geoname_id" : 2635167,
9518
- "is_in_european_union" : true,
9519
9645
  "iso_code" : "GB",
9520
9646
  "names" : {
9521
9647
  "de" : "Vereinigtes Königreich",
@@ -9704,7 +9830,6 @@
9704
9830
  },
9705
9831
  "country" : {
9706
9832
  "geoname_id" : 2635167,
9707
- "is_in_european_union" : true,
9708
9833
  "iso_code" : "GB",
9709
9834
  "names" : {
9710
9835
  "de" : "Vereinigtes Königreich",
@@ -9725,7 +9850,6 @@
9725
9850
  },
9726
9851
  "registered_country" : {
9727
9852
  "geoname_id" : 2635167,
9728
- "is_in_european_union" : true,
9729
9853
  "iso_code" : "GB",
9730
9854
  "names" : {
9731
9855
  "de" : "Vereinigtes Königreich",
@@ -10658,7 +10782,6 @@
10658
10782
  },
10659
10783
  "country" : {
10660
10784
  "geoname_id" : 2635167,
10661
- "is_in_european_union" : true,
10662
10785
  "iso_code" : "GB",
10663
10786
  "names" : {
10664
10787
  "de" : "Vereinigtes Königreich",
@@ -10679,7 +10802,6 @@
10679
10802
  },
10680
10803
  "registered_country" : {
10681
10804
  "geoname_id" : 2635167,
10682
- "is_in_european_union" : true,
10683
10805
  "iso_code" : "GB",
10684
10806
  "names" : {
10685
10807
  "de" : "Vereinigtes Königreich",
@@ -10712,7 +10834,6 @@
10712
10834
  },
10713
10835
  "country" : {
10714
10836
  "geoname_id" : 2635167,
10715
- "is_in_european_union" : true,
10716
10837
  "iso_code" : "GB",
10717
10838
  "names" : {
10718
10839
  "de" : "Vereinigtes Königreich",
@@ -10733,7 +10854,6 @@
10733
10854
  },
10734
10855
  "registered_country" : {
10735
10856
  "geoname_id" : 2635167,
10736
- "is_in_european_union" : true,
10737
10857
  "iso_code" : "GB",
10738
10858
  "names" : {
10739
10859
  "de" : "Vereinigtes Königreich",
@@ -11032,7 +11152,6 @@
11032
11152
  },
11033
11153
  "country" : {
11034
11154
  "geoname_id" : 2635167,
11035
- "is_in_european_union" : true,
11036
11155
  "iso_code" : "GB",
11037
11156
  "names" : {
11038
11157
  "de" : "Vereinigtes Königreich",
@@ -11053,7 +11172,6 @@
11053
11172
  },
11054
11173
  "registered_country" : {
11055
11174
  "geoname_id" : 2635167,
11056
- "is_in_european_union" : true,
11057
11175
  "iso_code" : "GB",
11058
11176
  "names" : {
11059
11177
  "de" : "Vereinigtes Königreich",
@@ -11354,7 +11472,6 @@
11354
11472
  },
11355
11473
  "country" : {
11356
11474
  "geoname_id" : 2635167,
11357
- "is_in_european_union" : true,
11358
11475
  "iso_code" : "GB",
11359
11476
  "names" : {
11360
11477
  "de" : "Vereinigtes Königreich",
@@ -11375,7 +11492,6 @@
11375
11492
  },
11376
11493
  "registered_country" : {
11377
11494
  "geoname_id" : 2635167,
11378
- "is_in_european_union" : true,
11379
11495
  "iso_code" : "GB",
11380
11496
  "names" : {
11381
11497
  "de" : "Vereinigtes Königreich",
@@ -11678,7 +11794,6 @@
11678
11794
  },
11679
11795
  "country" : {
11680
11796
  "geoname_id" : 2635167,
11681
- "is_in_european_union" : true,
11682
11797
  "iso_code" : "GB",
11683
11798
  "names" : {
11684
11799
  "de" : "Vereinigtes Königreich",
@@ -11699,7 +11814,6 @@
11699
11814
  },
11700
11815
  "registered_country" : {
11701
11816
  "geoname_id" : 2635167,
11702
- "is_in_european_union" : true,
11703
11817
  "iso_code" : "GB",
11704
11818
  "names" : {
11705
11819
  "de" : "Vereinigtes Königreich",
@@ -11786,7 +11900,6 @@
11786
11900
  },
11787
11901
  "country" : {
11788
11902
  "geoname_id" : 2635167,
11789
- "is_in_european_union" : true,
11790
11903
  "iso_code" : "GB",
11791
11904
  "names" : {
11792
11905
  "de" : "Vereinigtes Königreich",
@@ -11807,7 +11920,6 @@
11807
11920
  },
11808
11921
  "registered_country" : {
11809
11922
  "geoname_id" : 2635167,
11810
- "is_in_european_union" : true,
11811
11923
  "iso_code" : "GB",
11812
11924
  "names" : {
11813
11925
  "de" : "Vereinigtes Königreich",
@@ -12032,6 +12144,34 @@
12032
12144
  }
12033
12145
  }
12034
12146
  },
12147
+ {
12148
+ "::2.2.3.0/120" : {
12149
+ "city" : {
12150
+ "geoname_id" : 2655045,
12151
+ "names" : {
12152
+ "en" : "Boxford"
12153
+ }
12154
+ }
12155
+ }
12156
+ },
12157
+ {
12158
+ "::2.3.3.0/120" : {
12159
+ "continent" : {
12160
+ "code" : "EU",
12161
+ "geoname_id" : 6255148,
12162
+ "names" : {
12163
+ "de" : "Europa",
12164
+ "en" : "Europe",
12165
+ "es" : "Europa",
12166
+ "fr" : "Europe",
12167
+ "ja" : "ヨーロッパ",
12168
+ "pt-BR" : "Europa",
12169
+ "ru" : "Европа",
12170
+ "zh-CN" : "欧洲"
12171
+ }
12172
+ }
12173
+ }
12174
+ },
12035
12175
  {
12036
12176
  "::2.125.160.216/125" : {
12037
12177
  "city" : {
@@ -12056,7 +12196,6 @@
12056
12196
  },
12057
12197
  "country" : {
12058
12198
  "geoname_id" : 2635167,
12059
- "is_in_european_union" : true,
12060
12199
  "iso_code" : "GB",
12061
12200
  "names" : {
12062
12201
  "de" : "Vereinigtes Königreich",
@@ -12146,7 +12285,6 @@
12146
12285
  },
12147
12286
  "country" : {
12148
12287
  "geoname_id" : 2635167,
12149
- "is_in_european_union" : true,
12150
12288
  "iso_code" : "GB",
12151
12289
  "names" : {
12152
12290
  "de" : "Vereinigtes Königreich",
@@ -12223,7 +12361,6 @@
12223
12361
  },
12224
12362
  "country" : {
12225
12363
  "geoname_id" : 2635167,
12226
- "is_in_european_union" : true,
12227
12364
  "iso_code" : "GB",
12228
12365
  "names" : {
12229
12366
  "de" : "Vereinigtes Königreich",
@@ -12300,7 +12437,6 @@
12300
12437
  },
12301
12438
  "country" : {
12302
12439
  "geoname_id" : 2635167,
12303
- "is_in_european_union" : true,
12304
12440
  "iso_code" : "GB",
12305
12441
  "names" : {
12306
12442
  "de" : "Vereinigtes Königreich",
@@ -12377,7 +12513,6 @@
12377
12513
  },
12378
12514
  "country" : {
12379
12515
  "geoname_id" : 2635167,
12380
- "is_in_european_union" : true,
12381
12516
  "iso_code" : "GB",
12382
12517
  "names" : {
12383
12518
  "de" : "Vereinigtes Königreich",
@@ -12424,6 +12559,58 @@
12424
12559
  ]
12425
12560
  }
12426
12561
  },
12562
+ {
12563
+ "::149.101.100.0/124" : {
12564
+ "continent" : {
12565
+ "code" : "NA",
12566
+ "geoname_id" : 6255149,
12567
+ "names" : {
12568
+ "de" : "Nordamerika",
12569
+ "en" : "North America",
12570
+ "es" : "América del Norte",
12571
+ "fr" : "Amérique du Nord",
12572
+ "ja" : "北アメリカ",
12573
+ "pt-BR" : "América do Norte",
12574
+ "ru" : "Северная Америка",
12575
+ "zh-CN" : "北美洲"
12576
+ }
12577
+ },
12578
+ "country" : {
12579
+ "geoname_id" : 6252001,
12580
+ "iso_code" : "US",
12581
+ "names" : {
12582
+ "de" : "USA",
12583
+ "en" : "United States",
12584
+ "es" : "Estados Unidos",
12585
+ "fr" : "États-Unis",
12586
+ "ja" : "アメリカ合衆国",
12587
+ "pt-BR" : "Estados Unidos",
12588
+ "ru" : "США",
12589
+ "zh-CN" : "美国"
12590
+ }
12591
+ },
12592
+ "location" : {
12593
+ "accuracy_radius" : 1000,
12594
+ "latitude" : 37.751,
12595
+ "longitude" : -97.822,
12596
+ "time_zone" : "America/Chicago"
12597
+ },
12598
+ "registered_country" : {
12599
+ "geoname_id" : 2635167,
12600
+ "iso_code" : "GB",
12601
+ "names" : {
12602
+ "de" : "Vereinigtes Königreich",
12603
+ "en" : "United Kingdom",
12604
+ "es" : "Reino Unido",
12605
+ "fr" : "Royaume-Uni",
12606
+ "ja" : "イギリス",
12607
+ "pt-BR" : "Reino Unido",
12608
+ "ru" : "Великобритания",
12609
+ "zh-CN" : "英国"
12610
+ }
12611
+ }
12612
+ }
12613
+ },
12427
12614
  {
12428
12615
  "::216.160.83.56/125" : {
12429
12616
  "city" : {
@@ -12473,7 +12660,6 @@
12473
12660
  },
12474
12661
  "registered_country" : {
12475
12662
  "geoname_id" : 2635167,
12476
- "is_in_european_union" : true,
12477
12663
  "iso_code" : "GB",
12478
12664
  "names" : {
12479
12665
  "de" : "Vereinigtes Königreich",
@@ -12848,5 +13034,173 @@
12848
13034
  }
12849
13035
  ]
12850
13036
  }
13037
+ },
13038
+ {
13039
+ "214.78.120.0/22" : {
13040
+ "city" : {
13041
+ "geoname_id" : 5391811,
13042
+ "names" : {
13043
+ "de" : "San Diego",
13044
+ "en" : "San Diego",
13045
+ "es" : "San Diego",
13046
+ "fr" : "San Diego",
13047
+ "ja" : "サンディエゴ",
13048
+ "pt-BR" : "San Diego",
13049
+ "ru" : "Сан-Диего"
13050
+ }
13051
+ },
13052
+ "continent" : {
13053
+ "code" : "NA",
13054
+ "geoname_id" : 6255149,
13055
+ "names" : {
13056
+ "de" : "Nordamerika",
13057
+ "en" : "North America",
13058
+ "es" : "Norteamérica",
13059
+ "fr" : "Amérique du Nord",
13060
+ "ja" : "北アメリカ",
13061
+ "pt-BR" : "América do Norte",
13062
+ "ru" : "Северная Америка",
13063
+ "zh-CN" : "北美洲"
13064
+ }
13065
+ },
13066
+ "country" : {
13067
+ "geoname_id" : 6252001,
13068
+ "iso_code" : "US",
13069
+ "names" : {
13070
+ "de" : "Vereinigte Staaten",
13071
+ "en" : "United States",
13072
+ "es" : "Estados Unidos",
13073
+ "fr" : "États Unis",
13074
+ "ja" : "アメリカ",
13075
+ "pt-BR" : "EUA",
13076
+ "ru" : "США",
13077
+ "zh-CN" : "美国"
13078
+ }
13079
+ },
13080
+ "location" : {
13081
+ "accuracy_radius" : 100,
13082
+ "latitude" : 32.7405,
13083
+ "longitude" : -117.0935,
13084
+ "metro_code" : 825,
13085
+ "time_zone" : "America/Los_Angeles"
13086
+ },
13087
+ "postal" : {
13088
+ "code" : "92105"
13089
+ },
13090
+ "registered_country" : {
13091
+ "geoname_id" : 6252001,
13092
+ "iso_code" : "US",
13093
+ "names" : {
13094
+ "de" : "Vereinigte Staaten",
13095
+ "en" : "United States",
13096
+ "es" : "Estados Unidos",
13097
+ "fr" : "États Unis",
13098
+ "ja" : "アメリカ",
13099
+ "pt-BR" : "EUA",
13100
+ "ru" : "США",
13101
+ "zh-CN" : "美国"
13102
+ }
13103
+ },
13104
+ "subdivisions" : [
13105
+ {
13106
+ "geoname_id" : 5332921,
13107
+ "iso_code" : "CA",
13108
+ "names" : {
13109
+ "de" : "Kalifornien",
13110
+ "en" : "California",
13111
+ "es" : "California",
13112
+ "fr" : "Californie",
13113
+ "ja" : "カリフォルニア州",
13114
+ "pt-BR" : "Califórnia",
13115
+ "ru" : "Калифорния",
13116
+ "zh-CN" : "加州"
13117
+ }
13118
+ }
13119
+ ]
13120
+ }
13121
+ },
13122
+ {
13123
+ "2001:480:10::/48" : {
13124
+ "city" : {
13125
+ "geoname_id" : 5391811,
13126
+ "names" : {
13127
+ "de" : "San Diego",
13128
+ "en" : "San Diego",
13129
+ "es" : "San Diego",
13130
+ "fr" : "San Diego",
13131
+ "ja" : "サンディエゴ",
13132
+ "pt-BR" : "San Diego",
13133
+ "ru" : "Сан-Диего"
13134
+ }
13135
+ },
13136
+ "continent" : {
13137
+ "code" : "NA",
13138
+ "geoname_id" : 6255149,
13139
+ "names" : {
13140
+ "de" : "Nordamerika",
13141
+ "en" : "North America",
13142
+ "es" : "Norteamérica",
13143
+ "fr" : "Amérique du Nord",
13144
+ "ja" : "北アメリカ",
13145
+ "pt-BR" : "América do Norte",
13146
+ "ru" : "Северная Америка",
13147
+ "zh-CN" : "北美洲"
13148
+ }
13149
+ },
13150
+ "country" : {
13151
+ "geoname_id" : 6252001,
13152
+ "iso_code" : "US",
13153
+ "names" : {
13154
+ "de" : "Vereinigte Staaten",
13155
+ "en" : "United States",
13156
+ "es" : "Estados Unidos",
13157
+ "fr" : "États Unis",
13158
+ "ja" : "アメリカ",
13159
+ "pt-BR" : "EUA",
13160
+ "ru" : "США",
13161
+ "zh-CN" : "美国"
13162
+ }
13163
+ },
13164
+ "location" : {
13165
+ "accuracy_radius" : 20,
13166
+ "latitude" : 32.7203,
13167
+ "longitude" : -117.1552,
13168
+ "metro_code" : 825,
13169
+ "time_zone" : "America/Los_Angeles"
13170
+ },
13171
+ "postal" : {
13172
+ "code" : "92101"
13173
+ },
13174
+ "registered_country" : {
13175
+ "geoname_id" : 6252001,
13176
+ "iso_code" : "US",
13177
+ "names" : {
13178
+ "de" : "Vereinigte Staaten",
13179
+ "en" : "United States",
13180
+ "es" : "Estados Unidos",
13181
+ "fr" : "États Unis",
13182
+ "ja" : "アメリカ",
13183
+ "pt-BR" : "EUA",
13184
+ "ru" : "США",
13185
+ "zh-CN" : "美国"
13186
+ }
13187
+ },
13188
+ "subdivisions" : [
13189
+ {
13190
+ "geoname_id" : 5332921,
13191
+ "iso_code" : "CA",
13192
+ "names" : {
13193
+ "de" : "Kalifornien",
13194
+ "en" : "California",
13195
+ "es" : "California",
13196
+ "fr" : "Californie",
13197
+ "ja" : "カリフォルニア州",
13198
+ "pt-BR" : "Califórnia",
13199
+ "ru" : "Калифорния",
13200
+ "zh-CN" : "加州"
13201
+ }
13202
+ }
13203
+ ]
13204
+ }
12851
13205
  }
12852
13206
  ]