uuid4 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +9 -2
- data/CHANGELOG.md +5 -1
- data/Gemfile +2 -0
- data/lib/uuid4.rb +1 -1
- data/lib/uuid4/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11efe2727ba7b8d375004ac8aafcda55dda031ee
|
4
|
+
data.tar.gz: 9bbf974ea4e6233ef8325c8eb50cd563b2010691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9bd8fe35a32c411ba5a6fcfa2eafdd714d406136adf6972455aa2017ed185591f7b02af289bc2526bbf4febd91c183c222588e313b0cad49e19603e444d8092
|
7
|
+
data.tar.gz: 64fcf0bf6bb042a8d1986baa2b36d679cb730c4dc81b22dc0cd2393f41f849f22bc2924ed802a467b177be947f45795ef8f0e9c28fff8a3d784cecaad482e0fa
|
data/.travis.yml
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
|
5
|
-
|
4
|
+
- 2.3.1
|
5
|
+
- 2.2.5
|
6
|
+
- 2.1.10
|
7
|
+
- jruby-9.1.2.0
|
8
|
+
before_install:
|
9
|
+
- gem update --system
|
10
|
+
- gem install bundler --pre
|
11
|
+
- bundler --version
|
12
|
+
- bundle --version
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.3.1
|
4
|
+
|
5
|
+
* Fix incompatibility with Rubies <2.2 introduced in #1
|
6
|
+
|
3
7
|
## 1.3.0
|
4
8
|
|
5
9
|
* Add `UUID#hash` and `UUID#eql?` for using UUIDs e.g. as hash keys
|
6
|
-
* Add `UUID.try_convert` returning a UUID or `nil
|
10
|
+
* Add `UUID.try_convert` returning a UUID or `nil`
|
7
11
|
* Add `UUID.valid?` to validate objects as UUIDs (#1)
|
8
12
|
|
9
13
|
## 1.2.1
|
data/Gemfile
CHANGED
data/lib/uuid4.rb
CHANGED
@@ -125,7 +125,7 @@ class UUID4
|
|
125
125
|
# Return the result of the first formatter that can decode this value
|
126
126
|
FORMATTERS.lazy.map { |formatter|
|
127
127
|
formatter.decode(value) if formatter.respond_to?(:decode)
|
128
|
-
}.find
|
128
|
+
}.find {|value| !value.nil? }
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
data/lib/uuid4/version.rb
CHANGED