recaptcha 4.0.0 → 4.0.1
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 +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbf7a55507ca69720d10cdeead8aff77badad7b0
|
|
4
|
+
data.tar.gz: 318b80638a10bcdc1186fd7244cc4418bbf54268
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ceb8f6095d38fd5b4b8095375b8f524545a54ea78d7d0c0c930e7ecad2da302926d48b39a3fe512dcee262822bb9e1f552f7b01cc5e3eeb6b885e76f17229723
|
|
7
|
+
data.tar.gz: d2bd33484cace209b33229bf58db95bd3237717814952e98e39f0f8bbc32b9f85d8fa01b0c3aca037e5db337a7a1c2784754148012169502370b1eb1ebad9ddc
|
data/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Some of the options available:
|
|
|
67
67
|
| Option | Description |
|
|
68
68
|
|-------------|-------------|
|
|
69
69
|
| :noscript | Include <noscript> content (default `true`)|
|
|
70
|
-
| :
|
|
70
|
+
| :theme | Specify the theme to be used per the API. Available options: `dark` and `light`. (default `light`)|
|
|
71
71
|
| :ajax | Render the dynamic AJAX captcha per the API. (default `false`)|
|
|
72
72
|
| :site_key | Override site API key |
|
|
73
73
|
| :error | Override the error code returned from the reCAPTCHA API (default `nil`)|
|
|
@@ -16,7 +16,7 @@ module Recaptcha
|
|
|
16
16
|
script_url += "?hl=#{options[:hl]}" unless options[:hl].to_s == ""
|
|
17
17
|
fallback_uri = "#{script_url.chomp('.js')}/fallback?k=#{site_key}"
|
|
18
18
|
|
|
19
|
-
data_attributes = [:theme, :type, :callback, :expired_callback, :size]
|
|
19
|
+
data_attributes = [:badge, :theme, :type, :callback, :expired_callback, :size]
|
|
20
20
|
data_attributes = options.each_with_object({}) do |(k, v), a|
|
|
21
21
|
a[k] = v if data_attributes.include?(k)
|
|
22
22
|
end
|
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.0.
|
|
4
|
+
version: 4.0.1
|
|
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: 2016-
|
|
11
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
version: '0'
|
|
187
187
|
requirements: []
|
|
188
188
|
rubyforge_project:
|
|
189
|
-
rubygems_version: 2.
|
|
189
|
+
rubygems_version: 2.5.1
|
|
190
190
|
signing_key:
|
|
191
191
|
specification_version: 4
|
|
192
192
|
summary: Helpers for the reCAPTCHA API
|