couch-db 0.11.0 → 0.11.1

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
  SHA1:
3
- metadata.gz: adb22712bf4bea4e5380141e86315d4de7d2ce8f
4
- data.tar.gz: a7cc0e906777dd05afbe54b4da9584d5101c4d4e
3
+ metadata.gz: fbb34f2e691ddb9f10d9a2750263da533e30d3c0
4
+ data.tar.gz: 236e61f8a352207e84e6ba8d2941d6d3f9a225bd
5
5
  SHA512:
6
- metadata.gz: c442d51f3f9416a73811184e2a1d435f00f4e0b8ac62d3df9de602b535a8e0a475bfe6ebdf9091dc1609c50dda78b635669f4243e72e37c22eb3d29c3e16d11c
7
- data.tar.gz: f0dc46cab01abfe0d5205bffcea24292d89ee4ec7b88a489d04d599aa526f1ec09892ad2e7e9b3c72301ab820c8223679c35c2a865c2ea4dcab1c093c5b532cc
6
+ metadata.gz: 6137b21830233b0c118b036b0e8c1dbe5116582898de5bf9816b8b330ed26cc55b5f82d5ed1902afe1437528a317e1c25410c30022c8d1a9860f5ce1e71bfa9a
7
+ data.tar.gz: 2cefc48dc8690981ca9c5b67b3009fdb6cd9008a617c961d32b2698c07c09a27685494fa94fdfd98668aee83460b839c5e89a827e1014b71a2cef856d8772946
@@ -308,10 +308,10 @@ module Couch
308
308
  Request.new(Net::HTTP::Head.new(uri)).couch_url(@couch_url)
309
309
  end
310
310
 
311
- def get(uri, open_timeout: 5*30, read_timeout: 5*30, fail_silent: false)
311
+ def get(uri)
312
312
  Request.new(
313
313
  Net::HTTP::Get.new(uri), nil,
314
- @options.merge({couch_url: @couch_url, open_timeout: open_timeout, read_timeout: read_timeout, fail_silent: fail_silent})
314
+ @options
315
315
  ).perform
316
316
  end
317
317
 
@@ -319,9 +319,9 @@ module Couch
319
319
  Request.new(Net::HTTP::Get.new(uri)).couch_url(@couch_url)
320
320
  end
321
321
 
322
- def put(uri, json, open_timeout: 5*30, read_timeout: 5*30, fail_silent: false)
322
+ def put(uri, json)
323
323
  Request.new(Net::HTTP::Put.new(uri), json,
324
- @options.merge({couch_url: @couch_url, open_timeout: open_timeout, read_timeout: read_timeout, fail_silent: fail_silent})
324
+ @options
325
325
  ).perform
326
326
  end
327
327
 
@@ -329,9 +329,9 @@ module Couch
329
329
  Request.new(Net::HTTP::Put.new(uri)).couch_url(@couch_url)
330
330
  end
331
331
 
332
- def post(uri, json, open_timeout: 5*30, read_timeout: 5*30, fail_silent: false)
332
+ def post(uri, json)
333
333
  Request.new(Net::HTTP::Post.new(uri), json,
334
- @options.merge({couch_url: @couch_url, open_timeout: open_timeout, read_timeout: read_timeout, fail_silent: fail_silent})
334
+ @options
335
335
  ).perform
336
336
  end
337
337
 
@@ -1,6 +1,6 @@
1
1
  module Couch
2
2
  # noinspection ALL
3
3
  module DB
4
- VERSION = '0.11.0'
4
+ VERSION = '0.11.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couch-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maarten Trompper