auth-centric-firewall 0.2.0 → 0.2.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: 6b0b8e31fe34345f545a3c4896d91eca03c805ace909dd71ba6286f15038770b
4
- data.tar.gz: 20ca9c8cea11b5266bd62f8beecf732c2301cd7b0ea553e59c64f95b3876b9d1
3
+ metadata.gz: 3ed5d8123b837430dfb0ffe3bd9e5e71e12ccf989830a27146bc68a599ac457a
4
+ data.tar.gz: 27c67ca3e5a06155274d249502b256dd454dbba589bc1a9cb0285e544e57a5d4
5
5
  SHA512:
6
- metadata.gz: 6d6767cccf9c465b35b2cdbbeb7fb98851eb02489f4ddb153a265f2af894d9cb2e20b5d5759149180744d603903b0f78c46d59bd4a400a87865a3d226d2202fb
7
- data.tar.gz: a4bf16a35820835621ae8243c06cd467e4ac5cebfa64e3a7f3174712b952408b92d969b17b0b46edfddd67aa34b76689e8315e43db2715064be877bfe212316e
6
+ metadata.gz: 938ac41e242aa305cdbbc7d4aa5f8b9402e9f5a1492e3f55f7491ab6cd04e37225b3a376375ee775046ee57719dabc80d4b2d6439a793ef1119c0fc793d32f13
7
+ data.tar.gz: 14586f49bd491afe2c1acaf34290904656e404ab0288ba3e3b667cdc0630c5d38e444edaa0cee08acfdaf2b80d8c831afe701725e7cd076f7fa168ce779ee347
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ## [Released]
2
2
 
3
- ## [0.2.0] - 2025-09-13
3
+ ## [0.2.2] - 2025-09-13
4
+
5
+ - Ability to change background color of captcha
6
+
7
+ ## [0.2.0, 0.2.1] - 2025-09-13
4
8
 
5
9
  - Update RBS
6
10
  - Refactor common codes
@@ -4,10 +4,11 @@ module Auth
4
4
  module Centric
5
5
  module Captcha
6
6
  module Retrieve
7
- def retrieve_captcha
7
+ def retrieve_captcha(background_color: 'gray14')
8
8
  return true unless enabled?
9
9
 
10
10
  payload = {
11
+ background_color:,
11
12
  security_captcha: {
12
13
  ip: @ip_address,
13
14
  session_id: @session_id
@@ -3,7 +3,7 @@
3
3
  module Auth
4
4
  module Centric
5
5
  module Firewall
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.2'
7
7
  end
8
8
  end
9
9
  end
@@ -76,9 +76,9 @@ module Auth
76
76
  require_relative 'captcha/retrieve'
77
77
  require_relative 'captcha/check_code'
78
78
 
79
- include Auth::Centric::Common::Settings
80
- include Auth::Centric::Captcha::Retrieve
81
- include Auth::Centric::Captcha::CheckCode
79
+ include Common::Settings
80
+ include Captcha::Retrieve
81
+ include Captcha::CheckCode
82
82
 
83
83
  def initialize(ip_address:, session_id:)
84
84
  @ip_address = ip_address
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-centric-firewall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saimon Lovell