PlayRockPaperScissorsGame 2.7.1 → 2.7.2
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/docs/Code.md +2 -2
- data/docs/Comparing_Code.md +2 -2
- data/docs/_site/Code.html +3 -3
- 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/about.html +1 -1
- data/docs/_site/copying.html +1 -1
- data/docs/_site/index.html +1 -1
- data/lib/PrivateMethods.rb +1 -1
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: c3d9c1efaafed05b2af6eef138db083e25f73702
|
4
|
+
data.tar.gz: d75ad5cbb182d100afffa6e82e8a9bb49ee857d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34582c0926f0de228a426ba2cc990e689a4c573f96107d61f3bb7a541f50cdb2e0d53f1899eacabd6d5d32b1ac81902181413e78f5fb627bd73253fc66386d23
|
7
|
+
data.tar.gz: 79e4e9a0658386fad8f9ae70f69ea6c4461c5e1bb041819c9da86bb79e8053e623ecfa87c324bc0bf7f86cd2d9371371d006ffa081528a0cd3b390f1bd168f16
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/docs/Code.md
CHANGED
@@ -37,7 +37,7 @@ Master Code
|
|
37
37
|
class PlayRockPaperScissorsGame
|
38
38
|
|
39
39
|
module RockPaperScissors
|
40
|
-
VERSION = "2.7.
|
40
|
+
VERSION = "2.7.2"
|
41
41
|
end
|
42
42
|
|
43
43
|
# import the colorize gem
|
@@ -128,7 +128,7 @@ class PlayRockPaperScissorsGame
|
|
128
128
|
elsif choice != Constants::VALID_ENTRIES
|
129
129
|
puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:red)
|
130
130
|
else
|
131
|
-
|
131
|
+
return nil
|
132
132
|
end
|
133
133
|
end
|
134
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.7.
|
92
|
+
VERSION = "2.7.2"
|
93
93
|
end
|
94
94
|
|
95
95
|
# import colorize gem
|
@@ -180,7 +180,7 @@ class PlayRockPaperScissorsGame
|
|
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
182
|
else
|
183
|
-
|
183
|
+
return nil
|
184
184
|
end
|
185
185
|
end
|
186
186
|
end
|
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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
73
73
|
|
74
74
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
75
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.
|
75
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.2"</span>
|
76
76
|
<span class="k">end</span>
|
77
77
|
|
78
78
|
<span class="c1"># import the colorize gem</span>
|
@@ -163,7 +163,7 @@
|
|
163
163
|
<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>
|
164
164
|
<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>
|
165
165
|
<span class="k">else</span>
|
166
|
-
<span class="
|
166
|
+
<span class="k">return</span> <span class="kp">nil</span>
|
167
167
|
<span class="k">end</span>
|
168
168
|
<span class="k">end</span>
|
169
169
|
<span class="k">end</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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
@@ -146,7 +146,7 @@
|
|
146
146
|
<div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
147
147
|
|
148
148
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
149
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.
|
149
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.2"</span>
|
150
150
|
<span class="k">end</span>
|
151
151
|
|
152
152
|
<span class="c1"># import colorize gem</span>
|
@@ -237,7 +237,7 @@
|
|
237
237
|
<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>
|
238
238
|
<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>
|
239
239
|
<span class="k">else</span>
|
240
|
-
<span class="
|
240
|
+
<span class="k">return</span> <span class="kp">nil</span>
|
241
241
|
<span class="k">end</span>
|
242
242
|
<span class="k">end</span>
|
243
243
|
<span class="k">end</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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
data/docs/_site/copying.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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
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=b80b8706023c943b65047344d0e7d355d41936f8"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
data/lib/PrivateMethods.rb
CHANGED
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|