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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a933ad4505efe332571b8dd8107ba74f77f8fd1c0c5537f56ca5dbff04bd181e
4
- data.tar.gz: fcfcb16c34a271a4352a4e6e15f2be1d49f292fcb2964524facf2b6e53ede180
3
+ metadata.gz: e48dfaee643bb8fe00e8af5ac05331fb1eb12d76b83f8e0b08585c8728ee00f7
4
+ data.tar.gz: 94d730cb21ae62997141f93741cd998038940dd8e92ac6b1edec16e644011b66
5
5
  SHA512:
6
- metadata.gz: f83234ae290e3d0b71c8b01d716c036b2b383992196b64bdc50da71b653a8e87d51af1dc00807955f988cfc1785a4c240106dd76c1cb0144dc63d3953b48d489
7
- data.tar.gz: c3741ddcb7babe49fe0930c15c240ec72485f639fc91ba74da15865184f71bd903fbd52e8f016b5e3d56a8428b30e4808c5e1fc942e797bed0e226cd44b70e75
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
- NullUUID = Naught.build do |config|
34
- config.mimic UUID::Random
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.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: 2018-11-04 00:00:00.000000000 Z
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
- rubyforge_project:
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,