PlayRockPaperScissorsGame 2.7.4 → 2.7.5
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.tar.gz.sig +0 -0
- data/docs/Code.md +1 -1
- data/docs/Comparing_Code.md +1 -1
- data/docs/_config.yml +0 -1
- data/docs/_layouts/default.html +5 -3
- data/docs/_site/Code.html +2 -2
- data/docs/_site/Comparing_Code.html +2 -2
- 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/how_to_run.html +1 -1
- data/docs/_site/index.html +3 -3
- data/docs/index.md +2 -2
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +2 -2
- metadata +2 -3
- metadata.gz.sig +0 -0
- data/docs/Copying.md +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 456b78986adb981eac7450b8e76b04543678961b
|
4
|
+
data.tar.gz: 07c136aa9736404534d5b26d05ec52922e79e801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 900d62c5de03236dbf7ab7a116b9cd4dddbc72d8ddfebe93dd61dc1d26afff9b502c47a4fbabaa48f49a38d6210e9ce7b777c5efc1d68573e0a0494e65a2417d
|
7
|
+
data.tar.gz: 29e4c010f67aba511900ed044f9cdf0aaf93dcb8887e2856c45b00291a284f2586ab78cc79eb9f0b1ed48fe9dc24a6e9fee1db8cce09dd066b4ab9b7df71c44c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/docs/Code.md
CHANGED
data/docs/Comparing_Code.md
CHANGED
data/docs/_config.yml
CHANGED
data/docs/_layouts/default.html
CHANGED
@@ -11,9 +11,11 @@
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
{% comment %}
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
|====================================|
|
15
|
+
| Real favicon generatior: |
|
16
|
+
|------------------------------------|
|
17
|
+
| http://realfavicongenerator.net |
|
18
|
+
|____________________________________|
|
17
19
|
{% endcomment %}
|
18
20
|
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png"/>
|
19
21
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png"/>
|
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=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
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.5"</span>
|
76
76
|
<span class="k">end</span>
|
77
77
|
|
78
78
|
<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=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
@@ -172,7 +172,7 @@
|
|
172
172
|
<div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
173
173
|
|
174
174
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
175
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.
|
175
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.7.5"</span>
|
176
176
|
<span class="k">end</span>
|
177
177
|
|
178
178
|
<span class="c1"># import 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=
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
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=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
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=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
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/how_to_run.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=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
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=27d8f0ac0a440e01544062fafdc743b32880058c"/>
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
13
13
|
|
@@ -43,9 +43,9 @@
|
|
43
43
|
|
44
44
|
<h1 id="play-rock-paper-scissors-game">Play Rock Paper Scissors Game</h1>
|
45
45
|
|
46
|
-
<p>My <code class="highlighter-rouge">Play Rock Paper Scissors Game</code>
|
46
|
+
<p>My <code class="highlighter-rouge">Play Rock Paper Scissors Game</code> is programmed in the Ruby programming language.</p>
|
47
47
|
|
48
|
-
<p>I hope you will enjoy it! :]</p>
|
48
|
+
<p><strong>I hope you will enjoy it! :]</strong></p>
|
49
49
|
|
50
50
|
|
51
51
|
<footer class="site-footer">
|
data/docs/index.md
CHANGED
@@ -5,6 +5,6 @@ title: Play Rock Paper Scissors Game - Home
|
|
5
5
|
|
6
6
|
# Play Rock Paper Scissors Game
|
7
7
|
|
8
|
-
My `Play Rock Paper Scissors Game`
|
8
|
+
My `Play Rock Paper Scissors Game` is programmed in the Ruby programming language.
|
9
9
|
|
10
|
-
I hope you will enjoy it! :\]
|
10
|
+
**I hope you will enjoy it! :\]**
|
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "PlayRockPaperScissorsGame"
|
3
|
-
spec.version = "2.7.
|
4
|
-
spec.date = "2017-05-
|
3
|
+
spec.version = "2.7.5"
|
4
|
+
spec.date = "2017-05-10"
|
5
5
|
spec.summary = "A Rock Paper Scissors Ruby Gem"
|
6
6
|
spec.description = <<-EOF
|
7
7
|
A Ruby-programmed rock paper scissors game.
|
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.
|
4
|
+
version: 2.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bag3318
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
ft+uhriUZSVDBJRLSlrQEH2f0866a9dA4oUmvvFU46Mh6pozDjOcLJIp/tCnbVOc
|
31
31
|
HSdXPrjfOoDbhBPH/4wUd5P0rDoNKN1hxH4SzA==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2017-05-
|
33
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: bundler
|
@@ -123,7 +123,6 @@ files:
|
|
123
123
|
- certs/gem-public_cert.pem
|
124
124
|
- docs/Code.md
|
125
125
|
- docs/Comparing_Code.md
|
126
|
-
- docs/Copying.md
|
127
126
|
- docs/Gemfile
|
128
127
|
- docs/How_to_Build.md
|
129
128
|
- docs/How_to_Run.md
|
metadata.gz.sig
CHANGED
Binary file
|
data/docs/Copying.md
DELETED
@@ -1,45 +0,0 @@
|
|
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
|
-
```
|