PlayRockPaperScissorsGame 1.5.7 → 1.5.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
  SHA1:
3
- metadata.gz: ad7f50bf67583b61a98dd77ce55392769e8a3ac1
4
- data.tar.gz: 780390dec44890b39b667bed7d283d17ef987c0d
3
+ metadata.gz: b06ddea59fab9a14220e92886db36ade40b9d5a7
4
+ data.tar.gz: 21a1c7e9cc41177485eb9885717b673914afb330
5
5
  SHA512:
6
- metadata.gz: 5624e3541c15717165d0fe48e45ea00d1e7d559bead5fc0a2762442b8b733d2130c8959451dc2c4606aff4565de9c4473d80f51fe5c60e8262fbf5c0f7e5768a
7
- data.tar.gz: e6330a636a771c4d2c6ee8ff6fac8addd6561a78bf22ac8274dded331b8473e86f52132080781db55d4661e235e0e689e3908d86a1670b571ce3a5c0609c1bea
6
+ metadata.gz: 3d5271d4e9109c63d463d65d2b6edfa014b3c6044f554ac9d1ac637cdfaf2150f86785f91b4b36d4cc6bd5dd3930321fce28b7a134bf818c98bf28f06854ea7a
7
+ data.tar.gz: 5fb3cb3325c3ea1cffac8ada50005f95039b5d11f8211277158dc99d59b6be4032518e5e4e12aa68f2bd484975a0ef49f1b19f3101836494d4bf70f3e3b0bdcc
@@ -39,7 +39,7 @@ class PlayRockPaperScissorsGame
39
39
  def initialize
40
40
  @player_score = @computer_score = @ties = 0;
41
41
  end;
42
- def Play(winning_score)
42
+ def play(winning_score)
43
43
  while @player_score < winning_score && @computer_score < winning_score
44
44
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
45
45
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/bin/rps CHANGED
@@ -39,7 +39,7 @@ class PlayRockPaperScissorsGame
39
39
  def initialize
40
40
  @player_score = @computer_score = @ties = 0;
41
41
  end;
42
- def Play(winning_score)
42
+ def play(winning_score)
43
43
  while @player_score < winning_score && @computer_score < winning_score
44
44
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
45
45
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/lib/rps.rb CHANGED
@@ -29,7 +29,7 @@ class PlayRockPaperScissorsGame
29
29
  def initialize
30
30
  @player_score = @computer_score = @ties = 0;
31
31
  end;
32
- def Play(winning_score)
32
+ def play(winning_score)
33
33
  while @player_score < winning_score && @computer_score < winning_score
34
34
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
35
35
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/rps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "1.5.7"
3
+ spec.version = "1.5.8"
4
4
  spec.date = "2017-03-30"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = "A Ruby-programmed rock paper scissors game. To install: gem install PlayRockPaperScissorsGame; To run: rps; or: PlayRockPaperScissorsGame"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PlayRockPaperScissorsGame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318