recaptcha 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d7c9ac18ec9de3fed55d8c19fbf4f673a8c1ff8
4
- data.tar.gz: e303da2bfe6fa08bdd1a41b91629bbba37ea9bf8
3
+ metadata.gz: cbf7a55507ca69720d10cdeead8aff77badad7b0
4
+ data.tar.gz: 318b80638a10bcdc1186fd7244cc4418bbf54268
5
5
  SHA512:
6
- metadata.gz: 9432fbc21f27f050db6ec0463af0b5ef07fb1ea35a0ed32e78ef53748b9aad43b51563603e63d1a86311082da4d1d7cbc72e07240992dc85693327b292036dde
7
- data.tar.gz: 19a54357999754e6eaec65b4bfbe1ad95dc21122fb90aaa6a71f3cf834a94bbb7442734857b0f8dfcb68bcc09a05dfe5065fc515617e8d28296141e91f51ef5c
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
- | :display | Takes a hash containing the `theme` and `tabindex` options per the API. (default `nil`), options: 'red', 'white', 'blackglass', 'clean', 'custom'|
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
@@ -1,3 +1,3 @@
1
1
  module Recaptcha
2
- VERSION = "4.0.0".freeze
2
+ VERSION = "4.0.1".freeze
3
3
  end
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.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-14 00:00:00.000000000 Z
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.4.5.1
189
+ rubygems_version: 2.5.1
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Helpers for the reCAPTCHA API