alex_codebreaker 0.1.11 → 0.1.12

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
  SHA256:
3
- metadata.gz: a432d6f410802e9cea031e229e91c263a6ea96aa8727ee0e07d9030002db02e8
4
- data.tar.gz: 8240100de2062d96c46596b944781125e5f41e0cd0541efdcbe98881f12c0db9
3
+ metadata.gz: fee977f0016bb5f1331a26061deee8d4b3fa92ac505d37a4cd37f88bc4d7f1bf
4
+ data.tar.gz: 76f042f3ad1d24cd11c6f8c6d0dbf86b3263927af47206b6880885d34c0cd8fd
5
5
  SHA512:
6
- metadata.gz: 60490a305bf3b3cc44e2d69a872a08ff3b329b1d00743572b51d421ed3044e48d04c3fac2b5f83d51999e823d00a7d8c63f1466585fcb29dfad65fbb1ef8b8d5
7
- data.tar.gz: 1eaeef0b3ceafe7ddb017b804fbc7632b854f8cc83102e963b7ff862dbe784d1feabec80ec850cad88005e3ac5a26b4b66677079348a78a4d823e9a298223282
6
+ metadata.gz: 2e4b08ab3a7386c94ec7a6e7ca17f25137ad0228d45f5a067da6bbe58b9016f6ef57831a02d605f60e025a4d8c5cebdac6c6175e79ca70d8a0fd0e22f4e7f345
7
+ data.tar.gz: b77b9df5ccbda1f13e3c2ccc347a7c651b07f643b5d02127359d5b401ed7190b3ac3fbc6086c3b2d15723c283d7b5e84f02875a92eecca0817bed1b3b9e91558
@@ -32,7 +32,10 @@ module AlexCodebreaker
32
32
  end
33
33
 
34
34
  def check_attempts
35
- @attempts_used += 1 if @attempts_used < @attempts_total - 1
35
+ @attempts_used += 1
36
+ return unless @attempts_used < @attempts_total
37
+
38
+ @attempts_used
36
39
  end
37
40
 
38
41
  def save_statistic
@@ -1,5 +1,5 @@
1
1
  module AlexCodebreaker
2
2
  module Version
3
- VERSION = '0.1.11'.freeze
3
+ VERSION = '0.1.12'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alex_codebreaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleksandr Loza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-24 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler