dk_codebreaker 0.1.9 → 0.1.9.1

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
  SHA1:
3
- metadata.gz: 419d597930a9c5aca83b833d72425e7d158f6dc3
4
- data.tar.gz: 8bebcb8b24a4efdf36530ae6913a6e8cc59d34ef
3
+ metadata.gz: a19482e3efec2cf23b3560010fc970b3ae8dc8cc
4
+ data.tar.gz: 901f93f686a2c462c01843a88fd36fe52fafbc57
5
5
  SHA512:
6
- metadata.gz: f2c1c27dd9959d2df4a738a5722c816c0a6494aecc44f308de43e3271d4e1c9df01bfa5609e17c1f4449f1736bae02e875971423e0b3f13e472d29f24b75b18a
7
- data.tar.gz: 54c07770f09b5a31cf37480dd8bd109c79b070070307787c87713aba0407ed9b9f4ee2d455e2caf64ee87a50e4e0bc0dc3d88470d57093d7e8dd1f0c3d8a3146
6
+ metadata.gz: 295aa782a3c09bd5bc709fe2f78722eeb2d9a339a0664616034a9b5ddb8c412f8d34d0fa70ee47bfcfe5b4a94377eab8a3f8fff960b7f8ca1b0349dd40e377a7
7
+ data.tar.gz: 02a2b071c7dbadcb83da804e051d074342056efb8146f02ca4d77062112bb24bad912be8e8be47f3dc086a72340d3e3d0287d43a9fdbf7deac822fef03f21591
@@ -27,7 +27,7 @@ module DkCodebreaker
27
27
  end
28
28
 
29
29
  def guess submit_code
30
- if @attempt <= @limit
30
+ if @attempt < @limit
31
31
  if submit_code.is_a? String
32
32
  return :less_then_four if submit_code.size < 4
33
33
  submit_code = submit_code[0,4] if submit_code.size > 4
@@ -1,3 +1,3 @@
1
1
  module DkCodebreaker
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dk_codebreaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Den Key