maxmind-db 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/README.dev.md +13 -5
  4. data/README.md +2 -3
  5. data/bin/mmdb-benchmark.rb +3 -3
  6. data/lib/maxmind/db/decoder.rb +3 -0
  7. data/lib/maxmind/db/file_reader.rb +29 -11
  8. data/lib/maxmind/db.rb +9 -10
  9. data/maxmind-db.gemspec +4 -3
  10. data/test/data/MaxMind-DB-spec.md +15 -11
  11. data/test/data/bad-data/maxminddb-python/bad-unicode-in-map-key.mmdb +0 -0
  12. data/test/data/source-data/GeoIP2-Anonymous-IP-Test.json +1 -0
  13. data/test/data/source-data/GeoIP2-City-Test.json +81 -48
  14. data/test/data/source-data/GeoIP2-Connection-Type-Test.json +20 -0
  15. data/test/data/source-data/GeoIP2-Country-Test.json +46 -58
  16. data/test/data/source-data/GeoIP2-Enterprise-Test.json +78 -6
  17. data/test/data/source-data/GeoIP2-ISP-Test.json +13 -1
  18. data/test/data/source-data/GeoIP2-Precision-Enterprise-Test.json +200 -13
  19. data/test/data/source-data/GeoLite2-ASN-Test.json +4091 -8
  20. data/test/data/source-data/GeoLite2-City-Test.json +12804 -0
  21. data/test/data/source-data/GeoLite2-Country-Test.json +11280 -0
  22. data/test/data/test-data/GeoIP2-Anonymous-IP-Test.mmdb +0 -0
  23. data/test/data/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb +0 -0
  24. data/test/data/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb +0 -0
  25. data/test/data/test-data/GeoIP2-City-Test.mmdb +0 -0
  26. data/test/data/test-data/GeoIP2-Connection-Type-Test.mmdb +0 -0
  27. data/test/data/test-data/GeoIP2-Country-Test.mmdb +0 -0
  28. data/test/data/test-data/GeoIP2-DensityIncome-Test.mmdb +0 -0
  29. data/test/data/test-data/GeoIP2-Domain-Test.mmdb +0 -0
  30. data/test/data/test-data/GeoIP2-Enterprise-Test.mmdb +0 -0
  31. data/test/data/test-data/GeoIP2-ISP-Test.mmdb +0 -0
  32. data/test/data/test-data/GeoIP2-Precision-Enterprise-Test.mmdb +0 -0
  33. data/test/data/test-data/GeoIP2-Static-IP-Score-Test.mmdb +0 -0
  34. data/test/data/test-data/GeoIP2-User-Count-Test.mmdb +0 -0
  35. data/test/data/test-data/GeoLite2-ASN-Test.mmdb +0 -0
  36. data/test/data/test-data/GeoLite2-City-Test.mmdb +0 -0
  37. data/test/data/test-data/GeoLite2-Country-Test.mmdb +0 -0
  38. data/test/data/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb +0 -0
  39. data/test/data/test-data/MaxMind-DB-string-value-entries.mmdb +0 -0
  40. data/test/data/test-data/MaxMind-DB-test-broken-pointers-24.mmdb +0 -0
  41. data/test/data/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb +0 -0
  42. data/test/data/test-data/MaxMind-DB-test-decoder.mmdb +0 -0
  43. data/test/data/test-data/MaxMind-DB-test-ipv4-24.mmdb +0 -0
  44. data/test/data/test-data/MaxMind-DB-test-ipv4-28.mmdb +0 -0
  45. data/test/data/test-data/MaxMind-DB-test-ipv4-32.mmdb +0 -0
  46. data/test/data/test-data/MaxMind-DB-test-ipv6-24.mmdb +0 -0
  47. data/test/data/test-data/MaxMind-DB-test-ipv6-28.mmdb +0 -0
  48. data/test/data/test-data/MaxMind-DB-test-ipv6-32.mmdb +0 -0
  49. data/test/data/test-data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
  50. data/test/data/test-data/MaxMind-DB-test-mixed-24.mmdb +0 -0
  51. data/test/data/test-data/MaxMind-DB-test-mixed-28.mmdb +0 -0
  52. data/test/data/test-data/MaxMind-DB-test-mixed-32.mmdb +0 -0
  53. data/test/data/test-data/MaxMind-DB-test-nested.mmdb +0 -0
  54. data/test/data/test-data/MaxMind-DB-test-pointer-decoder.mmdb +0 -0
  55. data/test/data/test-data/README.md +3 -3
  56. data/test/data/test-data/write-test-data.pl +77 -22
  57. data/test/test_decoder.rb +6 -6
  58. data/test/test_reader.rb +22 -13
  59. metadata +12 -7
  60. data/test/data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.