andrii_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: 4bbc75e2ca53efd3c8c664765094884f8b2f1238c3b010b66f1652d41fbe3875
4
- data.tar.gz: c929acbe775de6c16915289aab8ebcba90cc64c6e1f57bd671526552adeb6688
3
+ metadata.gz: 32857bb09a13937194578bcc74d883ab93b151300e6948a0b3b0b1a2121c50f7
4
+ data.tar.gz: 6b01d5ac0c18f89b6006bb48aa0ff21ad98a5ced20c0209d728f95f986dae566
5
5
  SHA512:
6
- metadata.gz: a034dc7c27ac804ca5ccfa9810134a34d71d9ca10af0da69123ea91e5d5e0bf88842ce272fc4c7d0946cd8b89738bcb87c7c61168119c9c042c46ddf9603c592
7
- data.tar.gz: 48344173cf96f64068804b5e5e5074cbf3338a43731b36c509d5fade4db96f4dee327ac2e7565ea5a41042dba5d3174c996478c80424b765fcb313817110dd87
6
+ metadata.gz: eed8485cfdbe585ab513a4b87f00baa661546e62351f53fa565861a28aad46ddcacc4bbdf94066b256c956f98bf5927e6033536c09cdd03e6445146d32c61eac
7
+ data.tar.gz: 20d8163febd298a40a69034893b372a27af6ca6b36de323d17359c67df0855685ff4566514527b808598c4d904f338e2e7f7e62917bb326be050e4e5066d96e1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- andrii_codebreaker (0.1.10)
4
+ andrii_codebreaker (0.1.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -44,9 +44,9 @@ module AndriiCodebreaker
44
44
  end
45
45
 
46
46
  def lose
47
- return false unless left_attempts?
47
+ return true if left_attempts?
48
48
 
49
- true
49
+ false
50
50
  end
51
51
 
52
52
  def compare_codes(guess)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AndriiCodebreaker
4
- VERSION = '0.1.11'
4
+ VERSION = '0.1.12'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: andrii_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
  - Andrii
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-25 00:00:00.000000000 Z
11
+ date: 2021-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fasterer