codebreaker_kirill 1.3.1 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a03a907c9b2e62374b5b2dc875cd3ffe3932ecf08f6ba8d42d638ad3ba95dd6c
4
- data.tar.gz: a06fc23a1f15807000df1fc4200ad91875639d4bd8c126b34ebab4dbe0c060cf
3
+ metadata.gz: 0d381ca0ecc5440b2063aa692e02192368f741f27b44fd678c5eb0729eb935df
4
+ data.tar.gz: 3c36ca48dc8046969f0139aa0f238d40e38f77f73195239ada18823316c41d2b
5
5
  SHA512:
6
- metadata.gz: a5f9f30855b9376c97645b0313b57be92ab8bf49b5c4514c8052173a4f7956811516b4bd940f2d6e55a4c93677fdc7db4fe5d2fab3665280296d66d25d205181
7
- data.tar.gz: e45e126160305a4e25c4227b2637439854fabb40a09db1295eb25672e010fc1c4ad6914254304e82986be9d3d8f5515bffa931394a0f6f8aeef5508dfdc7bbcc
6
+ metadata.gz: 56a8099ed5080f44437ab21d10522f77deb91a3f9c3d6b085565b8214ffb027b7e0f859843621f02811daba693a10df97b739656ad71c1adc7be25fe630e2aa6
7
+ data.tar.gz: a5e9aa99ceb5cba104b179023f5b4907efb950c8887ee17a3b99f9ecb3f75728b24a9203adf6922cc271964d6cae23bc2fdd2b3c670ce2a3ad890313c068ec09
@@ -15,8 +15,8 @@ module CodebreakerKirill
15
15
 
16
16
  def self.validate_guess(guess)
17
17
  raise "Guess shouldn't be empty" if guess.empty?
18
- raise "Guess should be 4 characters. Got #{guess}" if guess.length < Settings::GUESS_LENGTH
19
- raise 'Guess shouldn\'t be more than 4 characters long' if guess.length > Settings::GUESS_LENGTH
18
+ raise 'Guess should be 4 characters' if guess.length < Settings::GUESS_LENGTH
19
+ raise 'Guess shouldnt be more than 4 characters long' if guess.length > Settings::GUESS_LENGTH
20
20
  end
21
21
 
22
22
  def self.validate_difficulty(difficulty)
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'game'
4
-
5
3
  module CodebreakerKirill
6
- VERSION = '1.3.1'
4
+ VERSION = '1.3.4'
7
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_kirill
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Dudchenko