circuit-api 0.0.19 → 0.0.20

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: 9ce474a23b0044ab9eb65a9520538d0b8a7b436bb903c590e71b84c48a995b93
4
- data.tar.gz: ae0bd0fd17880639a8ccc6457fc37af1d507d7ff6a7a0ec3132a2517d466380f
3
+ metadata.gz: 3d2eecaa9fc26a31a885d514addb969b9e7137a3e1323c590b1abeb8b05709c4
4
+ data.tar.gz: 5a588bc99041ac8e1653acb3420353c458fd4a4011a1675dec67301d099003d5
5
5
  SHA512:
6
- metadata.gz: 10e227014cb40e0d3cfe9bb17c6d0a153b4a3d465f778f67179259f5502abf4676efa423d6a086885f4ba8f29855fae73c6fcdf6213bc53840d2fd18d1a2b60a
7
- data.tar.gz: fb29aa1ca7e81ce0dec95abb18f6a588e2afc069c32fc98283d811af65d85d7b77f715e79530a033184395169e659ec4eebf44ef834420b0e828142a1103dc89
6
+ metadata.gz: '018827950d01236f57fa2e2d52c9d5374bf68e3ddb996cd7d2198fc5d734950275be74aa4dcb1a686dc6c88372b2d1de610e6da256c340c0ae7f097df0d19f67'
7
+ data.tar.gz: 021fe02a43f375b8b4a36580bb60a1487f58d75402635986e1613f6b203a1002bab044ab0ae1fb74a146a8d688651d5e787d5ac0df88b7126f56ecf3f2ab85ad
@@ -22,6 +22,8 @@ module CircuitApi
22
22
  end
23
23
 
24
24
  response_to_object(result)
25
+ rescue CircuitApi::BadRequest => e
26
+ handle_validation_errors(e)
25
27
  end
26
28
  end
27
29
  end
@@ -1,3 +1,3 @@
1
1
  module CircuitApi
2
- VERSION = '0.0.19'
2
+ VERSION = '0.0.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuit-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Pochet