recaptcha 4.14.0 → 5.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +80 -0
- data/README.md +429 -76
- data/lib/recaptcha/adapters/controller_methods.rb +96 -0
- data/lib/recaptcha/adapters/view_methods.rb +26 -0
- data/lib/recaptcha/configuration.rb +29 -5
- data/lib/recaptcha/helpers.rb +338 -0
- data/lib/recaptcha/railtie.rb +24 -4
- data/lib/recaptcha/version.rb +1 -1
- data/lib/recaptcha.rb +120 -30
- 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 +16 -39
- data/lib/recaptcha/client_helper.rb +0 -157
- data/lib/recaptcha/verify.rb +0 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e8441f1c05e97da5513f6b1b42ab0ee020d50b2d06196e4f83100251157c7b
|
4
|
+
data.tar.gz: c911c40cfe25f413bf9d7ae6a10cce7170856fc45975b455872397c8827db3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf6a050959ee4b95693bc336a4ce6f1bad590aefd62ec6f2a3e70f65affc22a44b04902cee5e695a7ea4922b0558e1a63c36b6a430f16094cba416f1d1a7e9f
|
7
|
+
data.tar.gz: 928673a8221ffe3bcce8d577dce30a405f3b1bdad4cdfc80c15f64044390149134ce4b8d48e8ce18cc28b42c4945dba2641b0982fef009d22e64e79fb117cd66
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,78 @@
|
|
1
|
+
## Next
|
2
|
+
|
3
|
+
## 5.14.0
|
4
|
+
* drop json dependency
|
5
|
+
|
6
|
+
## 5.13.1
|
7
|
+
* Permit actions as symbol
|
8
|
+
|
9
|
+
## 5.13.0
|
10
|
+
* Added option to ignore_no_element.
|
11
|
+
|
12
|
+
## 5.12.3
|
13
|
+
* Remove score fallback for enterprise
|
14
|
+
* Update enterprise tests to v1 assessment schema
|
15
|
+
|
16
|
+
## 5.12.2
|
17
|
+
* Fix minimum score for enterprise
|
18
|
+
|
19
|
+
## 5.12.1
|
20
|
+
* Fix Japanese locale
|
21
|
+
|
22
|
+
## 5.12.0
|
23
|
+
* Added Japanese locale
|
24
|
+
|
25
|
+
## 5.11.0
|
26
|
+
* Added Dutch locale
|
27
|
+
|
28
|
+
## 5.10.1
|
29
|
+
* Fix enterprise_verify_url #415
|
30
|
+
|
31
|
+
## 5.10.0
|
32
|
+
* Drop ruby 2.4 2.5 2.6
|
33
|
+
* Add maxiumm score support for hcaptcha
|
34
|
+
|
35
|
+
## 5.9.0
|
36
|
+
* Gracefully handle invalid params
|
37
|
+
|
38
|
+
## 5.8.1
|
39
|
+
* Allow configuring response limit
|
40
|
+
|
41
|
+
## 5.8.0
|
42
|
+
* Add support for the enterprise API
|
43
|
+
|
44
|
+
## 5.7.0
|
45
|
+
* french locale
|
46
|
+
* drop ruby 2.3
|
47
|
+
|
48
|
+
## 5.6.0
|
49
|
+
* Allow multiple invisible recaptchas on a single page by setting custom selector
|
50
|
+
|
51
|
+
## 5.5.0
|
52
|
+
* add `recaptcha_reply` controller method for better debugging/inspection
|
53
|
+
|
54
|
+
## 5.4.1
|
55
|
+
* fix v2 vs 'data' postfix
|
56
|
+
|
57
|
+
## 5.4.0
|
58
|
+
* added 'data' postfix to g-recaptcha-response attribute name to avoid collisions
|
59
|
+
|
60
|
+
## 5.3.0
|
61
|
+
* turbolinks support
|
62
|
+
|
63
|
+
## 5.2.0
|
64
|
+
* remove dependency on rails methods
|
65
|
+
|
66
|
+
## 5.1.0
|
67
|
+
* Added default translations for rails/i18n
|
68
|
+
* use recaptcha.net for the script tag
|
69
|
+
|
70
|
+
## 5.0.0
|
71
|
+
* Changed host to Recaptcha.net
|
72
|
+
* Add v3 API support
|
73
|
+
* Renamed `Recaptcha::ClientHelper` to `Recaptcha::Adapters::ViewMethods`
|
74
|
+
* Renamed `Recaptcha::Verify` to `Recaptcha::Adapters::ControllerMethods`
|
75
|
+
|
1
76
|
## 4.12.0 - 2018-08-30
|
2
77
|
* add `input` option to `invisible_recaptcha_tags`'s `ui` setting
|
3
78
|
|
@@ -66,6 +141,11 @@
|
|
66
141
|
* support disabling stoken
|
67
142
|
* support Rails.env
|
68
143
|
|
144
|
+
## 0.4.0 / 2015-03-22
|
145
|
+
|
146
|
+
* Add support for ReCaptcha v2 API
|
147
|
+
* V2 API requires `g-recaptcha-response` parameters; https://github.com/ambethia/recaptcha/pull/114
|
148
|
+
|
69
149
|
## 0.3.6 / 2012-01-07
|
70
150
|
|
71
151
|
* Many documentation changes
|