wafris 1.1.7 → 1.1.8

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: 5214c54be014012a7e6c155f70530c5771834ae6fb471f50a55982bc8f7d2217
4
- data.tar.gz: 5fd19e2a7431f05ea5cd1c0142643ab9bf5afee0c8c944d19cab2849158483e1
3
+ metadata.gz: 3a0e6c74fc87b41648b04cd6c8b5b3937a99205a725205374e2786eab52db828
4
+ data.tar.gz: 9244ce816a26e8a59d95e4f2aa0b3fddd976b6cb4bf73a64f669d01d7800ae5b
5
5
  SHA512:
6
- metadata.gz: 5b19c182029512007f2428b6cf0662cb4772306aff63f8fb9bf13f7b7210d651cad796895095dca60f6ac4cdfa22bdf0b444f2389c867a35f712d4c02417b6e2
7
- data.tar.gz: 91f7afb62403e7ef3edc8260a5e50110af9da3ccdcdf0903cce39d5b22138649fda0a6d464665e1615e148cbd726906e269c942a5670516e1e61ed74e1bcabe0
6
+ metadata.gz: 2bf7c0ef6c4c494fe5dacbc84a8e9f4e20dbfed3bead989d2bc73f65f50278e1cc1a3b6f75cecc59e8a69879e6e9e15853175f9dfb1f7c35621a0cbb757919fe
7
+ data.tar.gz: eb4e8309a2c67f1abf4fef5634ca36e9ac03198609b454edfffe4081c82d552620a931f3b98f3bc831db5d6f65c56fc81df129276f16c160040e8b3d0ec367c7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wafris
4
- VERSION = "1.1.7"
4
+ VERSION = "1.1.8"
5
5
  end
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, "[Wafris] block is required to configure Wafris" unless block_given?
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 Redis::CannotConnectError, ArgumentError
26
+ rescue Redis::CannotConnectError
27
27
  LogSuppressor.puts_log(
28
- "[Wafris] firewall disabled. Cannot connect via Wafris.configure. Please check your configuration settings."
28
+ "[Wafris] firewall disabled. Cannot connect via Wafris.configure. Please check your configuration settings. More info can be found at: https://github.com/Wafris/wafris-rb"
29
+ )
30
+ rescue ArgumentError
31
+ LogSuppressor.puts_log(
32
+ "[Wafris] block is required to configure Wafris. 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.7
4
+ version: 1.1.8
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-11-22 00:00:00.000000000 Z
12
+ date: 2023-12-04 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.org
168
+ https://github.com/Wafris/wafris-rb
169
169
 
170
170
  rdoc_options: []
171
171
  require_paths: