global_uid 4.0.0 → 4.0.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
  SHA256:
3
- metadata.gz: e5cd65221c9309e5bc370d275e9a5c1c0b69c6031db5e18720e4444124e5ef57
4
- data.tar.gz: a4439cd889d012a9dba8a7b142052d2bf1e2402db4b61dae426cdc3c150d5b48
3
+ metadata.gz: bc0bc131f043570b57245aa1b807b4f7e74dd87aefc17db5b403d2d7e615f5e5
4
+ data.tar.gz: a0048d1ebec4af921f0fee12db3ade0e37bfcc5af282f94e61f197fdb182ff17
5
5
  SHA512:
6
- metadata.gz: 91e8f5d532fc022897e406a9035d49b460cf75d7719533d7782ce2e91cd11bd49aac4890174fe92fb9479448fd7832a10f8669987cc2962bd9bd93856b526b59
7
- data.tar.gz: 8da0eaaa562fa0bf39733eb00db2f672f40e5b7575f8a2e474f1c18147ea2c20c6ddb4aaa89af00221d14493e051db1512305c5ca20cd321c2f59c445fbdccb1
6
+ metadata.gz: df66f3a63d4b00c946e76f41cb18817e3790ba229be243ba1abf6cbc555cec1d778316782afdb87ac9769d47cef151b41e3a3b0f47b8640b0ccc6fb9e5f0dcbe
7
+ data.tar.gz: 987393d901a7d49897a4362c58a88d851695af84fdc137c307781acdc3b21dd00537608d241814d7293e4d12e3c26fe3ad96dfa085228ecbcff6d6edfb69fe1f
@@ -35,7 +35,7 @@ module GlobalUid
35
35
 
36
36
  def generate_many_uids(count)
37
37
  GlobalUid::Base.with_servers do |server|
38
- return server.allocate(self, count: count)
38
+ return Array(server.allocate(self, count: count))
39
39
  end
40
40
  end
41
41
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_uid
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Quorning
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-08-26 00:00:00.000000000 Z
14
+ date: 2020-11-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activerecord