andrii_codebreaker 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/andrii_codebreaker-0.1.5.gem +0 -0
- data/lib/andrii_codebreaker/game.rb +2 -2
- data/lib/andrii_codebreaker/user.rb +1 -1
- data/lib/andrii_codebreaker/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 850117beac1f8b9441630a8a0f97ef5a6c374e671dce56bedc85d9f43b74d828
|
4
|
+
data.tar.gz: c52fce0dcceb07cb99bb0ce693b7e38469b380e4310c990e9783cf53acb4fbb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614863a6b0e5d83c2e3752d5244146fc8aaebf1452dcdb367172da66bb8c6c9c6a838fc347e4af237d57792b76676b30dc55224acf1d7cc963cc0a746aa5e00a
|
7
|
+
data.tar.gz: 32267d352720c6009cd3b4bff6f3c130e1dae175f6b90b423c1b4ff8ac42459f9b252b0934d55c2fc0e4a22118d2c89f72637083c8ee4a9def75b16ae6331dc0
|
data/Gemfile.lock
CHANGED
Binary file
|
@@ -7,7 +7,7 @@ module AndriiCodebreaker
|
|
7
7
|
include Constant
|
8
8
|
|
9
9
|
attr_reader :player_name, :difficulty, :attempts_total, :hints_total, :secret_code
|
10
|
-
attr_accessor :hints_left, :attempts_left, :
|
10
|
+
attr_accessor :hints_left, :attempts_left, :secret_code_copy
|
11
11
|
|
12
12
|
CONST_COMMAND = {
|
13
13
|
start: 'start',
|
@@ -29,7 +29,7 @@ module AndriiCodebreaker
|
|
29
29
|
@hints_total = difficult[:hints]
|
30
30
|
@attempts_total = difficult[:attempts]
|
31
31
|
@secret_code = generate_code
|
32
|
-
@
|
32
|
+
@secret_code_copy = @secret_code.dup.chars
|
33
33
|
end
|
34
34
|
|
35
35
|
def show_hints
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: andrii_codebreaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- LICENSE.txt
|
128
128
|
- README.md
|
129
129
|
- Rakefile
|
130
|
+
- andrii_codebreaker-0.1.5.gem
|
130
131
|
- andrii_codebreaker.gemspec
|
131
132
|
- bin/console
|
132
133
|
- bin/setup
|