PlayRockPaperScissorsGame 1.4.7 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/PlayRockPaperScissorsGame +2 -1
- data/bin/rps +1 -1
- data/lib/rps.rb +1 -1
- data/rps.gemspec +2 -2
- data/test/test_rps.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39514921253d922c83d7bdab665efa7a893e5e29
|
4
|
+
data.tar.gz: 4614fdf836fd38de3f9b7cf75162f3e2f75ccac6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
97
|
+
PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(2); # best of 3
|
97
98
|
|
data/bin/rps
CHANGED
data/lib/rps.rb
CHANGED
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.
|
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
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.
|
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
|