recaptcha 4.0.0 → 5.16.0
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 +5 -5
- data/CHANGELOG.md +96 -0
- data/README.md +492 -64
- data/lib/recaptcha/adapters/controller_methods.rb +96 -0
- data/lib/recaptcha/adapters/view_methods.rb +26 -0
- data/lib/recaptcha/configuration.rb +37 -8
- data/lib/recaptcha/helpers.rb +338 -0
- data/lib/recaptcha/rails.rb +3 -9
- data/lib/recaptcha/railtie.rb +35 -0
- data/lib/recaptcha/version.rb +3 -1
- data/lib/recaptcha.rb +135 -31
- data/rails/locales/en.yml +5 -0
- data/rails/locales/fr.yml +5 -0
- data/rails/locales/ja.yml +5 -0
- data/rails/locales/nl.yml +5 -0
- metadata +17 -39
- data/lib/recaptcha/client_helper.rb +0 -64
- data/lib/recaptcha/verify.rb +0 -102
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 66a204367215f4ea083958e3f322fc7f2955e7481c09a5cadb1f57cf3acd187e
|
|
4
|
+
data.tar.gz: b6e7c0417b4d81bd0e7f15f7837968fbf65096e5d4a6286e297f1bbc030b7744
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c9162ae165cfb00d6ed03f91ef832e90e6bc357cfc31ee71a1a52311910fb183eb40a50967fa04f729243924c1fc9defad7d2030353ccc895b31e7bdb28e210
|
|
7
|
+
data.tar.gz: 8da70c71cb13ce29d7ddfa956795dc2bdcff53ea8aeaa64ad6495e5b4cfa40d82bfd90d9870220173a955e095346ba8f6e451364278af5887e4360b6d5601e07
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,94 @@
|
|
|
1
|
+
## Next
|
|
2
|
+
|
|
3
|
+
## 5.16.0
|
|
4
|
+
* Allow usage of `options[:turbo]` as well as `options[:turbolinks]` for `recaptcha_v3`
|
|
5
|
+
|
|
6
|
+
## 5.15.0
|
|
7
|
+
* Add 3.2 to the list of Ruby CI versions
|
|
8
|
+
* Add ability to submit verify_recaptcha via POST with JSON Body with `options[:json] = true`
|
|
9
|
+
|
|
10
|
+
## 5.14.0
|
|
11
|
+
* drop json dependency
|
|
12
|
+
|
|
13
|
+
## 5.13.1
|
|
14
|
+
* Permit actions as symbol
|
|
15
|
+
|
|
16
|
+
## 5.13.0
|
|
17
|
+
* Added option to ignore_no_element.
|
|
18
|
+
|
|
19
|
+
## 5.12.3
|
|
20
|
+
* Remove score fallback for enterprise
|
|
21
|
+
* Update enterprise tests to v1 assessment schema
|
|
22
|
+
|
|
23
|
+
## 5.12.2
|
|
24
|
+
* Fix minimum score for enterprise
|
|
25
|
+
|
|
26
|
+
## 5.12.1
|
|
27
|
+
* Fix Japanese locale
|
|
28
|
+
|
|
29
|
+
## 5.12.0
|
|
30
|
+
* Added Japanese locale
|
|
31
|
+
|
|
32
|
+
## 5.11.0
|
|
33
|
+
* Added Dutch locale
|
|
34
|
+
|
|
35
|
+
## 5.10.1
|
|
36
|
+
* Fix enterprise_verify_url #415
|
|
37
|
+
|
|
38
|
+
## 5.10.0
|
|
39
|
+
* Drop ruby 2.4 2.5 2.6
|
|
40
|
+
* Add maxiumm score support for hcaptcha
|
|
41
|
+
|
|
42
|
+
## 5.9.0
|
|
43
|
+
* Gracefully handle invalid params
|
|
44
|
+
|
|
45
|
+
## 5.8.1
|
|
46
|
+
* Allow configuring response limit
|
|
47
|
+
|
|
48
|
+
## 5.8.0
|
|
49
|
+
* Add support for the enterprise API
|
|
50
|
+
|
|
51
|
+
## 5.7.0
|
|
52
|
+
* french locale
|
|
53
|
+
* drop ruby 2.3
|
|
54
|
+
|
|
55
|
+
## 5.6.0
|
|
56
|
+
* Allow multiple invisible recaptchas on a single page by setting custom selector
|
|
57
|
+
|
|
58
|
+
## 5.5.0
|
|
59
|
+
* add `recaptcha_reply` controller method for better debugging/inspection
|
|
60
|
+
|
|
61
|
+
## 5.4.1
|
|
62
|
+
* fix v2 vs 'data' postfix
|
|
63
|
+
|
|
64
|
+
## 5.4.0
|
|
65
|
+
* added 'data' postfix to g-recaptcha-response attribute name to avoid collisions
|
|
66
|
+
|
|
67
|
+
## 5.3.0
|
|
68
|
+
* turbolinks support
|
|
69
|
+
|
|
70
|
+
## 5.2.0
|
|
71
|
+
* remove dependency on rails methods
|
|
72
|
+
|
|
73
|
+
## 5.1.0
|
|
74
|
+
* Added default translations for rails/i18n
|
|
75
|
+
* use recaptcha.net for the script tag
|
|
76
|
+
|
|
77
|
+
## 5.0.0
|
|
78
|
+
* Changed host to Recaptcha.net
|
|
79
|
+
* Add v3 API support
|
|
80
|
+
* Renamed `Recaptcha::ClientHelper` to `Recaptcha::Adapters::ViewMethods`
|
|
81
|
+
* Renamed `Recaptcha::Verify` to `Recaptcha::Adapters::ControllerMethods`
|
|
82
|
+
|
|
83
|
+
## 4.12.0 - 2018-08-30
|
|
84
|
+
* add `input` option to `invisible_recaptcha_tags`'s `ui` setting
|
|
85
|
+
|
|
86
|
+
## 4.11.1 - 2018-08-08
|
|
87
|
+
* leave `tabindex` attribute alone for `invisible_recaptcha_tags`
|
|
88
|
+
|
|
89
|
+
## 4.11.0 - 2018-08-06
|
|
90
|
+
* prefer RAILS_ENV over RACK_ENV #286
|
|
91
|
+
|
|
1
92
|
## 4.0.0 - 2016-11-14
|
|
2
93
|
* public_key -> site_key and private_key -> secret_key
|
|
3
94
|
|
|
@@ -57,6 +148,11 @@
|
|
|
57
148
|
* support disabling stoken
|
|
58
149
|
* support Rails.env
|
|
59
150
|
|
|
151
|
+
## 0.4.0 / 2015-03-22
|
|
152
|
+
|
|
153
|
+
* Add support for ReCaptcha v2 API
|
|
154
|
+
* V2 API requires `g-recaptcha-response` parameters; https://github.com/ambethia/recaptcha/pull/114
|
|
155
|
+
|
|
60
156
|
## 0.3.6 / 2012-01-07
|
|
61
157
|
|
|
62
158
|
* Many documentation changes
|