uuid4 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +6 -10
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -2
- data/lib/uuid4.rb +2 -2
- data/lib/uuid4/version.rb +1 -1
- data/uuid4.gemspec +1 -3
- metadata +7 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 67c1d40498cf9ad1eb42e51596108fadfe39f1cc10d6f3906b477bdea073430b
|
4
|
+
data.tar.gz: ec5ecb622d19833be4b4f493a7cf717faa4f93cab583992c57cabdaccc5d4cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0946bdd018d6f36636f3a6930118423a02f54f028f98d61f47eadcd80171f87ee217045a16b842403177890117ee1adb6d83ccf593c083f7abfeafb765be06da'
|
7
|
+
data.tar.gz: 66f5b241a77682810421be6e70fa280d4fa2b564d5d201da387a4c895d156e57e4578e346a7a8a0cbb7bc7c4065e08582ec417f5fa3619984e511cbf31184708
|
data/.travis.yml
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
|
1
|
+
dist: xenial
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
- 2.3
|
5
|
-
- 2.
|
6
|
-
- 2.
|
7
|
-
-
|
8
|
-
|
9
|
-
- gem update --system
|
10
|
-
- gem install bundler --pre
|
11
|
-
- bundler --version
|
12
|
-
- bundle --version
|
4
|
+
- 2.6.3
|
5
|
+
- 2.5.5
|
6
|
+
- 2.4.6
|
7
|
+
- 2.3.8
|
8
|
+
- jruby-9.2.7.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/lib/uuid4.rb
CHANGED
@@ -93,8 +93,8 @@ class UUID4
|
|
93
93
|
def new(value = nil)
|
94
94
|
if value.nil?
|
95
95
|
super(SecureRandom.uuid.tr('-', '').hex)
|
96
|
-
elsif (
|
97
|
-
|
96
|
+
elsif (uuid = try_convert(value))
|
97
|
+
uuid
|
98
98
|
else
|
99
99
|
raise TypeError.new "Invalid UUID: #{value.inspect}"
|
100
100
|
end
|
data/lib/uuid4/version.rb
CHANGED
data/uuid4.gemspec
CHANGED
@@ -20,7 +20,5 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'base62-rb', '~> 0.3.0'
|
22
22
|
|
23
|
-
spec.add_development_dependency 'bundler'
|
24
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
23
|
+
spec.add_development_dependency 'bundler'
|
26
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uuid4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base62-rb
|
@@ -28,44 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.12'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.12'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
31
|
+
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '0'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '10.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
38
|
+
- - ">="
|
67
39
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
40
|
+
version: '0'
|
69
41
|
description:
|
70
42
|
email:
|
71
43
|
- jg@altimos.de
|
@@ -109,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '0'
|
111
83
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.6.6
|
84
|
+
rubygems_version: 3.0.3
|
114
85
|
signing_key:
|
115
86
|
specification_version: 4
|
116
87
|
summary: A UUIDv4 support library
|