recaptcha 5.13.0 → 5.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 413f379aca4968847b291687d0c36e7ef432f7d6ebdce5b87c164afe45291b83
4
- data.tar.gz: e277f54b020495ffe3a431e51ff3d8ed6080d01bc7a93a291f60894e888bc102
3
+ metadata.gz: a5f8e49184cd3c0a7faab777fc3f65ed6b85f12e6dbdccf92d348380b67b99e9
4
+ data.tar.gz: 2ae58417d087559999a5f94d19aa56790fb8589f7f49107bdd9e2d9f451f4c82
5
5
  SHA512:
6
- metadata.gz: bcf166047a4de7972b3040301fb51f7b8b0a17b5c7f46ba9cef127c3418538635ffe707ac208b091254da5501538134285870f01ff880555e21cc7ff2ab39bf8
7
- data.tar.gz: 9e8ad8cd049c352a48810b19c1611ac82f62d196a91af17f2baa8f568e9a77bc0d7aac3662cd52174cccca371afceae076bdb6d4f17072be90cf51268d714100
6
+ metadata.gz: 53aaceab8e0d55c84c612b8a62ae7dc77f58052f20ddec8674e79b9735104558584d0dfbdde3172f36227af2a8c87c3ea031a12ba5928b7873b1559aa97f4ba1
7
+ data.tar.gz: 9ccae1a7fdfe7e3afe1b7ac80814688a840e695e13af749e7d576fa8c74a3c3fe27dcdff26fae5790c5cf391594853d29259be0a63dfa5d119cf6476ff2dc808
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Next
2
2
 
3
+ ## 5.13.1
4
+ * Permit actions as symbol
5
+
3
6
  ## 5.13.0
4
7
  * Added option to ignore_no_element.
5
8
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Recaptcha
4
- VERSION = '5.13.0'
4
+ VERSION = '5.13.1'
5
5
  end
data/lib/recaptcha.rb CHANGED
@@ -125,7 +125,7 @@ module Recaptcha
125
125
  def self.action_valid?(action, expected_action)
126
126
  case expected_action
127
127
  when nil, FalseClass then true
128
- else action == expected_action
128
+ else action == expected_action.to_s
129
129
  end
130
130
  end
131
131
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recaptcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.0
4
+ version: 5.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason L Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-10 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json