internetdata 2.21.0 → 3.0.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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -6
  3. data/lib/internetdata/api/database_v2_api.rb +1 -1
  4. data/lib/internetdata/api_client.rb +1 -1
  5. data/lib/internetdata/api_error.rb +1 -1
  6. data/lib/internetdata/api_model_base.rb +1 -1
  7. data/lib/internetdata/asn_result.rb +5 -15
  8. data/lib/internetdata/cache.rb +7 -7
  9. data/lib/internetdata/client.rb +90 -49
  10. data/lib/internetdata/configuration.rb +1 -1
  11. data/lib/internetdata/domain_result.rb +5 -15
  12. data/lib/internetdata/errors.rb +21 -1
  13. data/lib/internetdata/middleware/core.rb +55 -3
  14. data/lib/internetdata/models/abuse_contact.rb +1 -1
  15. data/lib/internetdata/models/asn.rb +1 -1
  16. data/lib/internetdata/models/asn_hosted_domains.rb +1 -1
  17. data/lib/internetdata/models/asn_lookup_response.rb +3 -13
  18. data/lib/internetdata/models/asn_prefix.rb +1 -1
  19. data/lib/internetdata/models/batch_lookup_error.rb +1 -1
  20. data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
  21. data/lib/internetdata/models/bot_detail.rb +1 -1
  22. data/lib/internetdata/models/carrier_detail.rb +1 -1
  23. data/lib/internetdata/models/class_detail.rb +1 -1
  24. data/lib/internetdata/models/client_registration.rb +1 -1
  25. data/lib/internetdata/models/cohosted_domains.rb +1 -1
  26. data/lib/internetdata/models/company.rb +1 -1
  27. data/lib/internetdata/models/database.rb +1 -1
  28. data/lib/internetdata/models/database_checksums_response.rb +1 -1
  29. data/lib/internetdata/models/database_format.rb +1 -1
  30. data/lib/internetdata/models/database_list.rb +1 -1
  31. data/lib/internetdata/models/database_metadata.rb +1 -1
  32. data/lib/internetdata/models/database_metadata_column.rb +1 -1
  33. data/lib/internetdata/models/database_version.rb +1 -1
  34. data/lib/internetdata/models/db_checksums.rb +1 -1
  35. data/lib/internetdata/models/device_authorization.rb +1 -1
  36. data/lib/internetdata/models/disposable_detail.rb +1 -1
  37. data/lib/internetdata/models/dns_address_record.rb +1 -1
  38. data/lib/internetdata/models/dns_cname_record.rb +1 -1
  39. data/lib/internetdata/models/dns_mx_record.rb +1 -1
  40. data/lib/internetdata/models/dns_ns_record.rb +1 -1
  41. data/lib/internetdata/models/dns_resolver_detail.rb +1 -1
  42. data/lib/internetdata/models/domain_backlinks.rb +1 -1
  43. data/lib/internetdata/models/domain_dns.rb +1 -1
  44. data/lib/internetdata/models/domain_host.rb +1 -1
  45. data/lib/internetdata/models/domain_ip_range.rb +1 -1
  46. data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
  47. data/lib/internetdata/models/domain_lookup_response.rb +3 -13
  48. data/lib/internetdata/models/domain_redirects.rb +1 -1
  49. data/lib/internetdata/models/domain_web.rb +1 -1
  50. data/lib/internetdata/models/domain_web_links.rb +1 -1
  51. data/lib/internetdata/models/download.rb +1 -1
  52. data/lib/internetdata/models/download_list.rb +1 -1
  53. data/lib/internetdata/models/entitlement.rb +1 -1
  54. data/lib/internetdata/models/entitlement_apikey.rb +1 -1
  55. data/lib/internetdata/models/entitlement_plan.rb +1 -1
  56. data/lib/internetdata/models/entitlement_usage.rb +1 -1
  57. data/lib/internetdata/models/error_envelope.rb +1 -1
  58. data/lib/internetdata/models/hosted_domains.rb +1 -1
  59. data/lib/internetdata/models/location.rb +1 -1
  60. data/lib/internetdata/models/lookup_response.rb +3 -13
  61. data/lib/internetdata/models/oauth_metadata.rb +1 -1
  62. data/lib/internetdata/models/proxy_detail.rb +1 -1
  63. data/lib/internetdata/models/pubproxy_detail.rb +1 -1
  64. data/lib/internetdata/models/rwhois.rb +1 -1
  65. data/lib/internetdata/models/satellite_detail.rb +1 -1
  66. data/lib/internetdata/models/smtp_detail.rb +1 -1
  67. data/lib/internetdata/models/ssh_detail.rb +1 -1
  68. data/lib/internetdata/models/standing.rb +1 -1
  69. data/lib/internetdata/models/token_response.rb +1 -1
  70. data/lib/internetdata/models/user_agent_verdict.rb +1 -1
  71. data/lib/internetdata/models/web_detail.rb +1 -1
  72. data/lib/internetdata/models/whois.rb +1 -1
  73. data/lib/internetdata/result.rb +5 -15
  74. data/lib/internetdata/version.rb +1 -1
  75. metadata +1 -1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.28
6
+ The version of the OpenAPI document: 2026.11.29
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -463,21 +463,11 @@ module InternetData
463
463
  @raw['user_agent']
464
464
  end
465
465
 
466
- # On answers to a key on the free plan only: false while its organization's
467
- # lookups of the UTC day answer every field, true once those are used and
468
- # the answer has the basics; nil on any other answer.
469
- def trial_expired
470
- @raw['trial_expired']
471
- end
472
-
473
- # `trial_expired` with an absent member read as false.
474
- def trial_expired?
475
- @raw['trial_expired'] == true
476
- end
477
-
478
- # On answers to a key on a paid plan only: false while the answer has every
479
- # field, true once its organization's overage cap is reached and the answer
480
- # has the basics, which is not billed; nil on any other answer.
466
+ # On every answer to a key: false while the answer has every field, true
467
+ # once its organization's lookups with every field are used up (a free key's
468
+ # for the UTC day, a paid key's quota or overage cap) and the answer has the
469
+ # basics; nil on an answer to no key. A true one is never returned: the call
470
+ # raises `:quota_exceeded` carrying it as {Error#result}.
481
471
  def cap_reached
482
472
  @raw['cap_reached']
483
473
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InternetData
4
- VERSION = '2.21.0'
4
+ VERSION = '3.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: internetdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.21.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev