PlayRockPaperScissorsGame 1.4.7 → 1.4.8

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: e5d595e45bf15937d4b9119d2af14143eac59e63
4
- data.tar.gz: f131bc8174a8e56f4a1678d875d6f276a894f949
3
+ metadata.gz: 39514921253d922c83d7bdab665efa7a893e5e29
4
+ data.tar.gz: 4614fdf836fd38de3f9b7cf75162f3e2f75ccac6
5
5
  SHA512:
6
- metadata.gz: be24adb669eb73b609d06c410e933f73c510c815a68dab5110d93e2f0e70fe24e2034595f53ea24ff9b26505e24b666dacb144f118578dc3169431702a663808
7
- data.tar.gz: 7a0e5a290fa5bad1e75ff2c4d0a977285d1bdb0b547480122aa223196895f788dd430c3845268d35ffdcf771705a625caa1886bd4fda47168ac21fb32f5bb99e
6
+ metadata.gz: 7fcc031b6d16b14dff2b602d0632ced4500df1f40e2cb89208c39109e927fb3b064f875b4de5cee5893e3915e369ac2216300642ee5f89f46783695aecd8790c
7
+ data.tar.gz: 3216faa99622206d150a084a5b787d8eb21db38e2a123790afa5732b0b1bda6510cbd4032153f5b728a7695f428cf6723d08b567b08d8dc652080d89bd8b3b9b
@@ -11,6 +11,7 @@
11
11
  class PlayRockPaperScissorsGame
12
12
 
13
13
  class RPS
14
+
14
15
  protected;
15
16
  module Constants
16
17
  NTRY_TO_SYM = { 'p' => :PAPER, 'r' => :ROCK, 's' => :SCISSORS };
@@ -93,5 +94,5 @@ class PlayRockPaperScissorsGame
93
94
  end;
94
95
  end;
95
96
 
96
- PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
97
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(2); # best of 3
97
98
 
data/bin/rps CHANGED
@@ -93,5 +93,5 @@ class PlayRockPaperScissorsGame
93
93
  end;
94
94
  end;
95
95
 
96
- PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
96
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(2); # best of 3
97
97
 
data/lib/rps.rb CHANGED
@@ -62,5 +62,5 @@ class PlayRockPaperScissorsGame
62
62
  end;
63
63
  end;
64
64
 
65
- PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
65
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(2); # best of 3
66
66
 
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.7"
3
+ spec.version = "1.4.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"
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.required_ruby_version = "2.4.0"
19
19
  spec.required_rubygems_version = "2.6.11"
20
20
  spec.metadata = { "issue_tracker" => "https://github.com/bag3318/RockPaperScissors/issues" }
21
- spec.post_install_message = "Thanks for installing! I hope you have fun playing rock paper scissors :)"
21
+ spec.post_install_message = "Thanks for installing! I hope you have fun playing rock paper scissors! :)"
22
22
  spec.add_runtime_dependency "bundler", ">= 1.14.6"
23
23
  spec.add_runtime_dependency "rake" , ">= 12.0.0"
24
24
  spec.add_runtime_dependency "rvm" , ">= 1.11.3.9"
data/test/test_rps.rb CHANGED
@@ -91,5 +91,5 @@ class Test
91
91
  end;
92
92
  end;
93
93
 
94
- Test::Rake::RockPaperScissorsTest.new.testPlay(3); # best of 3
94
+ Test::Rake::RockPaperScissorsTest.new.testPlay(2); # best of 3
95
95
 
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.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -82,7 +82,7 @@ licenses:
82
82
  metadata:
83
83
  issue_tracker: https://github.com/bag3318/RockPaperScissors/issues
84
84
  post_install_message: Thanks for installing! I hope you have fun playing rock paper
85
- scissors :)
85
+ scissors! :)
86
86
  rdoc_options: []
87
87
  require_paths:
88
88
  - lib