intrusion 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/intrusion.rb +2 -2
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0558e1da623c12ad70187f27ff0d92cb90c0b6cfc33bba9ec04c5b98ed195fc3'
4
- data.tar.gz: 5496cb5b85e93a67995319f0c6bb34e53a6d037bbeeec8b22361276e13f0a857
3
+ metadata.gz: 5f7c0b79c12c817d564e55ecba6f86540a09bb083ac97b5ad7b8e3a31c07fa53
4
+ data.tar.gz: 876156a63816e18184eb72af76f3634e80a15542d6d66e39d26fdaf2176b2860
5
5
  SHA512:
6
- metadata.gz: cd9a72bbb07e77618718c67f498e8fb4a4f28affd7ba9e5153fbba706c0784831ab07937e49eca7ed2f387b27dbd55f1d91e06a823a9e3e2af90010717f140fa
7
- data.tar.gz: 65973d15eaf7d0fccb7b8a5575f20710c50659e2d9510cc0b9a641a37fa9d34a575e1e9ae16f847e1c5904f91dc45a2809c54ddeadd33d4affff7001dbfd6038
6
+ metadata.gz: 702186b662da7e7db61cfc65264f3fab1e833d32743add8afe39675a567b58a0c4afd85c7ad0d91f3a1eae35b371e7160f4a315bbbd1140591f168e03537fd19
7
+ data.tar.gz: 13adcc68d21d57813d5d2771239d03b61fcedf31c434a91e378de2253972ef66377d1166f55e81f788cca779622edd58c8a64f3e44a0568780665d48066e1f42
@@ -26,7 +26,7 @@ module Intrusion
26
26
  end
27
27
 
28
28
  # update record
29
- update_attributes(ids: dt.to_yaml)
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 update_attributes(ids: dt.to_yaml)
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.7
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: 2018-04-15 00:00:00.000000000 Z
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
- rubyforge_project:
40
- rubygems_version: 2.7.3
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: []