deathbycaptcha 4.1.4 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ module DeathByCaptcha
43
43
  #
44
44
  # Raised when the captcha file could not be loaded or is empty.
45
45
  #
46
- class CaptchaEmpty
46
+ class CaptchaEmpty < Error
47
47
  def initialize
48
48
  super('CAPTCHA image is empty or could not be loaded')
49
49
  end
@@ -52,13 +52,13 @@ module DeathByCaptcha
52
52
  #
53
53
  # Raised when the size of the captcha file is too big.
54
54
  #
55
- class CaptchaOverflow
55
+ class CaptchaOverflow < Error
56
56
  def initialize
57
57
  super('CAPTCHA image is too big')
58
58
  end
59
59
  end
60
60
 
61
- class ServiceOverload
61
+ class ServiceOverload < Error
62
62
  def initialize
63
63
  super('CAPTCHA was rejected due to service overload, try again later')
64
64
  end
@@ -66,4 +66,4 @@ module DeathByCaptcha
66
66
 
67
67
  end
68
68
 
69
- end
69
+ end
@@ -1,4 +1,4 @@
1
1
  module DeathByCaptcha
2
- VERSION = "4.1.4"
2
+ VERSION = "4.1.5"
3
3
  API_VERSION = "DBC/Ruby v4.1.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deathbycaptcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-27 00:00:00.000000000 Z
12
+ date: 2014-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -83,8 +83,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project: deathbycaptcha
86
- rubygems_version: 1.8.24
86
+ rubygems_version: 1.8.25
87
87
  signing_key:
88
88
  specification_version: 3
89
89
  summary: Ruby API for DeathByCaptcha (Captcha Solver as a Service)
90
90
  test_files: []
91
+ has_rdoc: