termit 2.12.1 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: 03da012e4736546f272bfc815d2c0ab42f5834dd
|
4
|
+
data.tar.gz: eb1f139218f730cb41f6b2bce15d13c2655e0c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5da92ba28b64fa0357609da5d096d83f19a6cd8836b6733bf236c48cdadfd83c3c97d33aec032b492e9fab5733f669a0ab121b374fa9d859c0cd85d7ee1d0959
|
7
|
+
data.tar.gz: ec56a89a3e9f032f0cd09ff71a106d81f1906c82d0ffc1d290dc0e8056053d050fceb2ea2994535c23912c9fcbad8ae8b96f2af40231aae9c79549be407b76ba
|
@@ -38,7 +38,7 @@ module Termit
|
|
38
38
|
raise ArgumentError unless @user_input.is_a? Array
|
39
39
|
raise ArgumentError unless @user_input.length > 1
|
40
40
|
@user_input.first(2).each do |language_code|
|
41
|
-
raise ArgumentError unless [2,
|
41
|
+
raise ArgumentError unless [2,3,4,5].include? language_code.length
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
data/lib/termit/version.rb
CHANGED