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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67c4b698f95a481e2bae4c38ef178f391fa69038
4
- data.tar.gz: 6e92708f054f9b881f27179b1f47c1b8194dcd6f
3
+ metadata.gz: 03da012e4736546f272bfc815d2c0ab42f5834dd
4
+ data.tar.gz: eb1f139218f730cb41f6b2bce15d13c2655e0c47
5
5
  SHA512:
6
- metadata.gz: 4b7ad8090e88c90eeab3d4b93c1869d6aff4dd504380a77b2737559d00fc2b5d8029463ad296fc5ff3661a70f3a9e80482edf3e8166c51370912546ab9ba5e64
7
- data.tar.gz: 49db82ba69f466d477863bbb9456f16ceb0f53ae2a6494eed456b79ea629eacc0821fd384c36c5c45df38e2e0a6443ee8b9a0e7685a306908f5556848a09fd38
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, 4].include? language_code.length
41
+ raise ArgumentError unless [2,3,4,5].include? language_code.length
42
42
  end
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "2.12.1"
2
+ VERSION = "2.13.0"
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.12.1
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb