lexical_uuid 0.2.0 → 0.2.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lexical_uuid"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Golick"]
12
- s.date = "2011-09-23"
12
+ s.date = "2011-10-12"
13
13
  s.description = "UUIDs that are byte-ordered lamport clocks (timestamp, worker_id). Much simpler than type-1 UUID's crappy, weirdo layout."
14
14
  s.email = "jamesgolick@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  ]
33
33
  s.homepage = "http://github.com/jamesgolick/lexical_uuid"
34
34
  s.require_paths = ["lib"]
35
- s.rubygems_version = "1.8.10"
35
+ s.rubygems_version = "1.3.9.3"
36
36
  s.summary = "UUIDs that are byte-ordered lamport clocks (timestamp, worker_id). Much simpler than type-1 UUID's crappy, weirdo layout."
37
37
 
38
38
  if s.respond_to? :specification_version then
@@ -31,7 +31,7 @@ class LexicalUUID
31
31
  from_bytes(timestamp)
32
32
  when 36
33
33
  elements = timestamp.split("-")
34
- from_bytes(elements.join.to_a.pack('H32'))
34
+ from_bytes(Array(elements.join).pack('H32'))
35
35
  else
36
36
  raise ArgumentError,
37
37
  "#{timestamp} was incorrectly sized. Must be 16 timestamp."
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexical_uuid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - James Golick
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-23 00:00:00 Z
18
+ date: 2011-10-12 00:00:00 -07:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rspec
@@ -69,6 +70,7 @@ files:
69
70
  - spec/lexical_uuid_spec.rb
70
71
  - spec/spec.opts
71
72
  - spec/spec_helper.rb
73
+ has_rdoc: true
72
74
  homepage: http://github.com/jamesgolick/lexical_uuid
73
75
  licenses: []
74
76
 
@@ -98,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
100
  requirements: []
99
101
 
100
102
  rubyforge_project:
101
- rubygems_version: 1.8.10
103
+ rubygems_version: 1.3.9.3
102
104
  signing_key:
103
105
  specification_version: 3
104
106
  summary: UUIDs that are byte-ordered lamport clocks (timestamp, worker_id). Much simpler than type-1 UUID's crappy, weirdo layout.