uuid 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/MIT-LICENSE +1 -1
- data/lib/uuid.rb +2 -2
- data/uuid.gemspec +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/MIT-LICENSE
CHANGED
data/lib/uuid.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# Author:: Assaf Arkin assaf@labnotes.org
|
5
5
|
# Eric Hodel drbrain@segment7.net
|
6
|
-
# Copyright:: Copyright (c) 2005-
|
6
|
+
# Copyright:: Copyright (c) 2005-2010 Assaf Arkin, Eric Hodel
|
7
7
|
# License:: MIT and/or Creative Commons Attribution-ShareAlike
|
8
8
|
|
9
9
|
require 'fileutils'
|
@@ -180,7 +180,7 @@ class UUID
|
|
180
180
|
@last_clock = (Time.now.to_f * CLOCK_MULTIPLIER).to_i
|
181
181
|
@mutex = Mutex.new
|
182
182
|
|
183
|
-
if File.
|
183
|
+
if File.size?(self.class.state_file) then
|
184
184
|
next_sequence
|
185
185
|
else
|
186
186
|
@mac = Mac.addr.gsub(/:|-/, '').hex & 0x7FFFFFFFFFFF
|
data/uuid.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uuid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Assaf Arkin
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2010-01-27 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|