jr 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data.tar.gz.sig +0 -0
  2. data/lib/jr.rb +1 -1
  3. metadata +2 -2
  4. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
data/lib/jr.rb CHANGED
@@ -102,7 +102,7 @@ module Jr
102
102
  # is present, we don't require it because not all servers implement it.
103
103
  raise ProtocolMismatch.new(self, r['jsonrpc'])
104
104
  elsif r['id'] != reqid
105
- raise ProtocolMismatch.new(IDMismatch, self)
105
+ raise IDMismatch.new(self)
106
106
  elsif r['error']
107
107
  raise ServerError.new(self, r['error']['code'], r['error']['message'],
108
108
  r['error']['data'])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -50,7 +50,7 @@ cert_chain:
50
50
  -----END CERTIFICATE-----
51
51
 
52
52
  '
53
- date: 2012-03-06 00:00:00.000000000 Z
53
+ date: 2012-04-25 00:00:00.000000000 Z
54
54
  dependencies: []
55
55
  description: Jr. lets you communicate with an HTTP JSON RPC server.
56
56
  email: the.magical.kat@gmail.com
metadata.gz.sig CHANGED
Binary file