hoodoo 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGQ2ZGRmYWM3NTIwOWEwOGIyNjFiOTkyN2I4ZDdhNzY1YWUzZWIyNw==
4
+ Mjc4OGM2NmE0N2Y0Zjg1ZjIzNWIyM2IzMThhYTdjNjZhYzIwNjRmZQ==
5
5
  data.tar.gz: !binary |-
6
- OWUxNzBkMjc2NzM5N2ViZDM5ZWY2ZjNjMDFhZjJiNDVmNzA5NDYxMA==
6
+ MDJjY2M3YzFhOTVkYmQ4NDNhMmM5ODFhMTVkNDU2ZjU1NTliMzE0ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjE2MTQ5YTU0OWFkZWEyN2Y0YTU5ZDJhOWU5MjkwODI3MmViYWFmODg4ZDll
10
- MWI5MjUyNjIzNGFjMWZiYmViYzhhYTcyZGQyZmRhMjk5M2ZjMjQzOWJiNWFl
11
- Mzg4NWZlMDFhZjQ3MjA4ZmQxZWM1YzM5YTY4YTJiNTE4MjFjOGQ=
9
+ OGY0YzZiM2RkOWY2MDlhM2U2OGYzMGZjZGJhYTEyNDk3NGU0YTZhZTRmYTA3
10
+ Nzk3YmJlMzdiNDNkZTM2NDc4ZGI5MDlkOWZlMDgyODU2NDQ2MGQ1MGFmYWZh
11
+ M2Q3ZGRjNGE2YzY0ZmFlY2U3NzkxNTJmZTI4OTNjNzVlNjA2N2U=
12
12
  data.tar.gz: !binary |-
13
- NWFlNzg2Y2E4ODg4ODY3MjYwMTRmMzQzZmYzMWQ0OGJkYzljZDdhZjY0ZmYw
14
- YjUwNjljZjkwMWM5Y2ZjOTgwNmJiNTZkNzg4MGE3OTk4M2ZlOWQxZDEzMWQy
15
- ZDJiYzBjNTAzMDkwOGIzYzI3MjU1OGQxMjk0MDg2OTcwMTdjMWY=
13
+ NTE3NTdhNjAxZTA0NmI3YWQ3OTNmNDgzMTliODVmZTI0NWRmYmE0YTBiZWNm
14
+ MjEyY2FiZTRjYTY4NDQ2ZmIyZDgyYjFiYzcwMTJhNWExNmVlZWQxMDYyYjM5
15
+ ZWU0N2UwZTRkNWYzNmMxNzhkNTEwMThjMzI2Y2ZmMjY2NGE5NWY=
@@ -1,3 +1,5 @@
1
+ require 'securerandom'
2
+
1
3
  module Hoodoo
2
4
 
3
5
  # Class that handles generation and validation of UUIDs. Whenever you
@@ -25,7 +27,7 @@ module Hoodoo
25
27
  # Generate a unique identifier. Returns a 32 character string.
26
28
  #
27
29
  def self.generate
28
- SecureRandom.uuid().gsub!( '-', '' )
30
+ ::SecureRandom.uuid().gsub!( '-', '' )
29
31
  end
30
32
 
31
33
  # Checks if a UUID string is valid. Returns +true+ if so, else +false+.
@@ -12,6 +12,6 @@ module Hoodoo
12
12
  # The Hoodoo gem version. If this changes, ensure that the date in
13
13
  # "hoodoo.gemspec" is correct and run "bundle install" (or "update").
14
14
  #
15
- VERSION = '1.4.0'
15
+ VERSION = '1.4.1'
16
16
 
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoodoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loyalty New Zealand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio