codewars 0.3.0 → 0.3.1

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: 2cd0746ec8b08a3b1b025438cb6e18a8889b03f8
4
- data.tar.gz: 8ece0ca9d47fbd804bfa38f72a7a44fff36b7e9c
3
+ metadata.gz: 132d82763732568fec5ffa7406f9c8fab46f8b7c
4
+ data.tar.gz: 7c41a6f349202b973ab18f38be66fa4772452987
5
5
  SHA512:
6
- metadata.gz: 4df508ffa205cdb6bc6b47b9002458df09d61fd2351c62260e330d0c971d97c3f0a2943c47cc527bcf9338c59eb5dfc83cf63facaacfb0febf0eafa5c8890ec9
7
- data.tar.gz: 13e16751a845fbca0d8dcbfa03778ee6892b91e6c365b9cd0ce6dc157663b29a4e9ff3a33548cc529ac9282d9a809d9cf1dc3c8e0b7aedee91626f105b56f2fc
6
+ metadata.gz: f44b6230c78afcc4f3212a7f0d97bc7a54a096814e890eef8646978ae840f52fbfc0f2d422d3fb12a26256f882c65174d759d72835507c65395a7d36b78cba01
7
+ data.tar.gz: 0ccd6feaf5724e1dc2413fe71439ea6e3638c3d9603bdea1512af44baa2d73450e4ef7df791112bd3fae9bff3f76c286335ef3b85fa4fc09e38c0840a2c75b06
@@ -5,7 +5,7 @@ module Codewars
5
5
  raise Thor::Error, 'You should set an default language to use this command' unless language
6
6
 
7
7
  kata = client.train_next_kata(
8
- language: language.split(',').first,
8
+ language: language,
9
9
  peek: 'true',
10
10
  strategy: 'default'
11
11
  )
@@ -7,7 +7,6 @@ module Codewars
7
7
  language = Configuration.option('language')
8
8
  raise Thor::Error, 'You should set an default language to use this command' unless language
9
9
 
10
- language = language.split(',').sample # pick a random language
11
10
  say "Starting the '#{id_or_slug}' kata."
12
11
 
13
12
  kata = client.train_specific_kata(language: language, id_or_slug: id_or_slug)
@@ -1,3 +1,3 @@
1
1
  module Codewars
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codewars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Morozov