rockpaperscissorsbattle 0.1.2 → 0.1.3

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: 9e104e0ceac0d899b830faaf2371c013245ad3bb
4
- data.tar.gz: 5c32ce6f10ba0ac25fb9599397f5e806cbb44315
3
+ metadata.gz: b7b9321f669d1c3233af5cb3f6a96a1cc9db84cc
4
+ data.tar.gz: 2a0e6e8bb70c9d7b7b620c3f7d0021249311b1c5
5
5
  SHA512:
6
- metadata.gz: f53c023b7b41e8f6d0f5aee438a7f2cedb211649f144c24870404d9d37c5067e9a705085849803aadc04b4fa3553f267167d2e1a39ad1f091978926577b1d86a
7
- data.tar.gz: c902e38ea11013ff6762eb6a471c0f802eae5222ff54aa95585ec143f883d38ea92f4ea8c6915ed2dd9a2f03a9f2a5b35dd1a60ef9b0e0b09cd185efc182c4dc
6
+ metadata.gz: ad1b38717ae51d1c09c237ad9dbb69405d0244fa7bf52378c525e6f92ac6c2af14cbb97dc19cf01fec291ed33ae5f9ea1b79f193854fb8e4b1022a46556a50b2
7
+ data.tar.gz: 8a0c1730d3fefd60a767d041713b9f9ce4f1907667ed0f57f1fa056e78af732c032678591fe5b7384ffa38a3fad7d282a86c6fabe5d5ff19af992fea72b43e0d
@@ -18,12 +18,11 @@ module Rockpaperscissorsbattle
18
18
  if @options[pick1] == pick2
19
19
  puts "Player1 wins!"
20
20
  winner = 1
21
- elsif
22
- @options[pick2] == pick1
21
+ elsif @options[pick2] == pick1
23
22
  puts "Player2 wins!"
24
23
  winner = 2
25
24
  else
26
- "You tied..."
25
+ puts "You tied..."
27
26
  winner = 0
28
27
  end
29
28
  end
@@ -1,3 +1,3 @@
1
1
  module Rockpaperscissorsbattle
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley