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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb4ef79ad2d573f02250c303800c9d4c8b64a3f1e0318fbf2f7e198508826b7b
4
- data.tar.gz: 991f85b77cb27f9387fb027e74538aded1a7f0e4dd0c1a78a8a89041154d790a
3
+ metadata.gz: bfd3871b5c2e61d4c87315cc7b31370a13e14100b91eb5543b46d3188d083bb6
4
+ data.tar.gz: b7c1da38f915eb76f75b4c92ef90434265434103ce38809abc5a02be93559dda
5
5
  SHA512:
6
- metadata.gz: a575ae38cbccc9381e8dea3fedc7c7ac24ce0a7174b0ba799f264cfbd8bf0a346c4c60fc6518172f6bff09d692193d469cb31fe4513781f67468d52c7db14419
7
- data.tar.gz: 8dffc28661b0e8fd608cae0917326519abf7c6d8f4b36d96ffead33e6df3059f0de05187a03d425d21068e36a04f8b6f0b42c9375bce9a9a7515c1fe6f847ff4
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
- raise ArgumentError.new("no ips given") if @ips.empty?
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)
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2015 Sqreen. All Rights Reserved.
2
2
  # Please refer to our terms for more information: https://www.sqreen.io/terms.html
3
3
  module Sqreen
4
- VERSION = '1.13.0'.freeze
4
+ VERSION = '1.13.1'.freeze
5
5
  end
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2018-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs