card-mod-recaptcha 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/self/admin_info.rb +4 -4
- data/set/self/recaptcha_settings.rb +9 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecab662b8babe1c1a18b39fc848a35c9fb28c5ab54efba0b7f9a5d858f0edd60
|
4
|
+
data.tar.gz: 590c71592f7e5f77ea95a128f0775ed5ee03939627bff8e20745f0c4048d3d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c991d7a3056817e5edc7e750f5cb910f9840712d00658493bba2673013dd1f5f738271575d6bfddefdd05ceb98a6cecd4998217dd20d9da1e102909ac1fc848c
|
7
|
+
data.tar.gz: 94f2489829497985a7bfec569daad7d1472006ae63dbae261441fc2c5f7b08ddc3261ee2dcbc5064715042ad2f334b77defd5addb7d981d311f053677e3816d1
|
data/set/self/admin_info.rb
CHANGED
@@ -11,17 +11,17 @@ format :html do
|
|
11
11
|
# %(Your captcha is currently working with temporary settings.
|
12
12
|
# This is fine for a local installation, but you will need new
|
13
13
|
# recaptcha keys if you want to make this site public.)
|
14
|
-
|
14
|
+
t :recaptcha_captcha_temp, recaptcha_link: add_recaptcha_keys_link
|
15
15
|
else
|
16
16
|
# %(You are configured to use [[*captcha]], but for that to work
|
17
17
|
# you need new recaptcha keys.)
|
18
|
-
|
19
|
-
|
18
|
+
t :recaptcha_captcha_keys, recaptcha_link: add_recaptcha_keys_link,
|
19
|
+
captcha_link: link_to_card(:captcha)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
24
|
def add_recaptcha_keys_link
|
25
|
-
Card[:recaptcha_settings]&.format&.edit_link link_text:
|
25
|
+
Card[:recaptcha_settings]&.format&.edit_link link_text: t(:recaptcha_captcha_keys)
|
26
26
|
end
|
27
27
|
end
|
@@ -12,19 +12,20 @@ format :html do
|
|
12
12
|
# end
|
13
13
|
#
|
14
14
|
# <h5>#{instructions}</h5>
|
15
|
-
# #{
|
15
|
+
# #{howto_add_keys}
|
16
16
|
# #{howto_turn_captcha_off}
|
17
17
|
#
|
18
18
|
# def howto_add_new_recaptcha_keys
|
19
|
-
# instructions
|
20
|
-
# [
|
21
|
-
#
|
22
|
-
#
|
19
|
+
# instructions t(:recaptcha_howto_add_keys),
|
20
|
+
# [t(:recaptcha_howto_register,
|
21
|
+
# recaptcha_link: link_to_resource("http://google.com/recaptcha")),
|
22
|
+
# t(:recaptcha_howto_add,
|
23
|
+
# recaptcha_settings: link_to_card(:recaptcha_settings))]
|
23
24
|
# end
|
24
25
|
#
|
25
26
|
# def howto_turn_captcha_off
|
26
|
-
# instructions
|
27
|
-
# [
|
28
|
-
#
|
27
|
+
# instructions t(:recaptcha_howto_turn_off),
|
28
|
+
# [t(:recaptcha_howto_go, captcha_card: link_to_card(:captcha)),
|
29
|
+
# t(:recaptcha_howto_update)]
|
29
30
|
# end
|
30
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-recaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.101.
|
21
|
+
version: 1.101.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.101.
|
28
|
+
version: 1.101.4
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: recaptcha
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|