six-updater-web 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile
CHANGED
@@ -18,7 +18,11 @@ module ActiveRecord
|
|
18
18
|
# Give this record a guid id. Public method so people can call it before save if necessary.
|
19
19
|
def assign_guid
|
20
20
|
unless self.id
|
21
|
-
|
21
|
+
begin
|
22
|
+
self.id = UUIDTools::UUID.timestamp_create().to_s
|
23
|
+
rescue
|
24
|
+
self.id = UUIDTools::UUID.random_create().to_s
|
25
|
+
end
|
22
26
|
end
|
23
27
|
end
|
24
28
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 15
|
8
|
-
-
|
9
|
-
version: 0.15.
|
8
|
+
- 3
|
9
|
+
version: 0.15.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sickboy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-11 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|