strobe 0.1.0.beta.1 → 0.1.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,4 @@
1
1
  module Strobe
2
- class RequestError < RuntimeError ; end
3
- class ValidationError < RuntimeError ; end
4
-
5
2
  module Resource
6
3
  class AssociationValidator < ActiveModel::EachValidator
7
4
  def validate_each(record, attr, val)
data/lib/strobe.rb CHANGED
@@ -36,9 +36,11 @@ module Strobe
36
36
 
37
37
  # Errors
38
38
  class StrobeError < StandardError ; end
39
- class UnauthenticatedError < StrobeError ; end
39
+ class RequestError < StrobeError ; end
40
40
  class ResourceNotFoundError < StrobeError ; end
41
41
  class ServerError < StrobeError ; end
42
+ class UnauthenticatedError < StrobeError ; end
43
+ class ValidationError < StrobeError ; end
42
44
 
43
45
  def self.connection
44
46
  @connection
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 1
8
8
  - 0
9
9
  - beta
10
- - 1
11
- version: 0.1.0.beta.1
10
+ - 2
11
+ version: 0.1.0.beta.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Yehuda Katz