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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da082127fc59dce3e7a67ebaf1b9622e62910310
4
- data.tar.gz: 5d6c994c587af26d6cb4fa73a145fdb460dbe8c6
3
+ metadata.gz: b6e9ff6e7b690d618f213351d19b6ee32f2ea48d
4
+ data.tar.gz: e35ebb3f9790b35bb7520a18d9ae181cbd396e95
5
5
  SHA512:
6
- metadata.gz: bc79f12b3861c155a005af50161c6bc9caa97dcf4826526e1322e759004dc79f09069fd8342afd3785b2b53c5691d0e93030812048e547dd339387f20d0c8c18
7
- data.tar.gz: 7daec93e311e5b5acf3a60d515d6d505e864b4326318cf2ad30e4d8d4a0fbd42a648612087c0f0b94425d8f74233d57d7cea035a83a4eb5bcad10b2a7e17b7bc
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
- e�, *t-�����e�����o�2vܰkr�>DnB&d��E�A)��m�:��aQ1I�ff��!"c�h��~QfN|-R؇d��DB3'�a���
2
- ni�BL�h�:S�N��`��4#�h`3F~�#��|#�p�'
3
- n��)=�Ȇ��RWyG�.�Gpg��6;��IN+fм�Ͽ%؎y}%�����4��P�����{G��� Q���6z2J�����S2��w�iXWl�
1
+ T�ϱȮ��*�i��a�X�Tz:k��D�UkY�Ҵ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�cJQpF���
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.2"
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
@@ -89,7 +89,7 @@ end
89
89
  class PlayRockPaperScissorsGame
90
90
 
91
91
  module RockPaperScissors
92
- VERSION = "2.6.2"
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
@@ -42,7 +42,7 @@
42
42
  <h2 id="site-nav">Site Nav</h2>
43
43
  <table>
44
44
  <tr>
45
- <td><a href="{{ domain }}">Home</a>
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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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.2"</span>
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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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.2"</span>
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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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>
@@ -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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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>
@@ -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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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>
@@ -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=13ce343f3721fc075204f26576d4788f91d928e7"/>
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>
@@ -11,6 +11,8 @@ module PrivateMethods
11
11
  return Constants::NTRY_TO_SYM[choice]
12
12
  elsif choice != Constants::VALID_ENTRIES
13
13
  puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:red)
14
+ else
15
+ # do nothing
14
16
  end
15
17
  # # one may also do this:
16
18
  # case
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.6.2"
2
+ VERSION = "2.6.3"
3
3
  end
data/rps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "2.6.2"
3
+ spec.version = "2.6.3"
4
4
  spec.date = "2017-05-08"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = <<-EOF
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.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- a��3L{����Պ�`R�*����kW�w~��(Id] S:�`��V�;���Ќ$�|���}Zʣ�;"_�l8҉sշ���� .6��h�%�G����J.��4˨p�@�KfQ��)���M���D�,��������z��5����2cߦ�_M�{Й�' &��g�_(6나�TV�c�}���
2
- Tׇ3�)��g��<���@����;�2B�����HR+{1�������W��e��Ӓr�WȰ
1
+ t7(�IK����M���E%�z��p�W��ybp��5b��Ȋ�O��pⳁl��ƩFg?�EA���R_6[O|i����N0`�[Q~z>�^I�s˴T��Z���`��̝j�z͝B��
2
+ ������Qo)6�� ��"�^:��'At��u ��C0��I��B���]�O��a5�r��߾�(o��/ԫW'���5zK6��#0�ѵz�c�2�:�����*Op�o6:@U��['����e�~ՠ�