codebreaker_ruban 0.3.4 → 0.3.5
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/app/entities/console.rb +4 -4
- data/lib/app/entities/game.rb +1 -0
- data/lib/codebreaker_ruban/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4adf81bdc2e10a038ad9e793ceaa52e8e2730bb1a2d56fa7b0473ffa38ba8922
|
|
4
|
+
data.tar.gz: f1728db981dc4da5b0f4e277c08ffd020310205f8f3713d5c19acfb7cc392c2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e409eabe510eb759c905dcfd29618eda1b0294b99287a544440197af055b9f751208071e665c293a080d594af5d914af43aae58f9aa6ae8e880cb6ed4e2d34a5
|
|
7
|
+
data.tar.gz: 27d89a076b893589d38f480fe42e284a19acb739f15e415b7aaf5f8ea729fedfc0dcbc5b26060874dfb69a4a09f8a9e7c8b3b190a3f875fde3c7dc3ca2ffc43f
|
data/Gemfile.lock
CHANGED
data/lib/app/entities/console.rb
CHANGED
|
@@ -58,10 +58,10 @@ module CodebreakerRuban
|
|
|
58
58
|
Message.choice_difficulty(EASY_STRING, MEDIUM_STRING, HELL_STRING)
|
|
59
59
|
process_user_input do |input|
|
|
60
60
|
@difficulty = case input
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
when EASY_STRING then Game::DIFFICULTY[:easy]
|
|
62
|
+
when MEDIUM_STRING then Game::DIFFICULTY[:medium]
|
|
63
|
+
when HELL_STRING then Game::DIFFICULTY[:hell]
|
|
64
|
+
end
|
|
65
65
|
return Message.error_difficulty unless @difficulty
|
|
66
66
|
|
|
67
67
|
set_state(:start_game)
|
data/lib/app/entities/game.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: codebreaker_ruban
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- IRuban
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|