PlayRockPaperScissorsGame 2.5.1 → 2.5.2
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
- checksums.yaml.gz.sig +0 -0
- data/docs/Code.md +6 -8
- data/docs/Comparing_Code.md +3 -3
- data/docs/How_to_Build.md +1 -1
- data/docs/Testing.md +1 -1
- data/docs/_site/CODE_OF_CONDUCT.html +1 -1
- data/docs/_site/CONTRIBUTING.html +1 -1
- data/docs/_site/Code.html +3 -5
- data/docs/_site/Comparing_Code.html +3 -3
- data/docs/_site/How_to_Build.html +1 -1
- data/docs/_site/Testing.html +1 -1
- data/docs/_site/index.html +1 -1
- data/docs/index.md +1 -1
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +2 -2
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e2168a989881b16fa213aa061a97a39b37a8e23
|
4
|
+
data.tar.gz: ff80fb2faa3c1907e58f7cee8187f55205b56cd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea6a097ac9ce21cde1d2403ec43ab4ece7f303b477d282f16dfaefa8ed9de79185fe291eb2f52e6d005303d8a5c9455bda0f8a66eece3409b94c590f2e5c1e4
|
7
|
+
data.tar.gz: 06a8a106284c7846b506800a8161bda1a1d6c632deb89fddbd90fdeb105606f3fbbc8ca537d7d4f69dd3535ab296034078bc8dc5e3cc68df5761cf798b38f365
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/docs/Code.md
CHANGED
@@ -4,9 +4,8 @@ title: Master Code - Play Rock Paper Scissors Game
|
|
4
4
|
permalink: /Code.html
|
5
5
|
---
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
# Master Code
|
7
|
+
Master Code
|
8
|
+
===========
|
10
9
|
|
11
10
|
**The master code will look like this:**
|
12
11
|
|
@@ -31,7 +30,7 @@ __`% rps`__
|
|
31
30
|
class PlayRockPaperScissorsGame # define master class
|
32
31
|
|
33
32
|
module RockPaperScissors
|
34
|
-
VERSION = "2.5.
|
33
|
+
VERSION = "2.5.2" # define version constant
|
35
34
|
end
|
36
35
|
|
37
36
|
# intiate the colorize gem
|
@@ -156,10 +155,9 @@ end
|
|
156
155
|
PlayRockPaperScissorsGame.new.play(2) # call the play method and pass in 3 (0, 1, 2) for the winning score
|
157
156
|
```
|
158
157
|
|
159
|
-
|
158
|
+
______________
|
160
159
|
|
161
|
-
|
160
|
+
Site Nav
|
161
|
+
--------
|
162
162
|
|
163
163
|
[Home](./) | [Comparing Code](Comparing_Code) | [How to Test](Testing) | [How to Build](How_to_Build)
|
164
|
-
|
165
|
-
[//]: # (end markdown)
|
data/docs/Comparing_Code.md
CHANGED
@@ -103,13 +103,13 @@ __`% ruby advanced-rps.rb`__
|
|
103
103
|
class PlayRockPaperScissorsGame
|
104
104
|
|
105
105
|
module RockPaperScissors
|
106
|
-
VERSION = "2.5.
|
106
|
+
VERSION = "2.5.2"
|
107
107
|
end
|
108
108
|
|
109
109
|
# import colorize gem
|
110
110
|
require "colorized_string"
|
111
111
|
ColorizedString.colors # import colors
|
112
|
-
ColorizedString.modes # import modes (bold, etc...)
|
112
|
+
ColorizedString.modes # import modes (bold, italic, etc...)
|
113
113
|
|
114
114
|
module Constants
|
115
115
|
NTRY_TO_SYM = {
|
@@ -219,7 +219,7 @@ PlayRockPaperScissorsGame.new.play(2)
|
|
219
219
|
|
220
220
|
[//]: # (start markdown)
|
221
221
|
|
222
|
-
|
222
|
+
______________
|
223
223
|
|
224
224
|
## Site Nav
|
225
225
|
|
data/docs/How_to_Build.md
CHANGED
data/docs/Testing.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
data/docs/_site/Code.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -33,8 +33,7 @@
|
|
33
33
|
</section>
|
34
34
|
|
35
35
|
<section class="main-content">
|
36
|
-
|
37
|
-
<h1 id="master-code">Master Code</h1>
|
36
|
+
<h1 id="master-code">Master Code</h1>
|
38
37
|
|
39
38
|
<p><strong>The master code will look like this:</strong></p>
|
40
39
|
|
@@ -57,7 +56,7 @@
|
|
57
56
|
<span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span> <span class="c1"># define master class</span>
|
58
57
|
|
59
58
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
60
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.
|
59
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.2"</span> <span class="c1"># define version constant</span>
|
61
60
|
<span class="k">end</span>
|
62
61
|
|
63
62
|
<span class="c1"># intiate the colorize gem</span>
|
@@ -199,7 +198,6 @@
|
|
199
198
|
</table>
|
200
199
|
|
201
200
|
|
202
|
-
|
203
201
|
<footer class="site-footer">
|
204
202
|
|
205
203
|
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -138,13 +138,13 @@
|
|
138
138
|
<div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
139
139
|
|
140
140
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
141
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.
|
141
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.2"</span>
|
142
142
|
<span class="k">end</span>
|
143
143
|
|
144
144
|
<span class="c1"># import colorize gem</span>
|
145
145
|
<span class="nb">require</span> <span class="s2">"colorized_string"</span>
|
146
146
|
<span class="no">ColorizedString</span><span class="p">.</span><span class="nf">colors</span> <span class="c1"># import colors</span>
|
147
|
-
<span class="no">ColorizedString</span><span class="p">.</span><span class="nf">modes</span> <span class="c1"># import modes (bold, etc...)</span>
|
147
|
+
<span class="no">ColorizedString</span><span class="p">.</span><span class="nf">modes</span> <span class="c1"># import modes (bold, italic, etc...)</span>
|
148
148
|
|
149
149
|
<span class="k">module</span> <span class="nn">Constants</span>
|
150
150
|
<span class="no">NTRY_TO_SYM</span> <span class="o">=</span> <span class="p">{</span>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
data/docs/_site/Testing.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
data/docs/_site/index.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
8
|
<meta name="theme-color" content="#157878">
|
9
9
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
-
<link rel="stylesheet" href="/assets/css/style.css?v=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=2e5682dbb724b9bbb98423a0f4fd715e7a7fb36b">
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
data/docs/index.md
CHANGED
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 = "2.5.
|
3
|
+
spec.version = "2.5.2"
|
4
4
|
spec.date = "2017-04-08"
|
5
5
|
spec.summary = "A Rock Paper Scissors Ruby Gem"
|
6
6
|
spec.description = <<-EOF
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.require_paths = ["lib"]
|
13
13
|
spec.files = `git ls-files -z`.split("\x0")
|
14
14
|
spec.test_files = ["./test/test_rps.rb"]
|
15
|
-
spec.post_install_message = "Thanks for installing! I hope you have fun playing rock paper scissors! :)"
|
15
|
+
spec.post_install_message = "Thanks for installing! I hope you will have fun playing rock paper scissors! :)"
|
16
16
|
spec.license = "MIT"
|
17
17
|
spec.homepage = "https://bag3318.github.io/RockPaperScissors/"
|
18
18
|
spec.required_ruby_version = ">= 2.0.0"
|
data.tar.gz.sig
CHANGED
Binary file
|
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: 2.5.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bag3318
|
@@ -174,8 +174,8 @@ metadata:
|
|
174
174
|
issue_tracker: https://github.com/bag3318/RockPaperScissors/issues
|
175
175
|
source_code: https://github.com/bag3318/RockPaperScissors
|
176
176
|
releases: https://github.com/bag3318/RockPaperScissors/releases
|
177
|
-
post_install_message: Thanks for installing! I hope you have fun playing rock
|
178
|
-
scissors! :)
|
177
|
+
post_install_message: Thanks for installing! I hope you will have fun playing rock
|
178
|
+
paper scissors! :)
|
179
179
|
rdoc_options: []
|
180
180
|
require_paths:
|
181
181
|
- lib
|
metadata.gz.sig
CHANGED
Binary file
|