recaptcha 5.1.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recaptcha.rb +2 -1
- data/lib/recaptcha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de76d9680b3074417f5f689e1007eecc4650ea5039ae6801dddd18cb65f8caa4
|
4
|
+
data.tar.gz: 3ad04f860f33b643c63d77f3e8fb3a815680b68e889d48e7cf129eb9b8923d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eab24203a21f9f260b7f617377499291077e56e373219202ce6939f4ee93a9bcc0908107258979cb02cfdbda6aabb2e308977c0c8235d3d9f0c4b0bb0f5a7a2
|
7
|
+
data.tar.gz: 6898d78b6f1962fc863f992f55ceb7ba7bb19fb75fb34bf591c4931ecce96c06bc961943be8ba92aca534ad111f8f35c9e4330d25adc9566934b3a9750ec8165
|
data/lib/recaptcha.rb
CHANGED
@@ -99,7 +99,8 @@ module Recaptcha
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
def self.api_verification(verify_hash, timeout:
|
102
|
+
def self.api_verification(verify_hash, timeout: nil)
|
103
|
+
timeout ||= DEFAULT_TIMEOUT
|
103
104
|
http = if configuration.proxy
|
104
105
|
proxy_server = URI.parse(configuration.proxy)
|
105
106
|
Net::HTTP::Proxy(proxy_server.host, proxy_server.port, proxy_server.user, proxy_server.password)
|
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: 5.1.
|
4
|
+
version: 5.1.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: 2019-
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|