PlayRockPaperScissorsGame 2.6.6 → 2.6.7

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: 2189461fd553b3ad78f97863753fb66c391dc1d7
4
- data.tar.gz: a80e1737f9f9c87835fab477f06a423436b53ebe
3
+ metadata.gz: bec22584f273d9af97c592cdd25a12fb1543b614
4
+ data.tar.gz: e86e9e8aca353351dbf1bcf6f4e1195831f624de
5
5
  SHA512:
6
- metadata.gz: 17fdab294ed652aac853d56155ba0f20b53e1314ffdbc5d102055d35483c53f9da7a5046b77fdf0c9c0fd8b046f8e9f9d530fa25644945235214418ae37ae109
7
- data.tar.gz: 5c943ad5998b12ed9856b22c1230e2406f24c0d7869c97587a5b117ef3cef154087b986d0eecec63f1cf53690c5c88f4c332f57c691bb02851157a4126713c5d
6
+ metadata.gz: dae0c7bc8b625ef2f84d2cac83b2d12d9daf435a422a39028867e14cd6ce375004f6bac952adce684547c0c9b7b5f2efdea40975568519468f9d089dc0095a1b
7
+ data.tar.gz: 6a78d454869f4c81aac7068f5861b7d56dd4750f4f23505ae36e2dfbb7cf7a4047cf4012d28fb71d67d491a6fbed56443c9d724c57675a3ff9d1f7cf7f597331
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.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.6.6"
40
+ VERSION = "2.6.7"
41
41
  end
42
42
 
43
43
  # import the colorize gem
@@ -89,7 +89,7 @@ end
89
89
  class PlayRockPaperScissorsGame
90
90
 
91
91
  module RockPaperScissors
92
- VERSION = "2.6.6"
92
+ VERSION = "2.6.7"
93
93
  end
94
94
 
95
95
  # import colorize gem
data/docs/Copying.md ADDED
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ title: Copying - Play Rock Paper Scissors Game
4
+ permalink: /copying.html
5
+ ---
6
+
7
+ # Rules for Copying
8
+
9
+ Since this project has an [MIT](https://en.wikipedia.org/wiki/MIT_License), one will be allowed to copy the code.
10
+ However, one must follow this main rule:
11
+
12
+ * **Change the code in some way**
13
+
14
+ The above rule means that you must change any part of the code by physically adding or removing something from it.
15
+
16
+ **This does not include adding a <kbd>space</kbd> or a <kbd>carriage return (enter/return)</kbd>**
17
+
18
+ **The best way to follow the above rule is to add or remove a comment from the code**.
19
+
20
+ Ex.
21
+
22
+ ## Before
23
+
24
+ ```ruby
25
+ module Constants
26
+ NTRY_TO_SYM = { # define entry to symbol (key to value)
27
+ 'p' => :PAPER ,
28
+ 'r' => :ROCK ,
29
+ 's' => :SCISSORS
30
+ }
31
+ # .....
32
+ ```
33
+
34
+ ## After
35
+
36
+ ```ruby
37
+ module Constants
38
+ NTRY_TO_SYM = {
39
+ 'p' => :PAPER ,
40
+ 'r' => :ROCK ,
41
+ 's' => :SCISSORS
42
+ }
43
+ # .....
44
+
45
+ ```
@@ -10,6 +10,11 @@
10
10
  <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+ {% comment %}
14
+ Real favicon generatior:
15
+ ---------------------------------
16
+ http://realfavicongenerator.net
17
+ {% endcomment %}
13
18
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
19
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
20
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -48,7 +53,7 @@
48
53
  <h2 id="site-nav">Site Nav</h2>
49
54
  <table>
50
55
  <tr>
51
- <td><a href="./">Home</a>
56
+ <td><a href="./">Home</a></td>
52
57
  <td><a href="{{ domain }}Code">Master Code</a></td>
53
58
  <td><a href="{{ domain }}Comparing_Code">Comparing Code</a></td>
54
59
  <td><a href="{{ domain }}Testing">How to Test</a></td>
data/docs/_site/Code.html CHANGED
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -70,7 +71,7 @@
70
71
  <span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
71
72
 
72
73
  <span class="k">module</span> <span class="nn">RockPaperScissors</span>
73
- <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.6"</span>
74
+ <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.7"</span>
74
75
  <span class="k">end</span>
75
76
 
76
77
  <span class="c1"># import the colorize gem</span>
@@ -195,7 +196,7 @@
195
196
  <h2 id="site-nav">Site Nav</h2>
196
197
  <table>
197
198
  <tr>
198
- <td><a href="./">Home</a>
199
+ <td><a href="./">Home</a></td>
199
200
  <td><a href="Code">Master Code</a></td>
200
201
  <td><a href="Comparing_Code">Comparing Code</a></td>
201
202
  <td><a href="Testing">How to Test</a></td>
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -144,7 +145,7 @@
144
145
  <div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
145
146
 
146
147
  <span class="k">module</span> <span class="nn">RockPaperScissors</span>
147
- <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.6"</span>
148
+ <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.7"</span>
148
149
  <span class="k">end</span>
149
150
 
150
151
  <span class="c1"># import colorize gem</span>
@@ -268,7 +269,7 @@
268
269
  <h2 id="site-nav">Site Nav</h2>
269
270
  <table>
270
271
  <tr>
271
- <td><a href="./">Home</a>
272
+ <td><a href="./">Home</a></td>
272
273
  <td><a href="Code">Master Code</a></td>
273
274
  <td><a href="Comparing_Code">Comparing Code</a></td>
274
275
  <td><a href="Testing">How to Test</a></td>
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -72,7 +73,7 @@
72
73
  <h2 id="site-nav">Site Nav</h2>
73
74
  <table>
74
75
  <tr>
75
- <td><a href="./">Home</a>
76
+ <td><a href="./">Home</a></td>
76
77
  <td><a href="Code">Master Code</a></td>
77
78
  <td><a href="Comparing_Code">Comparing Code</a></td>
78
79
  <td><a href="Testing">How to Test</a></td>
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -65,7 +66,7 @@
65
66
  <h2 id="site-nav">Site Nav</h2>
66
67
  <table>
67
68
  <tr>
68
- <td><a href="./">Home</a>
69
+ <td><a href="./">Home</a></td>
69
70
  <td><a href="Code">Master Code</a></td>
70
71
  <td><a href="Comparing_Code">Comparing Code</a></td>
71
72
  <td><a href="Testing">How to Test</a></td>
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -72,7 +73,7 @@ I have decided to code a Ruby-programmed RPS game that uses full CLI<sup>2</sup>
72
73
  <h2 id="site-nav">Site Nav</h2>
73
74
  <table>
74
75
  <tr>
75
- <td><a href="./">Home</a>
76
+ <td><a href="./">Home</a></td>
76
77
  <td><a href="Code">Master Code</a></td>
77
78
  <td><a href="Comparing_Code">Comparing Code</a></td>
78
79
  <td><a href="Testing">How to Test</a></td>
@@ -0,0 +1,109 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-us">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>Copying - Play Rock Paper Scissors Game</title>
6
+ <meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
+ <meta name="theme-color" content="#157878"/>
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=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
+ <link rel="stylesheet" href="assets/css/pace.css" />
12
+ <script src="assets/js/pace.min.js"></script>
13
+
14
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
15
+ <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
16
+ <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
17
+ <link rel="manifest" href="/assets/favicon/manifest.json">
18
+ <link rel="mask-icon" href="/assets/favicon/safari-pinned-tab.svg" color="#5bbad5">
19
+ <meta name="theme-color" content="#ffffff">
20
+ </head>
21
+ <body>
22
+
23
+ <section class="page-header">
24
+ <h1 class="project-name">Play Rock Paper Scissors Game</h1>
25
+ <h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
26
+
27
+ <a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
28
+ <a href="http://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
29
+
30
+
31
+ <a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
32
+ <a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
33
+
34
+ <br/>
35
+
36
+ <a href="#site-nav" class="btn">Site Nav</a>
37
+
38
+
39
+ <a href="./" class="btn">Home</a>
40
+
41
+ </section>
42
+
43
+ <section class="main-content">
44
+
45
+ <h1 id="rules-for-copying">Rules for Copying</h1>
46
+
47
+ <p>Since this project has an <a href="https://en.wikipedia.org/wiki/MIT_License">MIT</a>, one will be allowed to copy the code.
48
+ However, one must follow this main rule:</p>
49
+
50
+ <ul>
51
+ <li><strong>Change the code in some way</strong></li>
52
+ </ul>
53
+
54
+ <p>The above rule means that you must change any part of the code by physically adding or removing something from it.</p>
55
+
56
+ <p><strong>This does not include adding a <kbd>space</kbd> or a <kbd>carriage return (enter/return)</kbd></strong></p>
57
+
58
+ <p><strong>The best way to follow the above rule is to add or remove a comment from the code</strong>.</p>
59
+
60
+ <p>Ex.</p>
61
+
62
+ <h2 id="before">Before</h2>
63
+
64
+ <div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">module</span> <span class="nn">Constants</span>
65
+ <span class="no">NTRY_TO_SYM</span> <span class="o">=</span> <span class="p">{</span> <span class="c1"># define entry to symbol (key to value)</span>
66
+ <span class="s1">'p'</span> <span class="o">=&gt;</span> <span class="ss">:PAPER</span> <span class="p">,</span>
67
+ <span class="s1">'r'</span> <span class="o">=&gt;</span> <span class="ss">:ROCK</span> <span class="p">,</span>
68
+ <span class="s1">'s'</span> <span class="o">=&gt;</span> <span class="ss">:SCISSORS</span>
69
+ <span class="p">}</span>
70
+ <span class="c1"># ..... </span>
71
+ </code></pre>
72
+ </div>
73
+
74
+ <h2 id="after">After</h2>
75
+
76
+ <div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">module</span> <span class="nn">Constants</span>
77
+ <span class="no">NTRY_TO_SYM</span> <span class="o">=</span> <span class="p">{</span>
78
+ <span class="s1">'p'</span> <span class="o">=&gt;</span> <span class="ss">:PAPER</span> <span class="p">,</span>
79
+ <span class="s1">'r'</span> <span class="o">=&gt;</span> <span class="ss">:ROCK</span> <span class="p">,</span>
80
+ <span class="s1">'s'</span> <span class="o">=&gt;</span> <span class="ss">:SCISSORS</span>
81
+ <span class="p">}</span>
82
+ <span class="c1"># .....</span>
83
+
84
+ </code></pre>
85
+ </div>
86
+
87
+
88
+ <footer class="site-footer">
89
+
90
+ <h2 id="site-nav">Site Nav</h2>
91
+ <table>
92
+ <tr>
93
+ <td><a href="./">Home</a></td>
94
+ <td><a href="Code">Master Code</a></td>
95
+ <td><a href="Comparing_Code">Comparing Code</a></td>
96
+ <td><a href="Testing">How to Test</a></td>
97
+ <td><a href="How_to_Build">How to Build</a></td>
98
+ <td><a href="about">About</a></td>
99
+ </tr>
100
+ </table>
101
+ <br/>
102
+ <span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
103
+
104
+ </footer>
105
+ </section>
106
+
107
+
108
+ </body>
109
+ </html>
@@ -7,9 +7,10 @@
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=753a34724b35c175aa76baf3400cf4f83e7c402e"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=c4acceedc509ba50685148bfe85234a78eb5ab26"/>
11
11
  <link rel="stylesheet" href="assets/css/pace.css" />
12
12
  <script src="assets/js/pace.min.js"></script>
13
+
13
14
  <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
14
15
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
15
16
  <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
@@ -121,7 +122,7 @@
121
122
  <h2 id="site-nav">Site Nav</h2>
122
123
  <table>
123
124
  <tr>
124
- <td><a href="./">Home</a>
125
+ <td><a href="./">Home</a></td>
125
126
  <td><a href="Code">Master Code</a></td>
126
127
  <td><a href="Comparing_Code">Comparing Code</a></td>
127
128
  <td><a href="Testing">How to Test</a></td>
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.6.6"
2
+ VERSION = "2.6.7"
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.6"
3
+ spec.version = "2.6.7"
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.6
4
+ version: 2.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -123,6 +123,7 @@ files:
123
123
  - certs/gem-public_cert.pem
124
124
  - docs/Code.md
125
125
  - docs/Comparing_Code.md
126
+ - docs/Copying.md
126
127
  - docs/Gemfile
127
128
  - docs/How_to_Build.md
128
129
  - docs/LICENSE
@@ -151,6 +152,7 @@ files:
151
152
  - docs/_site/assets/favicons/mstile-150x150.png
152
153
  - docs/_site/assets/favicons/safari-pinned-tab.svg
153
154
  - docs/_site/assets/js/pace.min.js
155
+ - docs/_site/copying.html
154
156
  - docs/_site/index.html
155
157
  - docs/_site/script/bootstrap
156
158
  - docs/_site/script/cibuild
metadata.gz.sig CHANGED
Binary file