sqreen 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sqreen/rules_callbacks/blacklist_ips.rb +1 -1
- data/lib/sqreen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfd3871b5c2e61d4c87315cc7b31370a13e14100b91eb5543b46d3188d083bb6
|
4
|
+
data.tar.gz: b7c1da38f915eb76f75b4c92ef90434265434103ce38809abc5a02be93559dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7023ac49c6f111c3f4c6c1396adc004649a369d16c0b5a847087fb3fd53e4a36a0fe13b5ee759a6a5a2a7f1e1e8dad9803d64338145441493f5a1435ddd18d0e
|
7
|
+
data.tar.gz: b910493fbccee5c305f9f0db28c7e5e26e1602852350f178be0a89db57851b74518db0a262655b6085bef555405623f2584498e1f65a6daa4d2aa38cf72c6db7
|
@@ -12,7 +12,7 @@ module Sqreen
|
|
12
12
|
def initialize(klass, method, rule_hash)
|
13
13
|
super(klass, method, rule_hash)
|
14
14
|
@ips = Hash[@data['values'].map { |v| [v, IPAddr.new(v)] }]
|
15
|
-
|
15
|
+
Sqreen.log.info 'no ips given for IP blacklisting' if @ips.empty?
|
16
16
|
end
|
17
17
|
|
18
18
|
def pre(_inst, _args, _budget = nil, &_block)
|
data/lib/sqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|