vpndetection-rails 2.1.18 → 2.1.20

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: 5946434cabf2e1326026d9fec143656f28b246b2b651de6ef4a3d22ae682e0a0
4
- data.tar.gz: 28c47b896251f6d6014ba966040ba5aefbbdd804c2820d18e69bed16f344a238
3
+ metadata.gz: 522f50fa2b4f0290c332a3fa8d0575459d3a842f835fb73e6676f5f6e10a1db2
4
+ data.tar.gz: e6cdbb707371c392e289f1587d91902a5416cc9d31144f736cced9fd6356079f
5
5
  SHA512:
6
- metadata.gz: a1235d859dbe9cba04cadab7f7ae663f181f29624d611cf4aca0a98862c9d4408a8aa4ab962286c1d5902f3a2b1fd7979fd323a4a7c77f1ab339f9ecdf8eb747
7
- data.tar.gz: 987d5ef83eb4076ef31ccf6b40faa10ed19fddb864afde4cb84e6bff6c75ab26634a1c778563f3ba7541697a05b11be39ccc8e4323ce872754f9e7ce683d1523
6
+ metadata.gz: 700eebab8f6ab1a8a925bca6e7ba0ec5553df6de5d321c5ea3b7a5b3c5c5bb99581b92aef0907dd583ab785716e5652ae42f16d738e1b276219da576f14a1ef0
7
+ data.tar.gz: 1b171d1ce2c5e5999333871d440314f395caddfcc70363aee1108c843070914b23539c8a3a98785956c5c91b2c98d5f201d28b999b8185c8229dacce8881aa0c
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 on a paid plan. Create one in the [console](https://app.vpndetection.io); without one a lookup is on the Unlimited tier and leaves out the hosting, CDN and proxy flags, so a paid plan is what makes this usable in production rather than optional. A new account can try every field, 100 lookups a day.
20
+ You need an API key on a paid plan. Create one in the [console](https://app.vpndetection.io); without one a lookup is on Unlimited, the free plan, and leaves out the hosting, CDN and proxy flags, so a paid plan is what makes this usable in production rather than optional. A free account tries every field, 100 lookups a day.
21
21
 
22
22
  ```ruby
23
23
  # config/application.rb
@@ -108,7 +108,7 @@ Beyond a few million distinct visitors a day, stop calling the API per request:
108
108
 
109
109
  ## Absent is not false
110
110
 
111
- The Unlimited tier, with a key or without one, leaves out `is_hosting`, `is_cdn` and the four proxy flags, and of the detail behind each flag it answers only Tor's and relay's. 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.
111
+ Unlimited, with a key or without one, leaves out `is_hosting`, `is_cdn` and the four proxy flags, and of the detail behind each flag it answers only Tor's and relay's. 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.
112
112
 
113
113
  ```ruby
114
114
  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.18'
5
+ VERSION = '2.1.20'
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.18
4
+ version: 2.1.20
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.14.0
32
+ version: 5.14.2
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.14.0
42
+ version: 5.14.2
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '6'