QSID 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/QSID.rb +8 -5
  2. metadata +2 -2
data/lib/QSID.rb CHANGED
@@ -1,4 +1,12 @@
1
1
  class QSID
2
+
3
+ ## This is what is called to create a new ID
4
+ def self.newID
5
+ self.id = self._makeID
6
+ return self.id
7
+ end
8
+
9
+ private
2
10
  # Timestamp
3
11
  def self.timestamp
4
12
  @timestamp
@@ -63,11 +71,6 @@ class QSID
63
71
  end
64
72
 
65
73
 
66
-
67
- def self.newID
68
- self.id = self._makeID
69
- return self.id
70
- end
71
74
  def self._makeID
72
75
  time = Time.now
73
76
  id = ''
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Skylar Schipper