uuid64 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uuid64.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8a193dccd6a583358beebd2eeb1dddf6b42fdc7
4
- data.tar.gz: cb012be84c24e81c1c2adad9f83d06935f001cf3
3
+ metadata.gz: f7a3fb119f9ab900519a95e4291e6d352777a88e
4
+ data.tar.gz: 4edec027ad47e2e6a753d14cf03f03878247eac7
5
5
  SHA512:
6
- metadata.gz: ffa8591be03743b35d2ac0f8c7342cb57ad1907fe09fe9f62aa7c9e9669e753366cf9f8d005833131ed2f44b9b8e09d5aa924723630401f4a8b383df67c2405c
7
- data.tar.gz: dd68c40a7ccd1880f29c69b34486f7beced9bc6ae283f6c9513280d8957ab2effeb33f77041ef102c243b71b301786eae07c182f02ba684e18a12351348d7096
6
+ metadata.gz: 10f5bf4ee327336ab0c2704a63dcf2b4353a5eadbb07440f40165d1e44592804c0f32718617ab78157fe13b8e27c8e9c7ecc5710a64042a273b7d358ff66762d
7
+ data.tar.gz: 137c97f76221228775e9349259b65a6dea05486f1e8250030a21db461bfd3f34ae01d71dcbe7a7d098c7cf77a02774ee9025498cf38f7dffc415793494cccbcf
data/lib/uuid64.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'securerandom'
2
2
  module SecureRandom
3
3
  def SecureRandom.uuid64
4
- [[SecureRandom.uuid.gsub(/-/, '')].pack('H*')].pack('m').gsub(/==/,'')
4
+ [[SecureRandom.uuid.gsub(/-/, '')].pack('H*')].pack('m').gsub(/==/,'').gsub(/\n/,'')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuid64
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HeckPsi Lab
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Generate a 64-bit encoded uuid in Ruby with length of 23.
13
+ description: Generate a 64-bit encoded uuid in Ruby with length of 22.
14
14
  email: business@heckpsi.com
15
15
  executables: []
16
16
  extensions: []
@@ -40,6 +40,6 @@ rubyforge_project:
40
40
  rubygems_version: 2.6.1
41
41
  signing_key:
42
42
  specification_version: 4
43
- summary: Generate a 64-bit encoded uuid in Ruby with length of 23.
43
+ summary: Generate a 64-bit encoded uuid in Ruby with length of 22.
44
44
  test_files: []
45
45
  has_rdoc: