relaxo 0.4.5 → 0.4.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f271109f32a46b527537f02d2d74d11c0b6bec8
4
- data.tar.gz: f420d81ae8aefaa83d76aeff87e14ce1a3bf4041
3
+ metadata.gz: 9e6c02feb308c631c2fd94b56f377faa51c912eb
4
+ data.tar.gz: 28d754e42bb951740a67bbd434843040669c64dd
5
5
  SHA512:
6
- metadata.gz: 0303b6aa8c28daca4eab2de9485fd0fead7a9ae2272d2c10c936d3ce15481344555cc2744b1bae5221dea1955e8b253a77832a5f1e838d597837e3b10ffdf727
7
- data.tar.gz: 96314b1bbc9dd5fb2b9a036c1b7e37da3dac2ad9516c1d9fa91ad88179f1095b8740270a0513f5dee371dcfa40cef9dc7dd587fe73b5b0621fc2f1404d31b1db
6
+ metadata.gz: 63a3a123c7e53afaf78fea848c7774f4d6363adedca1df785411ba50c3776edfe741a0b3addcac3a8d17943e35013a0a6758554664f8594bb80c3db55eb2d118
7
+ data.tar.gz: 68456b24f209d5b3715c7ca4f66604387c15a04e72d2dd7969e328b13d57f98cffdcc5bdfe27c98743d0822c40959235dd5f571272b1a66f05ce017bfa71a7e4
data/.travis.yml CHANGED
@@ -1,8 +1,14 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
3
- - 2.0
4
- - 2.1
5
- - 2.2
4
+ - 2.1.8
5
+ - 2.2.4
6
+ - 2.3.1
7
+ - rbx-2
6
8
  services:
7
9
  - couchdb
8
10
  env: COVERAGE=true
11
+ matrix:
12
+ allow_failures:
13
+ - rvm: ruby-head
14
+ - rvm: "rbx-2"
@@ -35,10 +35,6 @@ module Relaxo
35
35
 
36
36
  attr :url
37
37
 
38
- private def fetch_uuids(count)
39
- @uuids += Client.get("#{@url}/_uuids?count=#{count}")["uuids"]
40
- end
41
-
42
38
  # This implementation could be improved. It's not exactly fast to request 1 UUID at a time. One idea is to add a UUID queue to Transaction which allows UUIDs to be fetched in bulk on a per-transaction basis, and reused if the transaction fails.
43
39
  def next_uuid
44
40
  @uuid_lock.synchronize do
@@ -60,5 +56,11 @@ module Relaxo
60
56
  def configuration
61
57
  Client.get("#{@url}/_config")
62
58
  end
59
+
60
+ private
61
+
62
+ def fetch_uuids(count)
63
+ @uuids += Client.get("#{@url}/_uuids?count=#{count}")["uuids"]
64
+ end
63
65
  end
64
66
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Relaxo
22
- VERSION = "0.4.5"
22
+ VERSION = "0.4.6"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaxo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams