intrusion 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intrusion.rb +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7c0b79c12c817d564e55ecba6f86540a09bb083ac97b5ad7b8e3a31c07fa53
|
4
|
+
data.tar.gz: 876156a63816e18184eb72af76f3634e80a15542d6d66e39d26fdaf2176b2860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 702186b662da7e7db61cfc65264f3fab1e833d32743add8afe39675a567b58a0c4afd85c7ad0d91f3a1eae35b371e7160f4a315bbbd1140591f168e03537fd19
|
7
|
+
data.tar.gz: 13adcc68d21d57813d5d2771239d03b61fcedf31c434a91e378de2253972ef66377d1166f55e81f788cca779622edd58c8a64f3e44a0568780665d48066e1f42
|
data/lib/intrusion.rb
CHANGED
@@ -26,7 +26,7 @@ module Intrusion
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# update record
|
29
|
-
|
29
|
+
update(ids: dt.to_yaml)
|
30
30
|
end
|
31
31
|
|
32
32
|
# reset counter and stay
|
@@ -38,7 +38,7 @@ module Intrusion
|
|
38
38
|
if found
|
39
39
|
dt.delete(found)
|
40
40
|
# update
|
41
|
-
return
|
41
|
+
return update(ids: dt.to_yaml)
|
42
42
|
end
|
43
43
|
false
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intrusion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Duncombe
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Intrusion is a gem helping you to block objects for IP addresses within
|
14
14
|
your Ruby on Rails Application.
|
@@ -21,7 +21,7 @@ files:
|
|
21
21
|
homepage: http://github.com/symontech/intrusion
|
22
22
|
licenses: []
|
23
23
|
metadata: {}
|
24
|
-
post_install_message:
|
24
|
+
post_install_message:
|
25
25
|
rdoc_options: []
|
26
26
|
require_paths:
|
27
27
|
- lib
|
@@ -36,9 +36,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
|
-
|
40
|
-
|
41
|
-
signing_key:
|
39
|
+
rubygems_version: 3.0.8
|
40
|
+
signing_key:
|
42
41
|
specification_version: 4
|
43
42
|
summary: intrusion detection and prevention for rails applications
|
44
43
|
test_files: []
|