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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6659fda70c1411a43fc5031663dbd959649d2abd
4
- data.tar.gz: f00e93dcd84ac3282939da536bedc02b33da430b
3
+ metadata.gz: c3d9c1efaafed05b2af6eef138db083e25f73702
4
+ data.tar.gz: d75ad5cbb182d100afffa6e82e8a9bb49ee857d8
5
5
  SHA512:
6
- metadata.gz: 6c71dd270a06f9fd2e515b67e9e6f3a84917142e528c6cd1cc30bd4f6afe995cd7c4a1a17b807ac086d0d78697124afca4be51d792558ac04cee51245bcf66bc
7
- data.tar.gz: 1f72f7b40b9fe819dd37371736f104f18000f01cc93f97198b13844d0b08827bdffb8084d7070a7cb4ec42ed76523a7b6d4928e53b22aa9ca87b07fd670ddae2
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.1"
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
- # do nothing
131
+ return nil
132
132
  end
133
133
  end
134
134
  end
@@ -89,7 +89,7 @@ end
89
89
  class PlayRockPaperScissorsGame
90
90
 
91
91
  module RockPaperScissors
92
- VERSION = "2.7.1"
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
- # do nothing
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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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.1"</span>
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="c1"># do nothing</span>
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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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.1"</span>
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="c1"># do nothing</span>
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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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
 
@@ -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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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
 
@@ -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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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
 
@@ -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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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
 
@@ -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=afb6b4842fa10397603f646a81e8d5a3a5e613d8"/>
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
 
@@ -12,7 +12,7 @@ module PrivateMethods
12
12
  elsif choice != Constants::VALID_ENTRIES
13
13
  puts ColorizedString["That entry is invalid. Please re-enter."].colorize(:red)
14
14
  else
15
- # do nothing
15
+ return nil
16
16
  end
17
17
  # # one may also do this:
18
18
  # case
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.7.1"
2
+ VERSION = "2.7.2"
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.7.1"
3
+ spec.version = "2.7.2"
4
4
  spec.date = "2017-05-09"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = <<-EOF
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.7.1
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
metadata.gz.sig CHANGED
Binary file