rails_cloudflare_turnstile 0.4.0 → 0.4.1

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: ced7870d2e2f5040778d90a722840d38af2c2a1ea808be79da000102c97b8a02
4
- data.tar.gz: ffe59fd158ef7f8d1d1582921a61073baeaf1ef494fa69780a2365bd75879f30
3
+ metadata.gz: 1fa6aa3cea22a3b9c2e3be003a80c150bb619b6366b6d88e34536bc40c12e14f
4
+ data.tar.gz: 3dc30ec33c6f76e8924009b8e8c751c0ec1871ba4a9764cf082f3eaee39d83c0
5
5
  SHA512:
6
- metadata.gz: 4ba4e023af03055a4599cda446580aebe0b8ab97337cea03a1bc9955bbe26d3370eb7eef95bd44eb2267a22695938fb9bedc464c5c20bfe90024d7c026c49682
7
- data.tar.gz: a9a9fbd0ea7c851349870c36635f7b5b70461c43d60eb2761d28a9438c6e19cd1b1f831908e995af7b7b4a7fa03d9049ed91ec2f2aa0ece241189bdcf53a7539
6
+ metadata.gz: a4aa9005cb2c58a5004df9902faaf7935acea917a91c28d8508eb9c91aeb7e8302243f39066a0a4ba6ccd0f7c37bcf6f0f030c3ccfb1eaaeddb2bd5a96146135
7
+ data.tar.gz: 5345c04fa070b63b318344129f6d2b4c118017642de3ae7654bab6101fc4e8fecc5200f6ae36c9cec237ba25e9368cd4ca43b253521ded174e1a9e0569ba3c20
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ 0.4.1
5
+ -----
6
+ - bump net-imap, nokogiri, rack and rack-session dependencies to address CVEs
7
+ - fix for normal widget size (thanks @yenshirak)
8
+
4
9
  0.4.0
5
10
  -----
6
11
  - add the ability to use explicit-render mode by passing `explicit: true` to `cloudflare_turnstile_script_tag` (thanks @adillari)
@@ -16,7 +16,7 @@ module RailsCloudflareTurnstile
16
16
  # Timeout for operations with Cloudflare
17
17
  attr_accessor :timeout
18
18
 
19
- # size for the widget (:regular, :compact, or :flexible)
19
+ # size for the widget (:normal, :compact, or :flexible)
20
20
  attr_accessor :size
21
21
 
22
22
  # theme for the widget (:auto, :light, or :dark)
@@ -33,7 +33,7 @@ module RailsCloudflareTurnstile
33
33
  @enabled = nil
34
34
  @mock_enabled = nil
35
35
  @timeout = 5.0
36
- @size = :regular
36
+ @size = :normal
37
37
  @theme = :auto
38
38
  @validation_url = "https://challenges.cloudflare.com/turnstile/v0/siteverify"
39
39
  end
@@ -42,7 +42,7 @@ module RailsCloudflareTurnstile
42
42
  raise "Must set site key" if @site_key.nil?
43
43
  raise "Must set secret key" if @secret_key.nil?
44
44
  @size = @size.to_sym
45
- raise "Size must be one of ':regular', ':compact' or ':flexible'" unless [:regular, :compact, :flexible].include? @size
45
+ raise "Size must be one of ':normal', ':compact' or ':flexible'" unless [:normal, :compact, :flexible].include? @size
46
46
  raise "Theme must be one of :auto, :light, or :dark" unless [:auto, :light, :dark].include? @theme
47
47
  end
48
48
 
@@ -1,3 +1,3 @@
1
1
  module RailsCloudflareTurnstile
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_cloudflare_turnstile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brown
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.6.2
95
+ rubygems_version: 3.6.7
96
96
  specification_version: 4
97
97
  summary: Rails extension for Cloudflare's Turnstile CAPTCHA alternative
98
98
  test_files: []