evt-identifier-uuid 1.1.0.1 → 1.1.0.2

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: 9b22da4a61cbda2eca5a8931799b71f6acd5e68df99c20785080fde31293a8c2
4
- data.tar.gz: 37f618009d3bd9136882c4243f86c37fb30c3764b99ff4c8ff49f3d96bdfa908
3
+ metadata.gz: 104aa6fabf9dd73e18e4d0c6fdda2c256fa85cad200dfa4e9de87570a398a395
4
+ data.tar.gz: 276409bd8abec2fcd27e03f737e5082fc3066c7fedcd4c53346a3ae5735c9226
5
5
  SHA512:
6
- metadata.gz: a0dddb2d94675d007b28ff18c4e1fccc7d0fd4a20be93212f2e78af3ac885c36713be27d1ff68de0039aacd11b5fc5404beaf699f61cdfafb705811d6459be6c
7
- data.tar.gz: 1748706fcf8537a87749a35cbc8b7f465bb64113add26acc2cebfc2ff4c7f67c71f3f9cf7de8cb1ff3ef56212e6da99e30c6b7b9bde1c2813bb97037b6c707d8
6
+ metadata.gz: 131dbcd37a1edc860b72983bd626f4458cb079af555ee0ac0f0ec4f304c819125adecd9f5ac6a4b4a1e88b3b9d8e3485b7e9ef16f3cd73b9b626e31d81278d37
7
+ data.tar.gz: ea3ff183346cb5101dd4d0f5919de5a5a3a1a2154227a84d5627f70aeb2d2860cb76ab42537a563e1fe9c37dc28efb669e498dc18d28c378586576572aec532c
@@ -36,13 +36,11 @@ module Identifier
36
36
 
37
37
  class Random < Identifier::UUID::Random
38
38
  def get
39
- UUID.zero
39
+ @id ||= UUID.zero
40
40
  end
41
41
 
42
42
  def set(val)
43
- define_singleton_method(:get) do
44
- val
45
- end
43
+ @id = val
46
44
  end
47
45
  end
48
46
  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.1.0.1
4
+ version: 1.1.0.2
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: 2019-07-14 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test_bench