codebreaker-ga 0.2.9 → 0.2.10

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: be1e59f2f709152c69c3a63b15e3ba7418b2305f3c0de91f5f290cb330f1a696
4
- data.tar.gz: 95342c1fac36f34f760109028bb85c13c9cf2ea3e8b8872f3de158aa1634a73a
3
+ metadata.gz: 13189e213447be2e0a4a0eb46d386ee51575840900bf767684512bea3f5551e0
4
+ data.tar.gz: 820fc2d09054e8ad4863a476f5a3ed5bba838bb7a656f4c4f0eae159a453055e
5
5
  SHA512:
6
- metadata.gz: c2367c6e2ffc4fc051a03a4e5707f697b0bd447d2d91028729241de2e20f8f5c6dc041d5e25ad5c5e924bca676e16cb219b3f50a238e80ff57234074bad0e935
7
- data.tar.gz: 493ff78fd80619b4f34726f4ed785f867875ba4319f407f92dbe15bb8a7cd886f891512140060e4a39200db169f031b7ce21a8c2800bc42302aefeae6d234aff
6
+ metadata.gz: a86aa415b688e189667c69f6fe2d687e9c8c67d653ce3a36c344ee77dbb5449003e1dce6a186d33b9a8e17e9bdd825c8143ee6b837b362b5f006e623d2ef279a
7
+ data.tar.gz: 1a596384d74037067bd96a9d887f2cf5fed650b779f8237a51313602c479c4f23850a2e9f3f0bdd9b16ec9776ce71ee37d3934cd752907241f768beb10f449c7
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
  spec/examples.txt
10
10
  spec/examples.txt
11
11
  spec/examples.txt
12
+ pec
13
+ statistic_test.yml
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker-ga (0.2.9)
4
+ codebreaker-ga (0.2.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  module Codebreaker
2
- class GameStage
2
+ class GameStage < BaseClass
3
3
  attr_reader :step_number, :endgame, :attempts, :compare_result, :win
4
4
  attr_accessor :hint_used
5
5
 
@@ -19,7 +19,10 @@ module Codebreaker
19
19
  end
20
20
 
21
21
  def valide_allow_step?
22
- @attempts >= @step_number
22
+ return true if @attempts >= @step_number
23
+
24
+ @errors[:game_stage] = 'allow_step_error'
25
+ false
23
26
  end
24
27
  end
25
28
  end
@@ -1,3 +1,3 @@
1
1
  module Codebreaker
2
- VERSION = '0.2.9'.freeze
2
+ VERSION = '0.2.10'.freeze
3
3
  end
data/statistic_test.yml CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker-ga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - GorohovAlex
@@ -139,7 +139,6 @@ files:
139
139
  - lib/codebreaker/validator.rb
140
140
  - lib/codebreaker/version.rb
141
141
  - lib/codebreaker/yaml_file.rb
142
- - pec
143
142
  - statistic_test.yml
144
143
  homepage: https://github.com/GorohovAlex/codebreaker_gem
145
144
  licenses: []
data/pec DELETED
@@ -1,211 +0,0 @@
1
- commit 868b6b555febde795fdbcd603849bcccb9ee72f7 (HEAD -> div)
2
- Author: GorohovAlex <gorochov.as@gmail.com>
3
- Date: Tue Dec 17 14:38:12 2019 +0200
4
-
5
- delete config.rb
6
-
7
- commit 97ab18e0dedca0ee07cf682475a3054828f12906
8
- Author: GorohovAlex <gorochov.as@gmail.com>
9
- Date: Tue Dec 17 14:37:41 2019 +0200
10
-
11
- add module to BaseClass
12
-
13
- commit d182d8050db60968f6b8c06718ea6969ffb27457 (origin/div)
14
- Author: GorohovAlex <gorochov.as@gmail.com>
15
- Date: Tue Dec 17 14:17:52 2019 +0200
16
-
17
- delete %s from it
18
-
19
- commit d12f6b9e74bf0c254c1c4b9870e2d4202b1a73d9
20
- Author: GorohovAlex <gorochov.as@gmail.com>
21
- Date: Tue Dec 17 14:11:05 2019 +0200
22
-
23
- change name it
24
-
25
- commit dd1c0e70fb182f2f7be4c09413692575c2d521a1
26
- Author: GorohovAlex <gorochov.as@gmail.com>
27
- Date: Tue Dec 17 13:48:42 2019 +0200
28
-
29
- fix pry position
30
-
31
- commit 98b5bf22c4fa8a7c380551edb5ca3ad2d6794732
32
- Author: GorohovAlex <gorochov.as@gmail.com>
33
- Date: Tue Dec 17 13:46:38 2019 +0200
34
-
35
- six bug compare_result
36
-
37
- commit df7cd546de9940ac1b3400eef0c7198fd0b3920e
38
- Author: GorohovAlex <gorochov.as@gmail.com>
39
- Date: Tue Dec 17 12:48:29 2019 +0200
40
-
41
- merge user_code, game_step and compare_result
42
-
43
- commit 9e26b8d6faf424e34e18b711b6d2ed1573ddb9d5
44
- Author: GorohovAlex <gorochov.as@gmail.com>
45
- Date: Mon Dec 16 16:16:46 2019 +0200
46
-
47
- change spec 'when compare code'
48
-
49
- commit d00e2100936f20aeaa459b396babc2d54a6cf00c
50
- Author: GorohovAlex <gorochov.as@gmail.com>
51
- Date: Mon Dec 16 15:52:06 2019 +0200
52
-
53
- change bugs
54
-
55
- commit 4cf1c4f9ce3c8b8c8d8a84374eb43d15b8a77256
56
- Author: GorohovAlex <gorochov.as@gmail.com>
57
- Date: Fri Dec 13 14:42:57 2019 +0200
58
-
59
- change spec
60
-
61
- commit ea4ec9a93b76834b73515ee46d0a3d8a5403f88d
62
- Author: GorohovAlex <gorochov.as@gmail.com>
63
- Date: Fri Dec 13 14:41:22 2019 +0200
64
-
65
- change spec
66
-
67
- commit 086c1c68ec82e4b8df3ed3dc4ee5c78ff6d64ae2
68
- Author: GorohovAlex <gorochov.as@gmail.com>
69
- Date: Fri Dec 13 14:40:00 2019 +0200
70
-
71
- change spec
72
-
73
- commit 9f23a1741bbc25fbc598f33a4e0389cbf0aa0cdd
74
- Author: GorohovAlex <gorochov.as@gmail.com>
75
- Date: Fri Dec 13 14:37:59 2019 +0200
76
-
77
- change spec
78
-
79
- commit 6cb94bff3709022da1c022d6874bd3239e36912b
80
- Author: GorohovAlex <gorochov.as@gmail.com>
81
- Date: Fri Dec 13 14:35:33 2019 +0200
82
-
83
- change spec
84
-
85
- commit 6e4b388895a3a944cac34e2ff72c61145da93a76
86
- Author: GorohovAlex <gorochov.as@gmail.com>
87
- Date: Fri Dec 13 14:29:48 2019 +0200
88
-
89
- fix rubocop-spec errors
90
-
91
- commit 841f30a5a0250a35e3be61e7e56a2c90448bead4
92
- Author: GorohovAlex <gorochov.as@gmail.com>
93
- Date: Fri Dec 13 12:25:35 2019 +0200
94
-
95
- change coverage value
96
-
97
- commit 21ae5625d8cc64d0ab7967a97f3e71090fe13368
98
- Author: GorohovAlex <gorochov.as@gmail.com>
99
- Date: Fri Dec 13 12:24:09 2019 +0200
100
-
101
- fix tests
102
-
103
- commit a2dab1a35dc088bc30666ee8d76b00ca0bfbf1b5
104
- Author: GorohovAlex <gorochov.as@gmail.com>
105
- Date: Thu Dec 12 17:37:53 2019 +0200
106
-
107
- add tests
108
-
109
- commit 8a6dc7467c690cdda523191f2e9ab3dc2f584d93
110
- Author: GorohovAlex <gorochov.as@gmail.com>
111
- Date: Wed Dec 11 12:11:53 2019 +0200
112
-
113
- change config
114
-
115
- commit 42d4be4d9ed74e8233b51167ab022826b2f173d4
116
- Author: GorohovAlex <gorochov.as@gmail.com>
117
- Date: Wed Dec 11 12:10:41 2019 +0200
118
-
119
- change config
120
-
121
- commit b5f46afc950d962c95b02dc6f35f821dfc7d6d57
122
- Author: GorohovAlex <gorochov.as@gmail.com>
123
- Date: Wed Dec 11 12:07:46 2019 +0200
124
-
125
- change config
126
-
127
- commit 7f3b332eb842928ea138da7360b725c87569d752
128
- Author: GorohovAlex <gorochov.as@gmail.com>
129
- Date: Wed Dec 11 12:05:33 2019 +0200
130
-
131
- change config
132
-
133
- commit b44d3fd380acd908da5f59a0a74398951973d15a
134
- Author: GorohovAlex <gorochov.as@gmail.com>
135
- Date: Wed Dec 11 12:02:58 2019 +0200
136
-
137
- change config
138
-
139
- commit 27a7a66fd25617e770374601f3bfffe5e91e6f4e
140
- Author: GorohovAlex <gorochov.as@gmail.com>
141
- Date: Wed Dec 11 11:55:15 2019 +0200
142
-
143
- add circleCI
144
-
145
- commit 85006d6ac2240e5b2453b59bc29a461a364666a1
146
- Merge: ffb7765 da5eff2
147
- Author: GorohovAlex <gorochov.as@gmail.com>
148
- Date: Tue Dec 10 20:27:10 2019 +0200
149
-
150
- Merge branch 'div' of https://github.com/GorohovAlex/codebreaker_gem into div
151
-
152
- commit ffb77656c86bb34f26918607a450dcc55e488bff
153
- Author: GorohovAlex <gorochov.as@gmail.com>
154
- Date: Tue Dec 10 20:25:28 2019 +0200
155
-
156
- fix difficulty_
157
-
158
- commit ec4194e6466a45d137a1f3e255bb0867ec0f93d1
159
- Author: GorohovAlex <gorochov.as@gmail.com>
160
- Date: Tue Dec 10 14:57:55 2019 +0200
161
-
162
- add config
163
-
164
- commit 2e50084492c89413d32d9f1f842ae00289608cac
165
- Author: GorohovAlex <gorochov.as@gmail.com>
166
- Date: Tue Dec 10 13:45:26 2019 +0200
167
-
168
- add enities
169
-
170
- commit da5eff25ce36ef8d394e21bf68197507ff3c6e0f
171
- Merge: c4d148d e62281b
172
- Author: GorohovAlex <34690739+GorohovAlex@users.noreply.github.com>
173
- Date: Mon Dec 9 16:13:04 2019 +0200
174
-
175
- Merge branch 'master' into div
176
-
177
- commit c4d148d195c61146e532a6edbbc8b5d67c17c241
178
- Author: GorohovAlex <gorochov.as@gmail.com>
179
- Date: Mon Dec 9 16:10:43 2019 +0200
180
-
181
- fix bug reject
182
-
183
- commit dfad87e0d25225c36759a59c96b43deb665e7493
184
- Author: GorohovAlex <gorochov.as@gmail.com>
185
- Date: Mon Dec 9 16:09:37 2019 +0200
186
-
187
- fix bugs
188
-
189
- commit bf25c78dafd7c61cbfde2a2f7da9c0e9e7128d14
190
- Author: GorohovAlex <gorochov.as@gmail.com>
191
- Date: Mon Dec 9 15:30:27 2019 +0200
192
-
193
- cover tests
194
-
195
- commit 77bb8f09ca29db929cbdca7f45c30238cfb5f554
196
- Author: GorohovAlex <gorochov.as@gmail.com>
197
- Date: Sat Dec 7 21:33:31 2019 +0200
198
-
199
- create gem
200
-
201
- commit e62281b90a678f080cb9802cb7f98be7b97537ec (origin/master, origin/HEAD, master)
202
- Author: Smile <gorochov.as@gmail.com>
203
- Date: Thu Nov 21 17:52:30 2019 +0200
204
-
205
- some change
206
-
207
- commit e66347fe5da7e55ca34de5597d0ce15597333df8
208
- Author: GorohovAlex <34690739+GorohovAlex@users.noreply.github.com>
209
- Date: Thu Nov 21 14:13:07 2019 +0200
210
-
211
- Initial commit