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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 424f86ca2326f83ccc3a2210b5c23a3341a16109a8297aa11dafc4aca051c21e
4
- data.tar.gz: 2d6d8dbc65ba54bc3289e15d2f7635c90b521f2d3e3c04d04a673c3f65a14547
3
+ metadata.gz: de76d9680b3074417f5f689e1007eecc4650ea5039ae6801dddd18cb65f8caa4
4
+ data.tar.gz: 3ad04f860f33b643c63d77f3e8fb3a815680b68e889d48e7cf129eb9b8923d46
5
5
  SHA512:
6
- metadata.gz: fb30c399fb7b38fa0e0f3a8f59b146cdc7da3632f9e1d1a2716db5c1939c288e7993902f1c8f4c9a2ad41c4e8284c508d2e6b253da4a77366cd119a545f5b92f
7
- data.tar.gz: 553c4b1672b8c60d42d0774397d4ade4dc5e33cb574bb8b113ffa4573a0e08af38e3bcee5808e7f326f8179496e18c9e6facc828f46b7e242ec8fd16435cfa5c
6
+ metadata.gz: 1eab24203a21f9f260b7f617377499291077e56e373219202ce6939f4ee93a9bcc0908107258979cb02cfdbda6aabb2e308977c0c8235d3d9f0c4b0bb0f5a7a2
7
+ data.tar.gz: 6898d78b6f1962fc863f992f55ceb7ba7bb19fb75fb34bf591c4931ecce96c06bc961943be8ba92aca534ad111f8f35c9e4330d25adc9566934b3a9750ec8165
@@ -99,7 +99,8 @@ module Recaptcha
99
99
  end
100
100
  end
101
101
 
102
- def self.api_verification(verify_hash, timeout: DEFAULT_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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Recaptcha
4
- VERSION = '5.1.0'
4
+ VERSION = '5.1.1'
5
5
  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: 5.1.0
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-08-06 00:00:00.000000000 Z
11
+ date: 2019-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json