matrext 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/matrext/core.rb +2 -2
- data/lib/matrext/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b140527c163a70fb6788a697c621c1ab9743f51
|
4
|
+
data.tar.gz: 4a785c70818a7475ff215e3338cbf4ed837646a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 175c8c31b98da4b2a6b63c5c201210adb2bfc28f70b455be9da3a385b79ce9d0fb8084b36042911f4c19fe3965c10aca13a91043a79ec3190e68f092033db751
|
7
|
+
data.tar.gz: db11252c750b6e47b0a37098065d0e44d61912ce9fe8440c283e9881983273ece755f43a13a8cea243b64f2127bb16f01bc41557034feb80644393e5280ee793
|
data/lib/matrext/core.rb
CHANGED
@@ -77,8 +77,8 @@ module Matrext
|
|
77
77
|
chars = []
|
78
78
|
|
79
79
|
chars = chars | alpha_chars if options[:alpha]
|
80
|
-
chars = chars | numeric_chars if options
|
81
|
-
chars = chars | random_chars if options
|
80
|
+
chars = chars | numeric_chars if options[:numeric]
|
81
|
+
chars = chars | random_chars if options[:random]
|
82
82
|
|
83
83
|
return chars
|
84
84
|
end
|
data/lib/matrext/version.rb
CHANGED