maxmind-geoip2 1.0.0 → 1.1.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 +15 -0
  3. data/README.md +4 -6
  4. data/lib/maxmind/geoip2/client.rb +1 -1
  5. data/lib/maxmind/geoip2/errors.rb +17 -8
  6. data/lib/maxmind/geoip2/model/city.rb +1 -1
  7. data/lib/maxmind/geoip2/model/enterprise.rb +1 -1
  8. data/lib/maxmind/geoip2/model/insights.rb +1 -1
  9. data/lib/maxmind/geoip2/model/isp.rb +16 -0
  10. data/lib/maxmind/geoip2/reader.rb +1 -2
  11. data/lib/maxmind/geoip2/record/traits.rb +23 -3
  12. data/maxmind-geoip2.gemspec +2 -1
  13. data/test/data/MaxMind-DB-spec.md +15 -11
  14. data/test/data/source-data/GeoIP2-City-Test.json +81 -48
  15. data/test/data/source-data/GeoIP2-Connection-Type-Test.json +20 -0
  16. data/test/data/source-data/GeoIP2-Country-Test.json +46 -58
  17. data/test/data/source-data/GeoIP2-Enterprise-Test.json +61 -3
  18. data/test/data/source-data/GeoIP2-ISP-Test.json +10 -0
  19. data/test/data/source-data/GeoIP2-Precision-Enterprise-Test.json +61 -4
  20. data/test/data/source-data/GeoLite2-ASN-Test.json +4091 -8
  21. data/test/data/source-data/GeoLite2-City-Test.json +12804 -0
  22. data/test/data/source-data/GeoLite2-Country-Test.json +11280 -0
  23. data/test/data/test-data/GeoIP2-Anonymous-IP-Test.mmdb +0 -0
  24. data/test/data/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb +0 -0
  25. data/test/data/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb +0 -0
  26. data/test/data/test-data/GeoIP2-City-Test.mmdb +0 -0
  27. data/test/data/test-data/GeoIP2-Connection-Type-Test.mmdb +0 -0
  28. data/test/data/test-data/GeoIP2-Country-Test.mmdb +0 -0
  29. data/test/data/test-data/GeoIP2-DensityIncome-Test.mmdb +0 -0
  30. data/test/data/test-data/GeoIP2-Domain-Test.mmdb +0 -0
  31. data/test/data/test-data/GeoIP2-Enterprise-Test.mmdb +0 -0
  32. data/test/data/test-data/GeoIP2-ISP-Test.mmdb +0 -0
  33. data/test/data/test-data/GeoIP2-Precision-Enterprise-Test.mmdb +0 -0
  34. data/test/data/test-data/GeoIP2-Static-IP-Score-Test.mmdb +0 -0
  35. data/test/data/test-data/GeoIP2-User-Count-Test.mmdb +0 -0
  36. data/test/data/test-data/GeoLite2-ASN-Test.mmdb +0 -0
  37. data/test/data/test-data/GeoLite2-City-Test.mmdb +0 -0
  38. data/test/data/test-data/GeoLite2-Country-Test.mmdb +0 -0
  39. data/test/data/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb +0 -0
  40. data/test/data/test-data/MaxMind-DB-string-value-entries.mmdb +0 -0
  41. data/test/data/test-data/MaxMind-DB-test-broken-pointers-24.mmdb +0 -0
  42. data/test/data/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb +0 -0
  43. data/test/data/test-data/MaxMind-DB-test-decoder.mmdb +0 -0
  44. data/test/data/test-data/MaxMind-DB-test-ipv4-24.mmdb +0 -0
  45. data/test/data/test-data/MaxMind-DB-test-ipv4-28.mmdb +0 -0
  46. data/test/data/test-data/MaxMind-DB-test-ipv4-32.mmdb +0 -0
  47. data/test/data/test-data/MaxMind-DB-test-ipv6-24.mmdb +0 -0
  48. data/test/data/test-data/MaxMind-DB-test-ipv6-28.mmdb +0 -0
  49. data/test/data/test-data/MaxMind-DB-test-ipv6-32.mmdb +0 -0
  50. data/test/data/test-data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
  51. data/test/data/test-data/MaxMind-DB-test-mixed-24.mmdb +0 -0
  52. data/test/data/test-data/MaxMind-DB-test-mixed-28.mmdb +0 -0
  53. data/test/data/test-data/MaxMind-DB-test-mixed-32.mmdb +0 -0
  54. data/test/data/test-data/MaxMind-DB-test-nested.mmdb +0 -0
  55. data/test/data/test-data/MaxMind-DB-test-pointer-decoder.mmdb +0 -0
  56. data/test/data/test-data/README.md +3 -3
  57. data/test/data/test-data/write-test-data.pl +9 -5
  58. data/test/test_reader.rb +18 -2
  59. metadata +8 -4
  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.