PlayRockPaperScissorsGame 2.7.9 → 2.8.0

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: 75d29ea8ef80b8b71ee74630966d0ea83f771514
4
- data.tar.gz: 2e10f057c30a1b0e95f277a0f46049de4c32531f
3
+ metadata.gz: 91fe0a10943f10d26075780f82436061b2c33694
4
+ data.tar.gz: 872ed616f7b7ee53c40f3f49b338c8523edf0cc8
5
5
  SHA512:
6
- metadata.gz: c39f1b85117aa58a4aa93547dd8e93c5ec7658de9e113a6cdedf9ce1743418872867e5bcb092b378235b5cb353ebb3fb4b53de1ef1f3418730991c9ed1d627f4
7
- data.tar.gz: fc628397126c3d7eec09d26f4777b33fd74c9afcac3952ffbfe98641403c4bea68fa3b8415f2ab3cea39bdb284daa424a2d994f34ae24ed733ac7b1d5eca8d5c
6
+ metadata.gz: 99af906b83209f6cc05d6bb43091cb6094bd3124874239b0ff8f0bd64bb65ea0996fe14442c5a78fcd304006d66f5442b82cd2d56142d1ed29f846d78c957320
7
+ data.tar.gz: 47dc1afef12b516360604468f56bd024c016443c53cdf50fc5e278c532eaa6f7c0ac1dd2a77565d0ab2cf1de618cfe9db70a96eb62490f3b171e743020926ab2
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  *.sublime-workspace
6
6
  *.jekyll-metadata
7
7
  *.ste
8
+ *other langs
8
9
  # _site
9
10
  # .sass-cache
10
11
 
data/docs/Code.md CHANGED
@@ -35,7 +35,7 @@ Master Code
35
35
  class PlayRockPaperScissorsGame
36
36
 
37
37
  module RockPaperScissors
38
- VERSION = "2.7.9"
38
+ VERSION = "2.8.0"
39
39
  end
40
40
 
41
41
  # import the colorize gem
@@ -20,6 +20,10 @@ permalink: /comparing_code.html
20
20
  - [Advanced Analysis](#advanced-analysis)
21
21
  - [What Advanced Code Looks Like](#what-advanced-code-looks-like)
22
22
 
23
+ <!--
24
+ `rps`
25
+ -->
26
+
23
27
  ## Beginner's Code
24
28
 
25
29
  ### Beginner's Code Pros
@@ -123,7 +127,7 @@ Subtlety is usually painted all over advanced ruby code. While this does make th
123
127
  class PlayRockPaperScissorsGame
124
128
 
125
129
  module RockPaperScissors
126
- VERSION = "2.7.9"
130
+ VERSION = "2.8.0"
127
131
  end
128
132
 
129
133
  # import colorize gem
@@ -218,7 +222,7 @@ class PlayRockPaperScissorsGame
218
222
  end
219
223
  end
220
224
  end
221
- def player_outcome(plays)
225
+ def player_outcome(plays)6/7
222
226
  # plays = [player_choice, computer_choice]
223
227
  return :WIN if Constants::WINNERS.include?(plays)
224
228
  return :LOSE if Constants::LOSERS.include?(plays)
@@ -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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
13
 
@@ -70,7 +70,7 @@
70
70
  <span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
71
71
 
72
72
  <span class="k">module</span> <span class="nn">RockPaperScissors</span>
73
- <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.9"</span>
73
+ <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.0"</span>
74
74
  <span class="k">end</span>
75
75
 
76
76
  <span class="c1"># import the colorize gem</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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
13
 
@@ -70,6 +70,10 @@
70
70
  </li>
71
71
  </ul>
72
72
 
73
+ <!--
74
+ `rps`
75
+ -->
76
+
73
77
  <h2 id="beginners-code">Beginner’s Code</h2>
74
78
 
75
79
  <h3 id="beginners-code-pros">Beginner’s Code Pros</h3>
@@ -176,7 +180,7 @@
176
180
  <div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
177
181
 
178
182
  <span class="k">module</span> <span class="nn">RockPaperScissors</span>
179
- <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.9"</span>
183
+ <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.0"</span>
180
184
  <span class="k">end</span>
181
185
 
182
186
  <span class="c1"># import colorize gem</span>
@@ -271,7 +275,7 @@
271
275
  <span class="k">end</span>
272
276
  <span class="k">end</span>
273
277
  <span class="k">end</span>
274
- <span class="k">def</span> <span class="nf">player_outcome</span><span class="p">(</span><span class="n">plays</span><span class="p">)</span>
278
+ <span class="k">def</span> <span class="nf">player_outcome</span><span class="p">(</span><span class="n">plays</span><span class="p">)</span><span class="mi">6</span><span class="o">/</span><span class="mi">7</span>
275
279
  <span class="c1"># plays = [player_choice, computer_choice]</span>
276
280
  <span class="k">return</span> <span class="ss">:WIN</span> <span class="k">if</span> <span class="no">Constants</span><span class="o">::</span><span class="no">WINNERS</span><span class="p">.</span><span class="nf">include?</span><span class="p">(</span><span class="n">plays</span><span class="p">)</span>
277
281
  <span class="k">return</span> <span class="ss">:LOSE</span> <span class="k">if</span> <span class="no">Constants</span><span class="o">::</span><span class="no">LOSERS</span><span class="p">.</span><span class="nf">include?</span><span class="p">(</span><span class="n">plays</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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
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=5cf526ba5bb99750d90fbd026b056396a00402e9"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=40fd554ba233dd5dd885d735ee322f76b99fd56b"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
13
 
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.7.9"
2
+ VERSION = "2.8.0"
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.9"
3
+ spec.version = "2.8.0"
4
4
  spec.date = "2017-05-11"
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.7.9
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -136,10 +136,6 @@ files:
136
136
  - docs/_sass/normalize.scss
137
137
  - docs/_sass/rouge-github.scss
138
138
  - docs/_sass/variables.scss
139
- - docs/_site/Code.html
140
- - docs/_site/Comparing_Code.html
141
- - docs/_site/How_to_Build.html
142
- - docs/_site/Testing.html
143
139
  - docs/_site/about.html
144
140
  - docs/_site/assets/css/pace.css
145
141
  - docs/_site/assets/css/style.css
@@ -154,8 +150,12 @@ files:
154
150
  - docs/_site/assets/favicons/mstile-150x150.png
155
151
  - docs/_site/assets/favicons/safari-pinned-tab.svg
156
152
  - docs/_site/assets/js/pace.min.js
153
+ - docs/_site/code.html
154
+ - docs/_site/comparing_code.html
155
+ - docs/_site/how_to_build.html
157
156
  - docs/_site/how_to_run.html
158
157
  - docs/_site/index.html
158
+ - docs/_site/testing.html
159
159
  - docs/about.md
160
160
  - docs/assets/css/pace.css
161
161
  - docs/assets/css/style.scss
metadata.gz.sig CHANGED
Binary file