recaptcha 4.6.2 → 4.6.3

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: 346cd84afd5c0f4a7062b995422b1895e4f0a290
4
- data.tar.gz: 35ad6518dc3839f0aaa1a6d107785dd70f4bb95c
3
+ metadata.gz: d7176357994ce8d36055abb9dddd22b832ea62e4
4
+ data.tar.gz: 9c8c9a8aa081bb30705ae4bd19e80230ffb5155f
5
5
  SHA512:
6
- metadata.gz: 80c9efbf4d27c8c97c09c23ca0f811b51d1bf418f86f2ac1d56785093b3f0dff207386c7b31884fa4347455e6219e25284006680c971360ad33af24709fe8e03
7
- data.tar.gz: 79994f32501a6ffa8d5151b90c8182f71c25061e6668a565969fc916e0fe8fbe1eefc0700d4bad1439fcf6703cb61547b0c7b6d83b5eb0bb95b1ccf201990234
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 == ""
@@ -1,3 +1,3 @@
1
1
  module Recaptcha
2
- VERSION = "4.6.2".freeze
2
+ VERSION = "4.6.3".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.6.2
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-10-20 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json