PlayRockPaperScissorsGame 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 256ea066f8c03771ad0968bdecaa468b71ec5f1d
4
- data.tar.gz: 550fd15cdb7623081cdcaf07b71dfe2d0ffb1a06
3
+ metadata.gz: 522a2ac5460cb0477c5124a710d03bb775132c1b
4
+ data.tar.gz: ef000b4089ac7d53e1fec806ba5978695ebb4344
5
5
  SHA512:
6
- metadata.gz: df5ecfe92c644d4c49194027e07f8f6ba00df5b4141f72c0f80bdb102af88bc934d6892505b11da37cc38db798cb139698fcc2aa65567a2ad1055ef1d9126f19
7
- data.tar.gz: d5239271981075b8ca2d40a25d8ba41b418f5726390e8c8492a780fab7c5ac12a1bc9db3e9aba4ae5adecd54e769092510f0092ee50b67a439f5ecbddd835887
6
+ metadata.gz: cf338ac716743a57b7c248b561bb8f5aa8897037f0cf0d5de3468c1e59e8f87d68c2389f16c26a9b845f58ec9116c9d9da847dd19416f5004d65855efb6081fd
7
+ data.tar.gz: fef5b3b6ad343e52d708a6e3d83bee8d6aedbca90a21f552394960705432314560e60d102341eb808fee3cd62fc271733b83474da76dd0460d74a1fbe23524a2
@@ -11,7 +11,7 @@
11
11
  class PlayRockPaperScissorsGame
12
12
 
13
13
  class RPS
14
-
14
+ protected;
15
15
  module Constants
16
16
  NTRY_TO_SYM = { 'p' => :PAPER, 'r' => :ROCK, 's' => :SCISSORS };
17
17
  VALID_ENTRIES = NTRY_TO_SYM.keys;
@@ -66,7 +66,7 @@ class PlayRockPaperScissorsGame
66
66
  end;
67
67
  gets;
68
68
  end;
69
- private
69
+ private;
70
70
  module PrivateVars
71
71
  class << self
72
72
  def player_choice
data/bin/rps CHANGED
@@ -11,7 +11,7 @@
11
11
  class PlayRockPaperScissorsGame
12
12
 
13
13
  class RPS
14
-
14
+ protected;
15
15
  module Constants
16
16
  NTRY_TO_SYM = { 'p' => :PAPER, 'r' => :ROCK, 's' => :SCISSORS };
17
17
  VALID_ENTRIES = NTRY_TO_SYM.keys;
@@ -66,7 +66,7 @@ class PlayRockPaperScissorsGame
66
66
  end;
67
67
  gets;
68
68
  end;
69
- private
69
+ private;
70
70
  module PrivateVars
71
71
  class << self
72
72
  def player_choice
data/lib/ref/Constants.rb CHANGED
@@ -1,3 +1,4 @@
1
+ protected;
1
2
  module Constants
2
3
  NTRY_TO_SYM = {
3
4
  'p' => :PAPER,
@@ -1,4 +1,4 @@
1
- private
1
+ private;
2
2
  module PrivateVars
3
3
  class << self
4
4
  def player_choice
data/rps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "1.4.2"
3
+ spec.version = "1.4.3"
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"
data/test/test_rps.rb CHANGED
@@ -9,7 +9,7 @@
9
9
  class Test
10
10
 
11
11
  class Rake < Test
12
-
12
+ protected;
13
13
  module Constants
14
14
  NTRY_TO_SYM = { 'p' => :PAPER, 'r' => :ROCK, 's' => :SCISSORS };
15
15
  VALID_ENTRIES = NTRY_TO_SYM.keys;
@@ -64,7 +64,7 @@ class Test
64
64
  end;
65
65
  gets;
66
66
  end;
67
- private
67
+ private;
68
68
  module PrivateVars
69
69
  class << self
70
70
  def player_choice
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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318