vpndetection-rails 2.0.9 → 2.0.11
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 +4 -4
- data/lib/vpndetection/rails/railtie.rb +3 -3
- data/lib/vpndetection/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 212da0b891fcf091b7435cd63573d9f828cca9c1a3b69e8bda3b0d7c3238bdab
|
|
4
|
+
data.tar.gz: 94c10c18aa4f25dec95ffe8e89d92f203f9544e8c349f2562441f5c2e1f130e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 315926ec3c3e853187f414f21dfa4782b7db61738500b9971fa148bb6d3a1637e01c1512863e8373272cf367ac2545d6fcd76e93f7ba90abd007c356453f82f6
|
|
7
|
+
data.tar.gz: 21854c3b4784d6f255db5aae81b03f13af63ac3a89bbf559a1b736eca28d2dba2129c7c5545317a8d53c1db3962522d6438a4c3bfd13674fc84c243d65c769c9
|
|
@@ -5,9 +5,9 @@ module VPNDetection
|
|
|
5
5
|
# Inserts the middleware for a Rails app, configured from
|
|
6
6
|
# `config.vpndetection`.
|
|
7
7
|
#
|
|
8
|
-
# Placed
|
|
9
|
-
#
|
|
10
|
-
#
|
|
8
|
+
# Placed right after Rails' own RemoteIp, so `request.ip` already means
|
|
9
|
+
# what your `trusted_proxies` say it means, and before the router, so a
|
|
10
|
+
# refusal costs no controller work.
|
|
11
11
|
class Railtie < ::Rails::Railtie
|
|
12
12
|
config.vpndetection = ActiveSupport::OrderedOptions.new
|
|
13
13
|
|
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.0.
|
|
4
|
+
version: 2.0.11
|
|
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.6.
|
|
32
|
+
version: 5.6.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.6.
|
|
42
|
+
version: 5.6.2
|
|
43
43
|
- - "<"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '6'
|