PlayRockPaperScissorsGame 1.6.8 → 1.6.9
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 +4 -4
- data/bin/PlayRockPaperScissorsGame +3 -3
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be5732bc16f91d2334b19e94654c0a84c822ceed
|
4
|
+
data.tar.gz: 22ceace0a551d366db5599fba1a772ba3cabdc2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdea93b498c61ec64eb919bd42a81885a52e4180250be6f05b556c49e8b920b81741c6e3dd04593d3b2dd1e56d7b1600837fa613103d1e6dba2bd47766ff9958
|
7
|
+
data.tar.gz: 365ec00e95c3ffe0365805c837d497bb12a5171dec5b3db3dbd642142744a7cba8ca8a12ef881028daaa65d5bbd2dec979a02e6029f37a4b3507236b85e03561
|
@@ -12,8 +12,8 @@
|
|
12
12
|
class PlayRockPaperScissorsGame
|
13
13
|
|
14
14
|
require "colorized_string";
|
15
|
-
ColorizedString.colors
|
16
|
-
ColorizedString.modes
|
15
|
+
ColorizedString.colors;
|
16
|
+
ColorizedString.modes;
|
17
17
|
|
18
18
|
class RPS
|
19
19
|
|
@@ -80,7 +80,7 @@ class PlayRockPaperScissorsGame
|
|
80
80
|
print ColorizedString["Choose rock (r), paper (p) or scissors (s): "].colorize(:green);
|
81
81
|
choice = gets.chomp.downcase;
|
82
82
|
return Constants::NTRY_TO_SYM[choice] if Constants::NTRY_TO_SYM.key?(choice);
|
83
|
-
puts ColorizedString["That entry is invalid. Please re-enter"].colorize(:green);
|
83
|
+
puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:green);
|
84
84
|
end;
|
85
85
|
end;
|
86
86
|
def player_outcome(plays)
|
data/lib/rps/version.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.6.
|
3
|
+
spec.version = "1.6.9"
|
4
4
|
spec.date = "2017-04-01"
|
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; For issues: https://github.com/bag3318/RockPaperScissors/issues"
|
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.extra_rdoc_files = "README.md"
|
18
18
|
spec.required_ruby_version = ">= 2.0.0"
|
19
19
|
spec.required_rubygems_version = ">= 2.6.10"
|
20
|
+
spec.requirements << "A Windows or Mac computer."
|
20
21
|
spec.metadata = { "issue_tracker" => "https://github.com/bag3318/RockPaperScissors/issues", "source_code" => "https://github.com/bag3318/RockPaperScissors", "releases" => "https://github.com/bag3318/RockPaperScissors/releases" }
|
21
22
|
spec.post_install_message = "Thanks for installing! I hope you have fun playing rock paper scissors! :)"
|
22
23
|
spec.add_runtime_dependency "bundler" , "~> 1.14.6"
|
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.6.
|
4
|
+
version: 1.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bag3318
|
@@ -119,7 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: 2.6.10
|
122
|
-
requirements:
|
122
|
+
requirements:
|
123
|
+
- A Windows or Mac computer.
|
123
124
|
rubyforge_project:
|
124
125
|
rubygems_version: 2.6.11
|
125
126
|
signing_key:
|