evt-identifier-uuid 1.0.0.0 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/identifier/uuid/random.rb +8 -6
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e48dfaee643bb8fe00e8af5ac05331fb1eb12d76b83f8e0b08585c8728ee00f7
|
4
|
+
data.tar.gz: 94d730cb21ae62997141f93741cd998038940dd8e92ac6b1edec16e644011b66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee57a47ad7aabcc0e5e16b1dacb20d5a6df332f4796e4dd9caf93fa5e0591682f53a1b0138bf5961624155df37bf4c43a5a95be0d947cc1a6571d800d33df41f
|
7
|
+
data.tar.gz: 0f59576a7afb2ed26062ad18bcf7cb6538a93d10a0a9588513e70df12f678e5b6c903c65c52cb50b61d4731b25cd26e2cb631e6b5a3d4a61d858ff72b1295acb
|
@@ -30,8 +30,14 @@ module Identifier
|
|
30
30
|
end
|
31
31
|
|
32
32
|
module Substitute
|
33
|
-
|
34
|
-
|
33
|
+
def self.build
|
34
|
+
Random.new
|
35
|
+
end
|
36
|
+
|
37
|
+
class Random < Identifier::UUID::Random
|
38
|
+
def get
|
39
|
+
UUID.zero
|
40
|
+
end
|
35
41
|
|
36
42
|
def set(val)
|
37
43
|
define_singleton_method(:get) do
|
@@ -39,10 +45,6 @@ module Identifier
|
|
39
45
|
end
|
40
46
|
end
|
41
47
|
end
|
42
|
-
|
43
|
-
def self.build
|
44
|
-
NullUUID.new
|
45
|
-
end
|
46
48
|
end
|
47
49
|
end
|
48
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-identifier-uuid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: naught
|
@@ -71,8 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
|
75
|
-
rubygems_version: 2.7.6
|
74
|
+
rubygems_version: 3.0.1
|
76
75
|
signing_key:
|
77
76
|
specification_version: 4
|
78
77
|
summary: UUID v4 identifier generator with support for generating and parsing UUIDs,
|