recaptcha 5.10.0 → 5.12.0

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: 3870278113409bbbf6e9c772f8afc5a7130a1d9bf21eecaa7e8c6067b979a2c1
4
- data.tar.gz: 7beaede8a6def64ae941a5c886188a53af77d243ddd80a84291fd9a033372c00
3
+ metadata.gz: 4696b1987122715318c6ea1ce3ce1930dfe1cf9aad40913e74617f746db4176b
4
+ data.tar.gz: ab251d09e9ad5f9596dc8a8a0d70d9f108dbfbafaaff92fbfe72758877f84354
5
5
  SHA512:
6
- metadata.gz: '089d2b491909e0e5c65dd021b97d99e196a69a6f43c452f835e08517a0e54b20d3a1166a16c7b16fa374e86c11629b847fe0f022b772db140c85412191231949'
7
- data.tar.gz: ea8fe92b546e8174d0c143dd10c843683e7b4d793f40a3ccb6f403f10881ba0d246a20194e983f7332b869f11ca9aba7a1b998e984a21a49a550e960ba998e03
6
+ metadata.gz: 764ffc3bad21f61f1b6d87212af60fcfa2533fe643de904a127f4ae47227aec45965a9d118429ea262e638e9021b62387716e8e96c3748ba71cb21cf96a7edc0
7
+ data.tar.gz: 5a61522e047c0a2fe8da6a6facdd4228dbd322904144f15646bf5a8ea7adbff51fbf6ce7b880a406a01192fc3adf9128a875611307b352a19f2501d72ff309a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## Next
2
- * drop ruby 2.4 2.5 2.6
2
+
3
+ * Added Dutch locale
4
+ * Added Japanese locale
5
+
6
+ ## 5.10.1
7
+ * Fix enterprise_verify_url #415
8
+
9
+ ## 5.10.0
10
+ * Drop ruby 2.4 2.5 2.6
11
+ * Add maxiumm score support for hcaptcha
3
12
 
4
13
  ## 5.9.0
5
14
  * Gracefully handle invalid params
data/README.md CHANGED
@@ -50,6 +50,8 @@ Note: Enter `localhost` or `127.0.0.1` as the domain if using in development wit
50
50
 
51
51
  ## Rails Installation
52
52
 
53
+ **If you are having issues with Rails 7, Turbo, and Stimulus, make sure to check [this Wiki page](https://github.com/ambethia/recaptcha/wiki/Recaptcha-with-Turbo-and-Stimulus)!**
54
+
53
55
  ```ruby
54
56
  gem "recaptcha"
55
57
  ```
@@ -34,7 +34,7 @@ module Recaptcha
34
34
  'free_server_url' => 'https://www.recaptcha.net/recaptcha/api.js',
35
35
  'enterprise_server_url' => 'https://www.recaptcha.net/recaptcha/enterprise.js',
36
36
  'free_verify_url' => 'https://www.recaptcha.net/recaptcha/api/siteverify',
37
- 'enterprise_verify_url' => 'https://recaptchaenterprise.googleapis.com/v1beta1/projects'
37
+ 'enterprise_verify_url' => 'https://recaptchaenterprise.googleapis.com/v1/projects'
38
38
  }.freeze
39
39
 
40
40
  attr_accessor :default_env, :skip_verify_env, :proxy, :secret_key, :site_key, :handle_timeouts_gracefully,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Recaptcha
4
- VERSION = '5.10.0'
4
+ VERSION = '5.12.0'
5
5
  end
@@ -0,0 +1,5 @@
1
+ en:
2
+ recaptcha:
3
+ errors:
4
+ verification_failed: reCAPTCHA認証に失敗しました。もう一度お試しください。
5
+ recaptcha_unreachable: reCAPTCHAのレスポンスを検証できませんでした。もう一度お試しください。
@@ -0,0 +1,5 @@
1
+ nl:
2
+ recaptcha:
3
+ errors:
4
+ verification_failed: reCAPTCHA-verificatie mislukt, probeer het opnieuw.
5
+ recaptcha_unreachable: Oeps, we hebben uw reCAPTCHA-antwoord niet kunnen valideren. Probeer het opnieuw.
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.10.0
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason L Perry
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-27 00:00:00.000000000 Z
11
+ date: 2022-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -156,12 +156,14 @@ files:
156
156
  - lib/recaptcha/version.rb
157
157
  - rails/locales/en.yml
158
158
  - rails/locales/fr.yml
159
+ - rails/locales/ja.yml
160
+ - rails/locales/nl.yml
159
161
  homepage: http://github.com/ambethia/recaptcha
160
162
  licenses:
161
163
  - MIT
162
164
  metadata:
163
165
  source_code_uri: https://github.com/ambethia/recaptcha
164
- post_install_message:
166
+ post_install_message:
165
167
  rdoc_options: []
166
168
  require_paths:
167
169
  - lib
@@ -176,8 +178,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
178
  - !ruby/object:Gem::Version
177
179
  version: '0'
178
180
  requirements: []
179
- rubygems_version: 3.1.6
180
- signing_key:
181
+ rubygems_version: 3.3.3
182
+ signing_key:
181
183
  specification_version: 4
182
184
  summary: Helpers for the reCAPTCHA API
183
185
  test_files: []