vpndetection 1.2.1 → 1.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f8fe80a3b44b1fde8d8038d392e1ca609ce7a31289f3d33835fe6dbe6fafa30
4
- data.tar.gz: 7b293d8378dca234dc0e15e09552e187d1fbb3ffc906f21973e2c87897017861
3
+ metadata.gz: ac3ab63566525ffe3548718c280db04cb361d382e311fb05b707c006402a0d96
4
+ data.tar.gz: 7720b3e6db751cff5a9109a5675938cf80d76dfd92f6934f70b7dd2a1120be1d
5
5
  SHA512:
6
- metadata.gz: 80137b7c1ed8995841d0951cd05941a8f5ba1cdf35aa16bca838cd410abf8ece75013be09370b7ad5e4f6a8080e2d7b276c769d119404d0795497a15ed153f28
7
- data.tar.gz: a05736116973d37476caa4150c58d2facd145b2f9a40d93868066a55b06d08d6455e6efd54e5c04abfb244bf8d0379dc684b4c44a62927af5cff746d0b798155
6
+ metadata.gz: 8edcd1ca5b1f8d6744c0a30ba9ac37f1ebdc28afc81eba7c5947b803ad4981a3a7cb261711c2df5e351c0de745b08c91dfd8de10f69295ca9b65f8c9ecdd256a
7
+ data.tar.gz: db5f5ea04869904bd62182c2f7b80e19079abf86899a1650eb8b8a0825025983816015704b558c9da381818eb6b6351de2cb453bdf02cc180392e4e40781c9c0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -28,9 +28,15 @@ module VPNDetection
28
28
 
29
29
  attr_accessor :starts
30
30
 
31
- # Null when the license does not expire.
31
+ # A hard stop. Null when the license has no end date, which is the normal case for a rolling agreement, and when there is no license. A rolling license reports its turnover date in renews_at instead.
32
32
  attr_accessor :expires
33
33
 
34
+ # When a rolling license next renews. Null when the license has no defined term, when expires sets a hard stop instead, and when there is no license.
35
+ attr_accessor :renews_at
36
+
37
+ # The last day notice of non-renewal can be given for the term ending at renews_at. Null whenever renews_at is, and when the agreement records no notice period.
38
+ attr_accessor :notice_due_at
39
+
34
40
  # False when the license has lapsed; downloads are refused.
35
41
  attr_accessor :in_term
36
42
 
@@ -71,6 +77,8 @@ module VPNDetection
71
77
  :'license_type' => :'license_type',
72
78
  :'starts' => :'starts',
73
79
  :'expires' => :'expires',
80
+ :'renews_at' => :'renews_at',
81
+ :'notice_due_at' => :'notice_due_at',
74
82
  :'in_term' => :'in_term',
75
83
  :'standing' => :'standing',
76
84
  :'versions' => :'versions'
@@ -96,6 +104,8 @@ module VPNDetection
96
104
  :'license_type' => :'String',
97
105
  :'starts' => :'Time',
98
106
  :'expires' => :'Time',
107
+ :'renews_at' => :'Time',
108
+ :'notice_due_at' => :'Time',
99
109
  :'in_term' => :'Boolean',
100
110
  :'standing' => :'String',
101
111
  :'versions' => :'Array<LicensedVersion>'
@@ -107,6 +117,8 @@ module VPNDetection
107
117
  Set.new([
108
118
  :'starts',
109
119
  :'expires',
120
+ :'renews_at',
121
+ :'notice_due_at',
110
122
  ])
111
123
  end
112
124
 
@@ -156,6 +168,14 @@ module VPNDetection
156
168
  self.expires = attributes[:'expires']
157
169
  end
158
170
 
171
+ if attributes.key?(:'renews_at')
172
+ self.renews_at = attributes[:'renews_at']
173
+ end
174
+
175
+ if attributes.key?(:'notice_due_at')
176
+ self.notice_due_at = attributes[:'notice_due_at']
177
+ end
178
+
159
179
  if attributes.key?(:'in_term')
160
180
  self.in_term = attributes[:'in_term']
161
181
  else
@@ -297,6 +317,8 @@ module VPNDetection
297
317
  license_type == o.license_type &&
298
318
  starts == o.starts &&
299
319
  expires == o.expires &&
320
+ renews_at == o.renews_at &&
321
+ notice_due_at == o.notice_due_at &&
300
322
  in_term == o.in_term &&
301
323
  standing == o.standing &&
302
324
  versions == o.versions
@@ -311,7 +333,7 @@ module VPNDetection
311
333
  # Calculates hash code according to all attributes.
312
334
  # @return [Integer] Hash code
313
335
  def hash
314
- [base, name, summary, license_type, starts, expires, in_term, standing, versions].hash
336
+ [base, name, summary, license_type, starts, expires, renews_at, notice_due_at, in_term, standing, versions].hash
315
337
  end
316
338
 
317
339
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.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 VPNDetection API: classify any IP address, and download the datasets behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.09.05
6
+ The version of the OpenAPI document: 2026.09.09
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '1.2.1'
4
+ VERSION = '1.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpndetection
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev