ig3client 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ig3client/marshal_client.rb +1 -1
  2. metadata +1 -1
@@ -74,7 +74,7 @@ module Ig3tool
74
74
  n.request(req) do |res|
75
75
  a = res.read_body
76
76
  rez = Marshal.load(a)
77
- raise rez["type"].to_sym, rez["message"].to_s if (res.code.to_i > 200)
77
+ _reraise(rez["type"].to_sym, rez["message"].to_s) if (res.code.to_i > 200)
78
78
  if block_given?
79
79
  yield rez
80
80
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ig3client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Pinte