uuid4 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67c1d40498cf9ad1eb42e51596108fadfe39f1cc10d6f3906b477bdea073430b
4
- data.tar.gz: ec5ecb622d19833be4b4f493a7cf717faa4f93cab583992c57cabdaccc5d4cbe
3
+ metadata.gz: cd72b459e5ec7d4886de25f62bfe4804d10cc9b89a3353aabaa9fc866b88b5b1
4
+ data.tar.gz: 2e0b69300a1c2b1ce8aab2591565e71a9fa691ee294cdfbfb03733125ab5dce2
5
5
  SHA512:
6
- metadata.gz: '0946bdd018d6f36636f3a6930118423a02f54f028f98d61f47eadcd80171f87ee217045a16b842403177890117ee1adb6d83ccf593c083f7abfeafb765be06da'
7
- data.tar.gz: 66f5b241a77682810421be6e70fa280d4fa2b564d5d201da387a4c895d156e57e4578e346a7a8a0cbb7bc7c4065e08582ec417f5fa3619984e511cbf31184708
6
+ metadata.gz: 4732a30f2fbca3e9732122cff2fc71484459c1f877534e69dc558251e3e4d667e555e7f5b52b2a40cd69497cd88df8343cdc7016083bb96cbfa4dbb305570693
7
+ data.tar.gz: 26610d164e801f0c15abcbf18a5dc4a18ce331e493ad8a09462306c4ed605fe4f75db578174b2731ff76f7277d99765f2718c1263bcb5a524d8d8044102952af
@@ -1,4 +1,27 @@
1
- # Changelog
1
+ # CHANGELOG
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Changelog](http://keepachangelog.com/).
5
+
6
+
7
+ ## Unreleased
8
+ ---
9
+
10
+ ### New
11
+
12
+ ### Changes
13
+
14
+ ### Fixes
15
+
16
+ ### Breaks
17
+
18
+
19
+ ## 1.3.4 - (2020-07-28)
20
+ ---
21
+
22
+ ### Fixes
23
+ * Consider newlines when checking base62 format (#5)
24
+
2
25
 
3
26
  ## 1.3.3
4
27
 
@@ -36,4 +59,4 @@
36
59
 
37
60
  ## 1.0.0
38
61
 
39
- * Initial release.
62
+ * Initial release.
data/Gemfile CHANGED
@@ -4,5 +4,6 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'activesupport'
7
+ gem 'rake-release', '~> 1.2'
7
8
  gem 'rake'
8
- gem 'rspec', '~> 3.0'
9
+ gem 'rspec', '~> 3.0'
data/Rakefile CHANGED
@@ -1,6 +1,10 @@
1
- require "bundler/gem_tasks"
1
+ require "rake/release/task"
2
2
  require "rspec/core/rake_task"
3
3
 
4
+ task :default => :spec
5
+
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
- task :default => :spec
8
+ Rake::Release::Task.new do |spec|
9
+ spec.sign_tag = true
10
+ end
@@ -3,7 +3,7 @@ require 'base62-rb'
3
3
  class UUID4
4
4
  module Formatter
5
5
  class Base62
6
- REGEXP = /^[0-9A-Za-z]{14,22}$/
6
+ REGEXP = /\A[0-9A-Za-z]{14,22}\z/
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 = 3
5
+ PATCH = 4
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.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-17 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base62-rb
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.0.3
84
+ rubygems_version: 3.1.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: A UUIDv4 support library