recaptcha 4.6.2 → 4.6.3
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 +4 -4
- data/README.md +1 -1
- data/lib/recaptcha/client_helper.rb +1 -1
- data/lib/recaptcha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7176357994ce8d36055abb9dddd22b832ea62e4
|
|
4
|
+
data.tar.gz: 9c8c9a8aa081bb30705ae4bd19e80230ffb5155f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17c1066da56d21a398df6faaff5c51f401ab08a455b4fa1c2df793f1566be6c5f7dabd915197bba6a91d1dc595380c1c4a7e36e382390ca5698f2957987ceb78
|
|
7
|
+
data.tar.gz: 9de6f8482b105b19e18d8c6a98c0f042d8a8c956558ab6cce95939eaf90bb811a92bc330d790d8024c067e4cd47da0c240b3ce7c196565c4fc466f01c3ba4a3a
|
data/README.md
CHANGED
|
@@ -194,7 +194,7 @@ Pass in keys as options at runtime, for code base with multiple reCAPTCHA setups
|
|
|
194
194
|
```Ruby
|
|
195
195
|
recaptcha_tags site_key: '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy'
|
|
196
196
|
|
|
197
|
-
and
|
|
197
|
+
# and
|
|
198
198
|
|
|
199
199
|
verify_recaptcha secret_key: '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx'
|
|
200
200
|
```
|
|
@@ -56,7 +56,6 @@ module Recaptcha
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def self.recaptcha_components(options = {})
|
|
59
|
-
site_key = options.delete(:site_key) || Recaptcha.configuration.site_key!
|
|
60
59
|
html = ""
|
|
61
60
|
attributes = {}
|
|
62
61
|
fallback_uri = ""
|
|
@@ -64,6 +63,7 @@ module Recaptcha
|
|
|
64
63
|
attributes["class"] = "g-recaptcha #{options.delete(:class)}"
|
|
65
64
|
|
|
66
65
|
unless Recaptcha::Verify.skip?(options[:env])
|
|
66
|
+
site_key = options.delete(:site_key) || Recaptcha.configuration.site_key!
|
|
67
67
|
hl = options.delete(:hl).to_s
|
|
68
68
|
script_url = Recaptcha.configuration.api_server_url
|
|
69
69
|
script_url += "?hl=#{hl}" unless hl == ""
|
data/lib/recaptcha/version.rb
CHANGED
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: 4.6.
|
|
4
|
+
version: 4.6.3
|
|
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: 2017-
|
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|