wafris 1.1.7 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wafris/version.rb +1 -1
- data/lib/wafris.rb +7 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 259b4944d7b5a3db3fc1b29575c871fae0519662db44c54b3558db9910f26d4a
|
4
|
+
data.tar.gz: 9a6ba2a54a94551c8aee3f0e14ba03cdf969048b250825126b0af88e867ced5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9915b54980a670e2c0888f290c9946a67abdbe884241aaeb087b0898710a0f36bb2c3be7ac9569e0c57881e29b07794dcc026cbf6bbf10965be26da14b3a04ba
|
7
|
+
data.tar.gz: 6c86c916bead230540c6bb2921c7427a1e07a89f09cc8365a02131514386b351b2fce30a6d8886ab984ca1528140f1fe0d40fa2b838ed86ab7d0060ae63aee0b
|
data/lib/wafris/version.rb
CHANGED
data/lib/wafris.rb
CHANGED
@@ -15,7 +15,7 @@ module Wafris
|
|
15
15
|
attr_accessor :configuration
|
16
16
|
|
17
17
|
def configure
|
18
|
-
raise ArgumentError
|
18
|
+
raise ArgumentError unless block_given?
|
19
19
|
|
20
20
|
self.configuration ||= Wafris::Configuration.new
|
21
21
|
yield(configuration)
|
@@ -23,9 +23,13 @@ module Wafris
|
|
23
23
|
"[Wafris] attempting firewall connection via Wafris.configure initializer."
|
24
24
|
) unless configuration.quiet_mode
|
25
25
|
configuration.create_settings
|
26
|
-
rescue
|
26
|
+
rescue ArgumentError
|
27
27
|
LogSuppressor.puts_log(
|
28
|
-
"[Wafris]
|
28
|
+
"[Wafris] block is required to configure Wafris. More info can be found at: https://github.com/Wafris/wafris-rb"
|
29
|
+
)
|
30
|
+
rescue StandardError => e
|
31
|
+
LogSuppressor.puts_log(
|
32
|
+
"[Wafris] firewall disabled due to: #{e.message}. Cannot connect via Wafris.configure. Please check your configuration settings. More info can be found at: https://github.com/Wafris/wafris-rb"
|
29
33
|
)
|
30
34
|
end
|
31
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wafris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micahel Buckbee
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: connection_pool
|
@@ -165,7 +165,7 @@ post_install_message: |2+
|
|
165
165
|
|
166
166
|
If you haven't already, please sign up for Wafris Hub at:
|
167
167
|
|
168
|
-
https://wafris
|
168
|
+
https://github.com/Wafris/wafris-rb
|
169
169
|
|
170
170
|
rdoc_options: []
|
171
171
|
require_paths:
|