termit 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a54b86ffacdcde3be3182e414217ef50d1ad745f
4
- data.tar.gz: 5b7954bbadfaecac7b49978ce88a3a7c849d9a88
3
+ metadata.gz: c43beb942cd95b6b8dae81d4702c6827b0b1c65e
4
+ data.tar.gz: a80b1b0100d524d177b307d9d0f8d16174befb57
5
5
  SHA512:
6
- metadata.gz: 4a199c53051381122c8630973f5655ffbbb99ec57589f63a1eb5cc6e6206e905868bae439ca9c62b8790742b8e4fa880701fcc4d940e97b2aec0381558fded60
7
- data.tar.gz: ca598cbb4eb177f783e6b7f09da4b15792505f2e176fed63a1da4b6f0ee5a834064e65fd2dec2a4fb8b8a7d85b580c71f2c34b115d3d544431d948dc2cce7cd3
6
+ metadata.gz: f8d1b7d6ca4b2832ac0d4dbf353b423039ba2bacd4662546fce3e7c9cc3eef87f66e7e5a79ff559353c2d66d6a044401c4b9ecab2766287ebfabf09c732323ea
7
+ data.tar.gz: 4700a151625046a04c951b0b6e0f3804e1deede6a7e39d598981ffd85f72d9e7f99e18dbbf15457d7157102b72bed446233c6e4b91be3871c9cd6fd203ce77ce
@@ -37,6 +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 > 2
40
41
  [0, 1].each do |index|
41
42
  raise ArgumentError unless [2, 4].include?(@user_input[index].length)
42
43
  end
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb