geoip2_c 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ubuntu.yml +33 -0
  3. data/.github/workflows/windows.yml +52 -0
  4. data/README.md +22 -10
  5. data/docker-compose.yml +22 -1
  6. data/dockerfiles/{Dockerfile-ruby2.3 → Dockerfile-ruby2.5} +1 -1
  7. data/dockerfiles/{Dockerfile-ruby2.1 → Dockerfile-ruby2.6} +1 -1
  8. data/dockerfiles/{Dockerfile-ruby2.2 → Dockerfile-ruby2.7} +1 -1
  9. data/ext/geoip2/extconf.rb +11 -4
  10. data/ext/geoip2/geoip2.c +63 -18
  11. data/ext/geoip2/libmaxminddb/.gitignore +3 -0
  12. data/ext/geoip2/libmaxminddb/.travis.yml +24 -2
  13. data/ext/geoip2/libmaxminddb/Changes.md +39 -0
  14. data/ext/geoip2/libmaxminddb/README.dev.md +41 -30
  15. data/ext/geoip2/libmaxminddb/README.md +3 -3
  16. data/ext/geoip2/libmaxminddb/bin/Makefile.am +5 -0
  17. data/ext/geoip2/libmaxminddb/bin/mmdblookup.c +333 -15
  18. data/ext/geoip2/libmaxminddb/configure.ac +5 -5
  19. data/ext/geoip2/libmaxminddb/dev-bin/ppa-release.sh +8 -5
  20. data/ext/geoip2/libmaxminddb/dev-bin/release.sh +7 -0
  21. data/ext/geoip2/libmaxminddb/dev-bin/valgrind-all.pl +10 -3
  22. data/ext/geoip2/libmaxminddb/include/maxminddb.h +11 -2
  23. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj +3 -1
  24. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj.filters +7 -1
  25. data/ext/geoip2/libmaxminddb/src/Makefile.am +18 -2
  26. data/ext/geoip2/libmaxminddb/src/data-pool.c +180 -0
  27. data/ext/geoip2/libmaxminddb/src/data-pool.h +52 -0
  28. data/ext/geoip2/libmaxminddb/src/maxminddb.c +58 -48
  29. data/ext/geoip2/libmaxminddb/t/Makefile.am +6 -2
  30. data/ext/geoip2/libmaxminddb/t/bad_databases_t.c +1 -0
  31. data/ext/geoip2/libmaxminddb/t/basic_lookup_t.c +35 -0
  32. data/ext/geoip2/libmaxminddb/t/data-pool-t.c +374 -0
  33. data/ext/geoip2/libmaxminddb/t/external_symbols_t.pl +106 -0
  34. data/ext/geoip2/libmaxminddb/t/libtap/.gitignore +13 -0
  35. data/ext/geoip2/libmaxminddb/t/libtap/.travis.yml +13 -0
  36. data/ext/geoip2/libmaxminddb/t/libtap/COPYING +165 -0
  37. data/ext/geoip2/libmaxminddb/t/libtap/INSTALL +41 -0
  38. data/ext/geoip2/libmaxminddb/t/libtap/Makefile +72 -0
  39. data/ext/geoip2/libmaxminddb/t/libtap/Makefile.win +37 -0
  40. data/ext/geoip2/libmaxminddb/t/libtap/README.md +268 -0
  41. data/ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.c +20 -0
  42. data/ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.expected +28 -0
  43. data/ext/geoip2/libmaxminddb/t/libtap/t/cmpok.c +16 -0
  44. data/ext/geoip2/libmaxminddb/t/libtap/t/cmpok.expected +37 -0
  45. data/ext/geoip2/libmaxminddb/t/libtap/t/diag.c +10 -0
  46. data/ext/geoip2/libmaxminddb/t/libtap/t/diag.expected +2 -0
  47. data/ext/geoip2/libmaxminddb/t/libtap/t/diesok.c +14 -0
  48. data/ext/geoip2/libmaxminddb/t/libtap/t/diesok.expected +6 -0
  49. data/ext/geoip2/libmaxminddb/t/libtap/t/is.c +24 -0
  50. data/ext/geoip2/libmaxminddb/t/libtap/t/is.expected +58 -0
  51. data/ext/geoip2/libmaxminddb/t/libtap/t/like.c +10 -0
  52. data/ext/geoip2/libmaxminddb/t/libtap/t/like.expected +4 -0
  53. data/ext/geoip2/libmaxminddb/t/libtap/t/simple.c +31 -0
  54. data/ext/geoip2/libmaxminddb/t/libtap/t/simple.expected +32 -0
  55. data/ext/geoip2/libmaxminddb/t/libtap/t/skip.c +23 -0
  56. data/ext/geoip2/libmaxminddb/t/libtap/t/skip.expected +9 -0
  57. data/ext/geoip2/libmaxminddb/t/libtap/t/synopsis.c +13 -0
  58. data/ext/geoip2/libmaxminddb/t/libtap/t/synopsis.expected +9 -0
  59. data/ext/geoip2/libmaxminddb/t/libtap/t/test.c +28 -0
  60. data/ext/geoip2/libmaxminddb/t/libtap/t/todo.c +17 -0
  61. data/ext/geoip2/libmaxminddb/t/libtap/t/todo.expected +11 -0
  62. data/ext/geoip2/libmaxminddb/t/libtap/tap.c +354 -0
  63. data/ext/geoip2/libmaxminddb/t/libtap/tap.h +115 -0
  64. data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitattributes +1 -0
  65. data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitconfig +2 -0
  66. data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitignore +2 -0
  67. data/ext/geoip2/libmaxminddb/t/maxmind-db/.perltidyallrc +11 -0
  68. data/ext/geoip2/libmaxminddb/t/maxmind-db/.tidyallrc +7 -0
  69. data/ext/geoip2/libmaxminddb/t/maxmind-db/LICENSE +4 -0
  70. data/ext/geoip2/libmaxminddb/t/maxmind-db/MaxMind-DB-spec.md +558 -0
  71. data/ext/geoip2/libmaxminddb/t/maxmind-db/README.md +4 -0
  72. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/README.md +7 -0
  73. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/libmaxminddb/libmaxminddb-offset-integer-overflow.mmdb +0 -0
  74. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/cyclic-data-structure.mmdb +0 -0
  75. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-bytes-length.mmdb +1 -0
  76. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-data-record-offset.mmdb +0 -0
  77. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-map-key-length.mmdb +0 -0
  78. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-string-length.mmdb +1 -0
  79. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/metadata-is-an-uint128.mmdb +1 -0
  80. data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/unexpected-bytes.mmdb +0 -0
  81. data/ext/geoip2/libmaxminddb/t/maxmind-db/perltidyrc +12 -0
  82. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Anonymous-IP-Test.json +32 -0
  83. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-City-Test.json +12616 -0
  84. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Connection-Type-Test.json +102 -0
  85. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Country-Test.json +10975 -0
  86. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-DensityIncome-Test.json +14 -0
  87. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Domain-Test.json +452 -0
  88. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Enterprise-Test.json +666 -0
  89. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-ISP-Test.json +12585 -0
  90. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Precision-Enterprise-Test.json +1035 -0
  91. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoLite2-ASN-Test.json +37 -0
  92. data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/README +13 -0
  93. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Anonymous-IP-Test.mmdb +0 -0
  94. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb +0 -0
  95. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb +0 -0
  96. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test.mmdb +0 -0
  97. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Connection-Type-Test.mmdb +0 -0
  98. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Country-Test.mmdb +0 -0
  99. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-DensityIncome-Test.mmdb +0 -0
  100. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Domain-Test.mmdb +0 -0
  101. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Enterprise-Test.mmdb +0 -0
  102. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-ISP-Test.mmdb +0 -0
  103. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Precision-Enterprise-Test.mmdb +0 -0
  104. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoLite2-ASN-Test.mmdb +0 -0
  105. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb +0 -0
  106. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-string-value-entries.mmdb +0 -0
  107. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-pointers-24.mmdb +0 -0
  108. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb +0 -0
  109. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-decoder.mmdb +0 -0
  110. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-24.mmdb +0 -0
  111. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-28.mmdb +0 -0
  112. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-32.mmdb +0 -0
  113. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-24.mmdb +0 -0
  114. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-28.mmdb +0 -0
  115. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-32.mmdb +0 -0
  116. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
  117. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-24.mmdb +0 -0
  118. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-28.mmdb +0 -0
  119. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-32.mmdb +0 -0
  120. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-nested.mmdb +0 -0
  121. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/README.md +26 -0
  122. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/maps-with-pointers.raw +0 -0
  123. data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/write-test-data.pl +614 -0
  124. data/ext/geoip2/libmaxminddb/t/maxmind-db/tidyall.ini +5 -0
  125. data/geoip2_c.gemspec +2 -3
  126. data/lib/geoip2/database.rb +4 -0
  127. data/lib/geoip2/version.rb +1 -1
  128. metadata +114 -22
  129. data/.travis.yml +0 -31
  130. data/Appraisals +0 -7
  131. data/gemfiles/ruby_2.1.gemfile +0 -7
  132. data/gemfiles/ruby_2.2.gemfile +0 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoip2_c
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - okkez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-22 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.13'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.13'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '11.0'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '11.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake-compiler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -88,20 +88,20 @@ extensions:
88
88
  - ext/geoip2/extconf.rb
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - ".github/workflows/ubuntu.yml"
92
+ - ".github/workflows/windows.yml"
91
93
  - ".gitignore"
92
94
  - ".gitmodules"
93
- - ".travis.yml"
94
- - Appraisals
95
95
  - COPYING.txt
96
96
  - Gemfile
97
97
  - LICENSE.txt
98
98
  - README.md
99
99
  - Rakefile
100
100
  - docker-compose.yml
101
- - dockerfiles/Dockerfile-ruby2.1
102
- - dockerfiles/Dockerfile-ruby2.2
103
- - dockerfiles/Dockerfile-ruby2.3
104
101
  - dockerfiles/Dockerfile-ruby2.4
102
+ - dockerfiles/Dockerfile-ruby2.5
103
+ - dockerfiles/Dockerfile-ruby2.6
104
+ - dockerfiles/Dockerfile-ruby2.7
105
105
  - ext/geoip2/extconf.rb
106
106
  - ext/geoip2/geoip2.c
107
107
  - ext/geoip2/libmaxminddb/.gitignore
@@ -161,6 +161,8 @@ files:
161
161
  - ext/geoip2/libmaxminddb/projects/VS12/maxminddb_config.h
162
162
  - ext/geoip2/libmaxminddb/projects/test.vcxproj.template
163
163
  - ext/geoip2/libmaxminddb/src/Makefile.am
164
+ - ext/geoip2/libmaxminddb/src/data-pool.c
165
+ - ext/geoip2/libmaxminddb/src/data-pool.h
164
166
  - ext/geoip2/libmaxminddb/src/libmaxminddb.pc.in
165
167
  - ext/geoip2/libmaxminddb/src/maxminddb-compat-util.h
166
168
  - ext/geoip2/libmaxminddb/src/maxminddb.c
@@ -169,13 +171,106 @@ files:
169
171
  - ext/geoip2/libmaxminddb/t/bad_pointers_t.c
170
172
  - ext/geoip2/libmaxminddb/t/basic_lookup_t.c
171
173
  - ext/geoip2/libmaxminddb/t/compile_c++_t.pl
174
+ - ext/geoip2/libmaxminddb/t/data-pool-t.c
172
175
  - ext/geoip2/libmaxminddb/t/data_entry_list_t.c
173
176
  - ext/geoip2/libmaxminddb/t/data_types_t.c
174
177
  - ext/geoip2/libmaxminddb/t/dump_t.c
178
+ - ext/geoip2/libmaxminddb/t/external_symbols_t.pl
175
179
  - ext/geoip2/libmaxminddb/t/get_value_pointer_bug_t.c
176
180
  - ext/geoip2/libmaxminddb/t/get_value_t.c
177
181
  - ext/geoip2/libmaxminddb/t/ipv4_start_cache_t.c
178
182
  - ext/geoip2/libmaxminddb/t/ipv6_lookup_in_ipv4_t.c
183
+ - ext/geoip2/libmaxminddb/t/libtap/.gitignore
184
+ - ext/geoip2/libmaxminddb/t/libtap/.travis.yml
185
+ - ext/geoip2/libmaxminddb/t/libtap/COPYING
186
+ - ext/geoip2/libmaxminddb/t/libtap/INSTALL
187
+ - ext/geoip2/libmaxminddb/t/libtap/Makefile
188
+ - ext/geoip2/libmaxminddb/t/libtap/Makefile.win
189
+ - ext/geoip2/libmaxminddb/t/libtap/README.md
190
+ - ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.c
191
+ - ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.expected
192
+ - ext/geoip2/libmaxminddb/t/libtap/t/cmpok.c
193
+ - ext/geoip2/libmaxminddb/t/libtap/t/cmpok.expected
194
+ - ext/geoip2/libmaxminddb/t/libtap/t/diag.c
195
+ - ext/geoip2/libmaxminddb/t/libtap/t/diag.expected
196
+ - ext/geoip2/libmaxminddb/t/libtap/t/diesok.c
197
+ - ext/geoip2/libmaxminddb/t/libtap/t/diesok.expected
198
+ - ext/geoip2/libmaxminddb/t/libtap/t/is.c
199
+ - ext/geoip2/libmaxminddb/t/libtap/t/is.expected
200
+ - ext/geoip2/libmaxminddb/t/libtap/t/like.c
201
+ - ext/geoip2/libmaxminddb/t/libtap/t/like.expected
202
+ - ext/geoip2/libmaxminddb/t/libtap/t/simple.c
203
+ - ext/geoip2/libmaxminddb/t/libtap/t/simple.expected
204
+ - ext/geoip2/libmaxminddb/t/libtap/t/skip.c
205
+ - ext/geoip2/libmaxminddb/t/libtap/t/skip.expected
206
+ - ext/geoip2/libmaxminddb/t/libtap/t/synopsis.c
207
+ - ext/geoip2/libmaxminddb/t/libtap/t/synopsis.expected
208
+ - ext/geoip2/libmaxminddb/t/libtap/t/test.c
209
+ - ext/geoip2/libmaxminddb/t/libtap/t/todo.c
210
+ - ext/geoip2/libmaxminddb/t/libtap/t/todo.expected
211
+ - ext/geoip2/libmaxminddb/t/libtap/tap.c
212
+ - ext/geoip2/libmaxminddb/t/libtap/tap.h
213
+ - ext/geoip2/libmaxminddb/t/maxmind-db/.gitattributes
214
+ - ext/geoip2/libmaxminddb/t/maxmind-db/.gitconfig
215
+ - ext/geoip2/libmaxminddb/t/maxmind-db/.gitignore
216
+ - ext/geoip2/libmaxminddb/t/maxmind-db/.perltidyallrc
217
+ - ext/geoip2/libmaxminddb/t/maxmind-db/.tidyallrc
218
+ - ext/geoip2/libmaxminddb/t/maxmind-db/LICENSE
219
+ - ext/geoip2/libmaxminddb/t/maxmind-db/MaxMind-DB-spec.md
220
+ - ext/geoip2/libmaxminddb/t/maxmind-db/README.md
221
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/README.md
222
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/libmaxminddb/libmaxminddb-offset-integer-overflow.mmdb
223
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/cyclic-data-structure.mmdb
224
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-bytes-length.mmdb
225
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-data-record-offset.mmdb
226
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-map-key-length.mmdb
227
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-string-length.mmdb
228
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/metadata-is-an-uint128.mmdb
229
+ - ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/unexpected-bytes.mmdb
230
+ - ext/geoip2/libmaxminddb/t/maxmind-db/perltidyrc
231
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Anonymous-IP-Test.json
232
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-City-Test.json
233
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Connection-Type-Test.json
234
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Country-Test.json
235
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-DensityIncome-Test.json
236
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Domain-Test.json
237
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Enterprise-Test.json
238
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-ISP-Test.json
239
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Precision-Enterprise-Test.json
240
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoLite2-ASN-Test.json
241
+ - ext/geoip2/libmaxminddb/t/maxmind-db/source-data/README
242
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Anonymous-IP-Test.mmdb
243
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb
244
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb
245
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test.mmdb
246
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Connection-Type-Test.mmdb
247
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Country-Test.mmdb
248
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-DensityIncome-Test.mmdb
249
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Domain-Test.mmdb
250
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Enterprise-Test.mmdb
251
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-ISP-Test.mmdb
252
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Precision-Enterprise-Test.mmdb
253
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoLite2-ASN-Test.mmdb
254
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
255
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-string-value-entries.mmdb
256
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-pointers-24.mmdb
257
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb
258
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-decoder.mmdb
259
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-24.mmdb
260
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-28.mmdb
261
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-32.mmdb
262
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-24.mmdb
263
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-28.mmdb
264
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-32.mmdb
265
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-metadata-pointers.mmdb
266
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-24.mmdb
267
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-28.mmdb
268
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-32.mmdb
269
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-nested.mmdb
270
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/README.md
271
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/maps-with-pointers.raw
272
+ - ext/geoip2/libmaxminddb/t/maxmind-db/test-data/write-test-data.pl
273
+ - ext/geoip2/libmaxminddb/t/maxmind-db/tidyall.ini
179
274
  - ext/geoip2/libmaxminddb/t/maxminddb_test_helper.c
180
275
  - ext/geoip2/libmaxminddb/t/maxminddb_test_helper.h
181
276
  - ext/geoip2/libmaxminddb/t/metadata_pointers_t.c
@@ -186,8 +281,6 @@ files:
186
281
  - ext/geoip2/libmaxminddb/t/threads_t.c
187
282
  - ext/geoip2/libmaxminddb/t/version_t.c
188
283
  - ext/geoip2/rb_compat.h
189
- - gemfiles/ruby_2.1.gemfile
190
- - gemfiles/ruby_2.2.gemfile
191
284
  - geoip2_c.gemspec
192
285
  - lib/geoip2.rb
193
286
  - lib/geoip2/database.rb
@@ -197,7 +290,7 @@ homepage: ''
197
290
  licenses:
198
291
  - Apache-2.0
199
292
  metadata: {}
200
- post_install_message:
293
+ post_install_message:
201
294
  rdoc_options: []
202
295
  require_paths:
203
296
  - lib
@@ -212,9 +305,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
305
  - !ruby/object:Gem::Version
213
306
  version: '0'
214
307
  requirements: []
215
- rubyforge_project:
216
- rubygems_version: 2.6.14
217
- signing_key:
308
+ rubygems_version: 3.4.8
309
+ signing_key:
218
310
  specification_version: 4
219
311
  summary: Write a short summary, because Rubygems requires one.
220
312
  test_files: []
data/.travis.yml DELETED
@@ -1,31 +0,0 @@
1
- sudo: required
2
- services:
3
- - docker
4
-
5
- env:
6
- global:
7
- DOCKER_COMPOSE_VERSION: 1.8.1
8
- matrix:
9
- - TARGET_RUBY_VERSION=2.1
10
- - TARGET_RUBY_VERSION=2.2
11
- - TARGET_RUBY_VERSION=2.3
12
- - TARGET_RUBY_VERSION=2.4
13
-
14
- before_install:
15
- #- sudo apt-get update
16
- #- sudo apt-get install -y docker-engine
17
- - sudo rm /usr/local/bin/docker-compose
18
- - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m) > docker-compose
19
- - chmod +x docker-compose
20
- - sudo mv docker-compose /usr/local/bin/
21
-
22
- before_script:
23
- - docker-compose build test-ruby${TARGET_RUBY_VERSION}
24
- - docker-compose ps
25
- - docker-compose up -d test-ruby${TARGET_RUBY_VERSION}
26
- - docker-compose exec test-ruby${TARGET_RUBY_VERSION} bundle install
27
- - docker-compose exec test-ruby${TARGET_RUBY_VERSION} bundle exec rake compile
28
-
29
- script:
30
- - docker-compose exec test-ruby${TARGET_RUBY_VERSION} bundle exec rake test
31
-
data/Appraisals DELETED
@@ -1,7 +0,0 @@
1
- appraise "ruby 2.2" do
2
- gem "dig_rb"
3
- end
4
-
5
- appraise "ruby 2.1" do
6
- gem "dig_rb"
7
- end
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "dig_rb"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "dig_rb"
6
-
7
- gemspec :path => "../"