PlayRockPaperScissorsGame 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -3
- data/docs/Code.md +3 -1
- data/docs/Comparing_Code.md +3 -1
- data/docs/_layouts/default.html +1 -1
- data/docs/_site/Code.html +5 -3
- data/docs/_site/Comparing_Code.html +5 -3
- data/docs/_site/How_to_Build.html +2 -2
- data/docs/_site/Testing.html +2 -2
- data/docs/_site/about.html +2 -2
- data/docs/_site/index.html +2 -2
- data/lib/PrivateMethods.rb +2 -0
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- metadata +1 -1
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e9ff6e7b690d618f213351d19b6ee32f2ea48d
|
4
|
+
data.tar.gz: e35ebb3f9790b35bb7520a18d9ae181cbd396e95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5864219aec580baf98e4835348c07f76658cc91af29bd6b49cd9ccbd7b1078f280367ae7dca5f48d44e6d82fc3b666095f8f46c0f4c30e253776e19b3380e9c3
|
7
|
+
data.tar.gz: 11e29ed0d747344caf2b6f2f7530fdf56d1cb3afea6c1f21123163b3f62f2cc04324b2caac8343e101638a04dd9a1cad569ad75e2d5ac5fe3cb37d7f9235d44d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
n
|
1
|
+
T�ϱȮ��*�i��a�X�Tz:k��D�U�kY�Ҵq-����Bqβ���m�����r0_-�=��/&��%˅)���s
|
2
|
+
�9�,��&�?��-��u#)
|
3
|
+
�<�������={�D�=n�+�QC�(3>Z<�Z�3~�C��ހ�a�ċ="�P�Sh�=�u��U:)��F�4%�h[�e;`��p)e�˄3����]�j`L=�r��ۗ-�IZ�".��������o~�{*O�cJ�QpF���
|
data/docs/Code.md
CHANGED
@@ -37,7 +37,7 @@ Master Code
|
|
37
37
|
class PlayRockPaperScissorsGame
|
38
38
|
|
39
39
|
module RockPaperScissors
|
40
|
-
VERSION = "2.6.
|
40
|
+
VERSION = "2.6.3"
|
41
41
|
end
|
42
42
|
|
43
43
|
# import the colorize gem
|
@@ -127,6 +127,8 @@ class PlayRockPaperScissorsGame
|
|
127
127
|
return Constants::NTRY_TO_SYM[choice]
|
128
128
|
elsif choice != Constants::VALID_ENTRIES
|
129
129
|
puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:red)
|
130
|
+
else
|
131
|
+
# do nothing
|
130
132
|
end
|
131
133
|
end
|
132
134
|
end
|
data/docs/Comparing_Code.md
CHANGED
@@ -89,7 +89,7 @@ end
|
|
89
89
|
class PlayRockPaperScissorsGame
|
90
90
|
|
91
91
|
module RockPaperScissors
|
92
|
-
VERSION = "2.6.
|
92
|
+
VERSION = "2.6.3"
|
93
93
|
end
|
94
94
|
|
95
95
|
# import colorize gem
|
@@ -179,6 +179,8 @@ class PlayRockPaperScissorsGame
|
|
179
179
|
return Constants::NTRY_TO_SYM[choice] # return their choice to be outputed in the play() method
|
180
180
|
elsif choice != Constants::VALID_ENTRIES # else if the the choice is not one of the valid entries
|
181
181
|
puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:red) # output to invalid entry message
|
182
|
+
else
|
183
|
+
# do nothing
|
182
184
|
end
|
183
185
|
end
|
184
186
|
end
|
data/docs/_layouts/default.html
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
<h2 id="site-nav">Site Nav</h2>
|
43
43
|
<table>
|
44
44
|
<tr>
|
45
|
-
<td><a href="
|
45
|
+
<td><a href="./">Home</a>
|
46
46
|
<td><a href="{{ domain }}Testing">How to Test</a></td>
|
47
47
|
<td><a href="{{ domain }}Comparing_Code">Comparing Code</a></td>
|
48
48
|
<td><a href="{{ domain }}Code">Master Code</a></td>
|
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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -64,7 +64,7 @@
|
|
64
64
|
<span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
65
65
|
|
66
66
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
67
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.
|
67
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.3"</span>
|
68
68
|
<span class="k">end</span>
|
69
69
|
|
70
70
|
<span class="c1"># import the colorize gem</span>
|
@@ -154,6 +154,8 @@
|
|
154
154
|
<span class="k">return</span> <span class="no">Constants</span><span class="o">::</span><span class="no">NTRY_TO_SYM</span><span class="p">[</span><span class="n">choice</span><span class="p">]</span>
|
155
155
|
<span class="k">elsif</span> <span class="n">choice</span> <span class="o">!=</span> <span class="no">Constants</span><span class="o">::</span><span class="no">VALID_ENTRIES</span>
|
156
156
|
<span class="nb">puts</span> <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"That entry is invalid. Please re-enter."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:red</span><span class="p">)</span>
|
157
|
+
<span class="k">else</span>
|
158
|
+
<span class="c1"># do nothing</span>
|
157
159
|
<span class="k">end</span>
|
158
160
|
<span class="k">end</span>
|
159
161
|
<span class="k">end</span>
|
@@ -187,7 +189,7 @@
|
|
187
189
|
<h2 id="site-nav">Site Nav</h2>
|
188
190
|
<table>
|
189
191
|
<tr>
|
190
|
-
<td><a href="">Home</a>
|
192
|
+
<td><a href="./">Home</a>
|
191
193
|
<td><a href="Testing">How to Test</a></td>
|
192
194
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
193
195
|
<td><a href="Code">Master Code</a></td>
|
@@ -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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -138,7 +138,7 @@
|
|
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.6.
|
141
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.3"</span>
|
142
142
|
<span class="k">end</span>
|
143
143
|
|
144
144
|
<span class="c1"># import colorize gem</span>
|
@@ -228,6 +228,8 @@
|
|
228
228
|
<span class="k">return</span> <span class="no">Constants</span><span class="o">::</span><span class="no">NTRY_TO_SYM</span><span class="p">[</span><span class="n">choice</span><span class="p">]</span> <span class="c1"># return their choice to be outputed in the play() method</span>
|
229
229
|
<span class="k">elsif</span> <span class="n">choice</span> <span class="o">!=</span> <span class="no">Constants</span><span class="o">::</span><span class="no">VALID_ENTRIES</span> <span class="c1"># else if the the choice is not one of the valid entries</span>
|
230
230
|
<span class="nb">puts</span> <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"That entry is invalid. Please re-enter."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:red</span><span class="p">)</span> <span class="c1"># output to invalid entry message</span>
|
231
|
+
<span class="k">else</span>
|
232
|
+
<span class="c1"># do nothing</span>
|
231
233
|
<span class="k">end</span>
|
232
234
|
<span class="k">end</span>
|
233
235
|
<span class="k">end</span>
|
@@ -260,7 +262,7 @@
|
|
260
262
|
<h2 id="site-nav">Site Nav</h2>
|
261
263
|
<table>
|
262
264
|
<tr>
|
263
|
-
<td><a href="">Home</a>
|
265
|
+
<td><a href="./">Home</a>
|
264
266
|
<td><a href="Testing">How to Test</a></td>
|
265
267
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
266
268
|
<td><a href="Code">Master Code</a></td>
|
@@ -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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -66,7 +66,7 @@
|
|
66
66
|
<h2 id="site-nav">Site Nav</h2>
|
67
67
|
<table>
|
68
68
|
<tr>
|
69
|
-
<td><a href="">Home</a>
|
69
|
+
<td><a href="./">Home</a>
|
70
70
|
<td><a href="Testing">How to Test</a></td>
|
71
71
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
72
72
|
<td><a href="Code">Master Code</a></td>
|
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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
<h2 id="site-nav">Site Nav</h2>
|
60
60
|
<table>
|
61
61
|
<tr>
|
62
|
-
<td><a href="">Home</a>
|
62
|
+
<td><a href="./">Home</a>
|
63
63
|
<td><a href="Testing">How to Test</a></td>
|
64
64
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
65
65
|
<td><a href="Code">Master Code</a></td>
|
data/docs/_site/about.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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -66,7 +66,7 @@ I have decided to code a Ruby-programmed RPS game that uses full CLI<sup>2</sup>
|
|
66
66
|
<h2 id="site-nav">Site Nav</h2>
|
67
67
|
<table>
|
68
68
|
<tr>
|
69
|
-
<td><a href="">Home</a>
|
69
|
+
<td><a href="./">Home</a>
|
70
70
|
<td><a href="Testing">How to Test</a></td>
|
71
71
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
72
72
|
<td><a href="Code">Master Code</a></td>
|
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=a11cb915de76846077f62cffbdd5ad43dcb04f39"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
</head>
|
@@ -115,7 +115,7 @@
|
|
115
115
|
<h2 id="site-nav">Site Nav</h2>
|
116
116
|
<table>
|
117
117
|
<tr>
|
118
|
-
<td><a href="">Home</a>
|
118
|
+
<td><a href="./">Home</a>
|
119
119
|
<td><a href="Testing">How to Test</a></td>
|
120
120
|
<td><a href="Comparing_Code">Comparing Code</a></td>
|
121
121
|
<td><a href="Code">Master Code</a></td>
|
data/lib/PrivateMethods.rb
CHANGED
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
t7(�IK����M���E%�z��p�W��yb�p��5�b��Ȋ�O��pⳁl��ƩFg?�EA���R_6�[O|i����N0`�[Q~z>�^I�s˴T��Z���`��̝j�z͝B��zޤ
|
2
|
+
������Qo)6����"�^:��'At��u���C0��I��B���]�O��a5�r��߾�(o��/ԫW'���5zK6��#0�ѵz�c�2�:�����*Op�o6:@U��['����e�~ՠ�
|