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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c43beb942cd95b6b8dae81d4702c6827b0b1c65e
4
- data.tar.gz: a80b1b0100d524d177b307d9d0f8d16174befb57
3
+ metadata.gz: 4537bfa028218580e77d2d3776c94678c90be432
4
+ data.tar.gz: 085aed266a94a21e8a2a728354af7178e7a22e84
5
5
  SHA512:
6
- metadata.gz: f8d1b7d6ca4b2832ac0d4dbf353b423039ba2bacd4662546fce3e7c9cc3eef87f66e7e5a79ff559353c2d66d6a044401c4b9ecab2766287ebfabf09c732323ea
7
- data.tar.gz: 4700a151625046a04c951b0b6e0f3804e1deede6a7e39d598981ffd85f72d9e7f99e18dbbf15457d7157102b72bed446233c6e4b91be3871c9cd6fd203ce77ce
6
+ metadata.gz: 3366fa5030a8aa6a33f7844bbf18e199b38cc23ce479ae72d6491362496b082a7ff52f2cbb09b3eb915d0fa890d51de66f9d1358f8091c641d61c7791c7d80a5
7
+ data.tar.gz: 177665e7477889fc95d7fed634945e864646f4d5d689a26b4f703649d7f2407e14624a8556f84830dc9c7692ccda73e412472628c2f61b14579888177cf6dd09
data/lib/termit.rb CHANGED
@@ -8,6 +8,7 @@ require 'termit/speech_synthesizer'
8
8
  require 'termit/url_constructor'
9
9
  require 'termit/data_fetcher'
10
10
  require 'termit/text_response_handler'
11
+ require 'termit/version'
11
12
 
12
13
  module Termit
13
14
  end
@@ -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 > 2
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
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "2.0.4"
2
+ VERSION = "2.0.5"
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.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb