vpndetection-rails 2.1.5 → 2.1.6

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: 9f271a7574c3142d337e87337304600cd6d018fc9c173abe61c9f8dc7fc78482
4
- data.tar.gz: 01aa9a1f8746dc73937e827c5d75da096973f1a3c7df61e1b564cce508b7d900
3
+ metadata.gz: c2dcf38150e1d5207392494d0ee529982f0ba87387c38b8dced1f2fa52c96420
4
+ data.tar.gz: 7fb5368047841cabb8d2b3f2743c7f7c0be785b25a9024fcef43de2852d7a121
5
5
  SHA512:
6
- metadata.gz: 6e39c6cbec3cdf95fe90d8877ac91e5649248935b1ee429f3968caf87c0ccac412a2a3a90370fd681524dbc0607161ed1a373eb51addf0213427811877f6d47a
7
- data.tar.gz: 9dc1c62a56401aa5145d8cf7986a3601dfd1973b5ce7f77975957b3aeb26a4a0a0813f09a327da1ec1702cbe5b0786fd9c18b01cdd3ba1aaba31ddec15bfddcf
6
+ metadata.gz: 5f0ce0239a0926c83a2d1cfa1f0d4584daa7745b9402a36ce3a3a639622e159f8cfea3cef21bf0df81a1ddba1b892de81c0c0dc27a542e7c0baf18a38a40133d
7
+ data.tar.gz: a88f0379caf06550f7db6bf574e9423d5b9f7ca679487335b85e134daa43f4f37e63a1d9ed458451619490e7519b90958c9a2a085f96b143484ad9e028418e72
data/README.md CHANGED
@@ -17,7 +17,7 @@ bundle add vpndetection-rails
17
17
 
18
18
  Requires Ruby 3.3 or newer.
19
19
 
20
- You need an API key. Create one in the [console](https://app.vpndetection.io); the free tier's allowance is counted per source address, and a server is a single source address, so a key is what makes this usable in production rather than optional.
20
+ You need an API key. Create one in the [console](https://app.vpndetection.io); without one the allowance is counted per source address, and a server is a single source address, so a key is what makes this usable in production rather than optional.
21
21
 
22
22
  ```ruby
23
23
  # config/application.rb
@@ -100,7 +100,7 @@ Beyond a few million distinct visitors a day, stop calling the API per request:
100
100
 
101
101
  ## Absent is not false
102
102
 
103
- Only `ip` and `is_vpn` come back on every plan. A member your plan does not include is `nil`, which means "not in your plan" rather than "checked, and no" — and Ruby makes that easy to lose, since `nil` and `false` are both falsy.
103
+ Without a key only `ip` and `is_vpn` come back, and a free key adds Tor, relay, `location` and `asn`. A member your plan does not include is `nil`, which means "not in your plan" rather than "checked, and no" — and Ruby makes that easy to lose, since `nil` and `false` are both falsy.
104
104
 
105
105
  ```ruby
106
106
  lookup.result.hosting? # true or false, never nil
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VPNDetection
4
4
  module Rails
5
- VERSION = '2.1.5'
5
+ VERSION = '2.1.6'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpndetection-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev
@@ -29,7 +29,7 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 5.9.1
32
+ version: 5.10.0
33
33
  - - "<"
34
34
  - !ruby/object:Gem::Version
35
35
  version: '6'
@@ -39,7 +39,7 @@ dependencies:
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 5.9.1
42
+ version: 5.10.0
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '6'