moat 0.0.6 → 0.0.7
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.
- data/History.txt +6 -0
- data/lib/moat.rb +3 -2
- data/moat-0.0.6.gem +0 -0
- data/moat.gemspec +1 -1
- metadata +3 -3
- data/moat-0.0.5.gem +0 -0
data/History.txt
CHANGED
data/lib/moat.rb
CHANGED
@@ -30,9 +30,10 @@ module Moat
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def generate(length = 9)
|
33
|
-
|
33
|
+
lowercase_letters = ('a'..'z').to_a
|
34
|
+
uppercase_letters = ('A'..'Z').to_a
|
34
35
|
numbers = ('0'..'9').to_a
|
35
|
-
alphanumeric_array =
|
36
|
+
alphanumeric_array = lowercase_letters + uppercase_letters + numbers
|
36
37
|
alphanumeric_array.shuffle[0..length].join
|
37
38
|
end
|
38
39
|
|
data/moat-0.0.6.gem
ADDED
Binary file
|
data/moat.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 7
|
9
|
+
version: 0.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Bryan Woods
|
@@ -31,7 +31,7 @@ files:
|
|
31
31
|
- History.txt
|
32
32
|
- lib/moat.rb
|
33
33
|
- Manifest.txt
|
34
|
-
- moat-0.0.
|
34
|
+
- moat-0.0.6.gem
|
35
35
|
- moat.gemspec
|
36
36
|
- Rakefile
|
37
37
|
- README.txt
|
data/moat-0.0.5.gem
DELETED
Binary file
|