couchdb-client 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: