termit 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/termit.rb +1 -0
- data/lib/termit/user_input_parser.rb +1 -1
- data/lib/termit/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: 4537bfa028218580e77d2d3776c94678c90be432
|
4
|
+
data.tar.gz: 085aed266a94a21e8a2a728354af7178e7a22e84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3366fa5030a8aa6a33f7844bbf18e199b38cc23ce479ae72d6491362496b082a7ff52f2cbb09b3eb915d0fa890d51de66f9d1358f8091c641d61c7791c7d80a5
|
7
|
+
data.tar.gz: 177665e7477889fc95d7fed634945e864646f4d5d689a26b4f703649d7f2407e14624a8556f84830dc9c7692ccda73e412472628c2f61b14579888177cf6dd09
|
data/lib/termit.rb
CHANGED
@@ -37,7 +37,7 @@ module Termit
|
|
37
37
|
|
38
38
|
def validate_user_input
|
39
39
|
raise ArgumentError unless @user_input.is_a? Array
|
40
|
-
raise ArgumentError unless @user_input.length >
|
40
|
+
raise ArgumentError unless @user_input.length > 1
|
41
41
|
[0, 1].each do |index|
|
42
42
|
raise ArgumentError unless [2, 4].include?(@user_input[index].length)
|
43
43
|
end
|
data/lib/termit/version.rb
CHANGED