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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ada135dad0428e66a55f12546ec887230eee89f4
4
- data.tar.gz: 1cad1ca0f8021b9a9bc4d68e5e6e82e3c19f24b9
3
+ metadata.gz: f01f12561a53cdfd920b3e70a91f090d939c3ac7
4
+ data.tar.gz: 3adb06109188455e97090a63b969304fc91d0d33
5
5
  SHA512:
6
- metadata.gz: 11d19a82c8beb97d7f0f4f774c274eec6f823efbabf759f2a7ef7b1bc121d833b8a15e7d085336da32b30709d4070f751e08d4213342dccf90d0c9f3c4aee7f8
7
- data.tar.gz: f846b785745c2d7eda62128f05da068df0832adf974dedb660745354c0643ca1f9cb2d2786024e27662d6e5e8b7a6f84534a08d16774c2b00eeab7b1e96e3436
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 - https://2captcha.com.
7
+ TwoCaptcha is a Ruby API for 2Captcha - [2Captcha.com](http://2captcha.com/?from=1025109).
8
8
 
9
9
  ## Installation
10
10
 
@@ -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 DeathByCaptcha::Timeout if (Time.now - started_at) > timeout
74
+ fail TwoCaptcha::Timeout if (Time.now - started_at) > timeout
75
75
  end
76
76
 
77
77
  decoded_captcha
@@ -1,4 +1,4 @@
1
1
  module TwoCaptcha
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  USER_AGENT = "TwoCaptcha/Ruby v#{VERSION}"
4
4
  end
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.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-10 00:00:00.000000000 Z
12
+ date: 2015-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler