rockpaperscissorsbattle 0.1.4 → 0.1.5

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: cab9534d35eac5d7eea61585cfb469f4e6c99ac9
4
- data.tar.gz: 4079075f50dcdca05b5c77a0cac031dedfe0b948
3
+ metadata.gz: f487bb5f445f7d6e3b88e752aed47fbfd4526f33
4
+ data.tar.gz: 8aed1ff79b756ad33f01f85a05688d9981342e48
5
5
  SHA512:
6
- metadata.gz: fe7e48dc640d4b1371e577bc1edeb62975303a15acb644f78b6452b663bc2c3f5e9a8f677b8e8ece0b4725ae8b842bc8c31f953947645b3de74ab3eb5f693653
7
- data.tar.gz: 992225f5889523c48d775e54b6b294c6eaf47086e217a93b70a7b0d326a00dde5d1757e2d7cc76dc64aa3b5f283f0de6cddce9c132b2b486f99b113520b90cc5
6
+ metadata.gz: f32bee1fe6dacf3615851cb92755daebc2569f7f44be036a0916861098b1819f8fee18ce7b6a2ed705db5ec2eaa88391f479aa6f47c77c7be727764fb474cb43
7
+ data.tar.gz: c811f786ee5c162a434ea38640cfb6eb91f07cda9e67135589eb12e6b18cfa8dcf158a55691538fecbca9a86e0c1d44e76c3cb6656d7da06e0b0d11839ccab45
@@ -1,7 +1,7 @@
1
1
  module Rockpaperscissorsbattle
2
2
  class Computer < Player
3
3
  def pick(options)
4
- options.sample
4
+ options.keys.sample
5
5
  end
6
6
  end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Rockpaperscissorsbattle
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rockpaperscissorsbattle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley