couchdb-client 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module CouchDB
2
2
  class Client
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -58,6 +58,8 @@ module CouchDB
58
58
  h[name] = case error
59
59
  when PropertyError
60
60
  error.to_hash.tap { |hash| hash.delete :property }
61
+ when InvalidObject
62
+ error.to_hash
61
63
  else
62
64
  {:error => 'unknown'}
63
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchdb-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: