uuid4 1.3.1 → 1.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11efe2727ba7b8d375004ac8aafcda55dda031ee
4
- data.tar.gz: 9bbf974ea4e6233ef8325c8eb50cd563b2010691
3
+ metadata.gz: 2838b2df67b09083a960a562e13dc708e63e75b3
4
+ data.tar.gz: 28c816a1b22e1435c0e2ae2b40db018ff8856a6f
5
5
  SHA512:
6
- metadata.gz: e9bd8fe35a32c411ba5a6fcfa2eafdd714d406136adf6972455aa2017ed185591f7b02af289bc2526bbf4febd91c183c222588e313b0cad49e19603e444d8092
7
- data.tar.gz: 64fcf0bf6bb042a8d1986baa2b36d679cb730c4dc81b22dc0cd2393f41f849f22bc2924ed802a467b177be947f45795ef8f0e9c28fff8a3d784cecaad482e0fa
6
+ metadata.gz: 6e2d1628b517640f89bff915afcea1dce3439f12b0bea06bbf9a38dcaa3a9720e39039bd828e7c39a92706510a29c33a4f69271f0ab6a351144c05a8610897b4
7
+ data.tar.gz: 56b01974ab4875542cce9f17f735c5b82e598d8f1af37f058bed8db172214fee657c2b272b2c37a4cb164f034047e2b6e9a1fd14aac03170f08d01ca5b7e3147
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.2
4
+
5
+ * Fix issue when parsing UUIDs (5e47b00)
6
+
3
7
  ## 1.3.1
4
8
 
5
9
  * Fix incompatibility with Rubies <2.2 introduced in #1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # UUID4
2
2
 
3
- [![Build Status](https://travis-ci.org/jgraichen/uuid4.svg?branch=master)](https://travis-ci.org/jgraichen/uuid4)
3
+ [![Build Status](https://travis-ci.org/jgraichen/uuid4.svg?branch=master)](https://travis-ci.org/jgraichen/uuid4) [![Dependency Status](https://gemnasium.com/badges/github.com/jgraichen/uuid4.svg)](https://gemnasium.com/github.com/jgraichen/uuid4) [![Gem](https://img.shields.io/gem/v/uuid4.svg)](https://rubygems.org/gems/uuid4) [![license](https://img.shields.io/github/license/jgraichen/uuid4.svg)](https://github.com/jgraichen/uuid4/blob/master/LICENSE.txt)
4
4
 
5
5
  A UUID support library specialized on v4 UUIDs, parsing and formatting existing UUIDs. It can encode and decode dashed UUIDs, compact UUIDs, large integers, UUID URNs and Base62 coded UUIDs.
6
6
 
@@ -3,7 +3,7 @@ require 'base62-rb'
3
3
  class UUID4
4
4
  module Formatter
5
5
  class Base62
6
- REGEXP = /^[0-9A-z]{14,22}$/i
6
+ REGEXP = /^[0-9A-Za-z]{14,22}$/
7
7
 
8
8
  def encode(uuid)
9
9
  ::Base62.encode(uuid.to_i)
@@ -2,7 +2,7 @@ class UUID4
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- PATCH = 1
5
+ PATCH = 2
6
6
  STAGE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.')
8
8
 
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.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-28 00:00:00.000000000 Z
11
+ date: 2016-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base62-rb