arachni-reactor 0.1.3.1 → 0.1.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23df66d0761a0b54c27d51dfe84838cc2fbc60a2d4a47c704fb33227b18d8462
4
- data.tar.gz: 9ef72238e3136ee46997180acb53c51fb4b13fe4b3d3ef13671164ef459de108
3
+ metadata.gz: a0cfc973e123c07b625b3905feeb383626a4e24808844ea30aa3ecbf2dc44d5e
4
+ data.tar.gz: 47925771a19ffe849fb8fc8c0982db5ccc75dde6156c16441ab16ea8399f6759
5
5
  SHA512:
6
- metadata.gz: 34cdc887196285a4a2f816293212881152db61dcb2a69af178f116c707b1a8d97231abc441a1a176e5a4dbdf7e1d1fb43ff2068e97564de8c841f29f1ed9f72c
7
- data.tar.gz: 1a7e0cd82407b0d30b080f31c85026d1e62ef0d9bab06ca0b772d18f6deab6d0ff76836822698392464e2f567aa06258a0cba4a0ea3cdd06094f6c66d01dc5ea
6
+ metadata.gz: 0b960c5e0711aa617712c13ec9cae4dd8f5678df9957db8d198133aeed66f4e5be0791f3098b609c0492bb9728f477600c75a15f445e851b6b07adf1a9b8d3b4
7
+ data.tar.gz: a1410d7d143c52bae10978f83b10003c27b690e1b274de944173c4d8d78ace4a894fadb6026f7b099d42b4311d281a8717e2480051b132f71b763fe66918c924
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ChangeLog
2
2
 
3
+ ## Version 0.1.3.2
4
+
5
+ - `Error.translate` updated to handle `Errno::EBADF`.
6
+
3
7
  ## Version 0.1.3.1
4
8
 
5
9
  - Fixed strange `private method` error on Ruby 2.6.9.
@@ -39,6 +39,8 @@ class Error < Arachni::Reactor::Error
39
39
  raise_with_proper_backtrace( e, Reset )
40
40
  rescue Errno::EACCES => e
41
41
  raise_with_proper_backtrace( e, Permission )
42
+ rescue Errno::EBADF => e
43
+ raise_with_proper_backtrace( e, BadSocket )
42
44
 
43
45
  # Catch and forward these before handling OpenSSL::OpenSSLError because
44
46
  # all SSL errors inherit from it, including OpenSSL::SSL::SSLErrorWaitReadable
@@ -102,6 +104,12 @@ class Error < Arachni::Reactor::Error
102
104
  class Closed < Error
103
105
  end
104
106
 
107
+ # Like a `Errno::EBADF` exception.
108
+ #
109
+ # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
110
+ class BadSocket < Error
111
+ end
112
+
105
113
  # Like a `OpenSSL::OpenSSLError` exception.
106
114
  #
107
115
  # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
@@ -9,7 +9,7 @@
9
9
  module Arachni
10
10
  class Reactor
11
11
 
12
- VERSION = '0.1.3.1'
12
+ VERSION = '0.1.3.2'
13
13
 
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arachni-reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.1
4
+ version: 0.1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-26 00:00:00.000000000 Z
11
+ date: 2022-01-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Arachni::Reactor is a simple, lightweight, pure-Ruby implementation of the Reactor