codebreaker_paratskiy 0.1.7 → 0.1.8

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: 0001f7298d45c6460878391eeec23655aa06e8057f1f1b7b0ba2fe635c18a1ed
4
- data.tar.gz: 9ab75eb342b08f137dccc8471373000cc3f74a531d964c42c1ddfb14877a1139
3
+ metadata.gz: 60c6e04e1688876b1eb3dbb634379627323f39650f178fdc209d9842598e1f9f
4
+ data.tar.gz: 777d0677d6c1df20f9082bca6124c04544a9bdf6192c790c019013e701a0f404
5
5
  SHA512:
6
- metadata.gz: f16f059c7f645eea954fac3b1fd87fcdb482964ddc0dca19580ea207233aa5dd28e4a2feb0f7ea5280a8c6306fc6ff5a9b388b6ff5df02a9f28afc15b787b6e6
7
- data.tar.gz: 674cbd18b7940be94a9a3b76d7dd69f2c21c86b0f026cc6eb5065db3f7cb3c7177701a6809c3f696566ef1f097d30bb5659f3c7897d96621da438bab842fa477
6
+ metadata.gz: 3cd65470bf0c1ab4c91645d88df806929513e82987b3b926853f0dbc0890e537b1f42cdb505158b0656003cb425832784bfbe2ade012ddd8a4cfc9fac06206b8
7
+ data.tar.gz: 1068bb60831bf9bd41a9a6d0fd0e84d4aa3f7fb1900e487446c3648bf9959c8ca70a3f22fc2d2f25b451776e579891e9b5c0623547a89be477acc40b44d0176c
@@ -1,3 +1,3 @@
1
1
  module CodebreakerParatskiy
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.freeze
3
3
  end
data/lib/game.rb CHANGED
@@ -16,7 +16,7 @@ class Game
16
16
 
17
17
  def use_hint
18
18
  @hints -= 1
19
- secret_code_for_hint.sort_by { rand }.pop
19
+ secret_code_for_hint.sort_by! { rand }.pop
20
20
  end
21
21
 
22
22
  def run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_paratskiy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Paratskiy