two_captcha 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/two_captcha/client.rb +1 -1
- data/lib/two_captcha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f01f12561a53cdfd920b3e70a91f090d939c3ac7
|
4
|
+
data.tar.gz: 3adb06109188455e97090a63b969304fc91d0d33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f87d4828f1727afd418bbf2d5c9986fa4449bfe785c5617a0cef33d50b5216f1649b2d6c99837daf702b180035fa6c761a9b0b3e80f6851c2bb7037f34c77586
|
7
|
+
data.tar.gz: 4fb90567f9a014e3b63a14aac518c632fee79ac03c68966ef27601f183e56951e2e3c4b8c1ef33bfd16ef76195f059b10ea7b78f765612d332701659b11a7f42
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ and [Ruby on Rails development](https://infosimples.com/en/software-development)
|
|
4
4
|
|
5
5
|
# TwoCaptcha
|
6
6
|
|
7
|
-
TwoCaptcha is a Ruby API for 2Captcha -
|
7
|
+
TwoCaptcha is a Ruby API for 2Captcha - [2Captcha.com](http://2captcha.com/?from=1025109).
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
data/lib/two_captcha/client.rb
CHANGED
@@ -71,7 +71,7 @@ module TwoCaptcha
|
|
71
71
|
while decoded_captcha.text.to_s.empty?
|
72
72
|
sleep(polling)
|
73
73
|
decoded_captcha = captcha(decoded_captcha.id)
|
74
|
-
fail
|
74
|
+
fail TwoCaptcha::Timeout if (Time.now - started_at) > timeout
|
75
75
|
end
|
76
76
|
|
77
77
|
decoded_captcha
|
data/lib/two_captcha/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: two_captcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Mita
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|