PlayRockPaperScissorsGame 2.8.6 → 2.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +12 -0
- data/docs/Code.md +1 -1
- data/docs/How_to_Run.md +15 -0
- data/docs/_site/about.html +1 -1
- data/docs/_site/code.html +2 -2
- data/docs/_site/comparing_code.html +1 -1
- data/docs/_site/how_to_build.html +1 -1
- data/docs/_site/how_to_run.html +22 -1
- data/docs/_site/index.html +1 -1
- data/docs/_site/testing.html +1 -1
- data/exec/uninstall.bat +23 -0
- data/exec/update.bat +23 -0
- data/exec/update.sh +29 -0
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- metadata +4 -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: 23797206cc342c189737b2b1359295290c8de862
|
|
4
|
+
data.tar.gz: 4425cb0de7de2eaa2337415dc162710d544574d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c5177555dfc864665cc2d574cef969682655ed43995cde10f4371bb2732eb6ccd63868d0ff99d25656ea408873ff4d29e14385eff0063c91252dec45a80b7b5
|
|
7
|
+
data.tar.gz: 101bf9eb965fc8d8c19db00f9d3a08f3c55044f3fceaa4ba02d28a0f3ab0d57aed06795c43ab0a46304d76f58aff76599002942f8793142b62915375bf6d1e31
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/README.md
CHANGED
|
@@ -20,6 +20,10 @@ How to Run and Install
|
|
|
20
20
|
|
|
21
21
|
1. Run the `uninstaller.sh` file (located in the `exec` folder) with the `Terminal`
|
|
22
22
|
|
|
23
|
+
#### Updating
|
|
24
|
+
|
|
25
|
+
1. Run the `update.sh` file (located in the `exec` folder) in the Terminal
|
|
26
|
+
|
|
23
27
|
### Install and Run on Windows
|
|
24
28
|
|
|
25
29
|
1. Download and install Ruby for Windows (if not already installed); download [here](https://rubyinstaller.org/downloads/)
|
|
@@ -31,6 +35,14 @@ How to Run and Install
|
|
|
31
35
|
1. Open the `rps.bat` file (located in the `exec` folder)
|
|
32
36
|
* Another option: type in `rps` or `PlayRockPaperScissorsGame` in the `Command Prompt`; hit <kbd>enter</kbd>
|
|
33
37
|
|
|
38
|
+
#### Uninstalling
|
|
39
|
+
|
|
40
|
+
1. Open the `uninstall.bat` file lcoated in the `exec` folder
|
|
41
|
+
|
|
42
|
+
#### Updating
|
|
43
|
+
|
|
44
|
+
1. Open the `update.bat` file (located in the `exec` folder) with `CMD`
|
|
45
|
+
|
|
34
46
|
## Links
|
|
35
47
|
|
|
36
48
|
* [Ruby Gems Page](https://rubygems.org/gems/PlayRockPaperScissorsGame)
|
data/docs/Code.md
CHANGED
data/docs/How_to_Run.md
CHANGED
|
@@ -16,8 +16,11 @@ Rock Paper Scissors
|
|
|
16
16
|
- [Install and Run on Mac](#install-and-run-on-mac)
|
|
17
17
|
- [Running](#running)
|
|
18
18
|
- [Uninstalling](#uninstalling)
|
|
19
|
+
- [Updating](#updating)
|
|
19
20
|
- [Install and Run on Windows](#install-and-run-on-windows)
|
|
20
21
|
- [Running](#running-1)
|
|
22
|
+
- [Uninstalling](#uninstalling-1)
|
|
23
|
+
- [Updating](#updating-1)
|
|
21
24
|
- [Links](#links)
|
|
22
25
|
|
|
23
26
|
How to Run and Install
|
|
@@ -37,6 +40,10 @@ How to Run and Install
|
|
|
37
40
|
|
|
38
41
|
1. Run the `uninstaller.sh` file (located in the `exec` folder) with the `Terminal`
|
|
39
42
|
|
|
43
|
+
#### Updating
|
|
44
|
+
|
|
45
|
+
1. Run the `update.sh` file (located in the `exec` folder) in the Terminal
|
|
46
|
+
|
|
40
47
|
### Install and Run on Windows
|
|
41
48
|
|
|
42
49
|
1. Download and install Ruby for Windows (if not already installed); download [here](https://rubyinstaller.org/downloads/)
|
|
@@ -48,6 +55,14 @@ How to Run and Install
|
|
|
48
55
|
1. Open the `rps.bat` file (located in the `exec` folder)
|
|
49
56
|
* Another option: type in `rps` or `PlayRockPaperScissorsGame` in the `Command Prompt`; hit <kbd>enter</kbd>
|
|
50
57
|
|
|
58
|
+
#### Uninstalling
|
|
59
|
+
|
|
60
|
+
1. Open the `uninstall.bat` file lcoated in the `exec` folder
|
|
61
|
+
|
|
62
|
+
#### Updating
|
|
63
|
+
|
|
64
|
+
1. Open the `update.bat` file (located in the `exec` folder) with `CMD`
|
|
65
|
+
|
|
51
66
|
## Links
|
|
52
67
|
|
|
53
68
|
+ [Ruby Gems Page](https://rubygems.org/gems/PlayRockPaperScissorsGame)
|
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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
|
70
70
|
|
|
71
71
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
|
72
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.
|
|
72
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.7"</span>
|
|
73
73
|
<span class="k">end</span>
|
|
74
74
|
|
|
75
75
|
<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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
|
@@ -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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
|
@@ -56,11 +56,14 @@
|
|
|
56
56
|
<ul>
|
|
57
57
|
<li><a href="#running">Running</a></li>
|
|
58
58
|
<li><a href="#uninstalling">Uninstalling</a></li>
|
|
59
|
+
<li><a href="#updating">Updating</a></li>
|
|
59
60
|
</ul>
|
|
60
61
|
</li>
|
|
61
62
|
<li><a href="#install-and-run-on-windows">Install and Run on Windows</a>
|
|
62
63
|
<ul>
|
|
63
64
|
<li><a href="#running-1">Running</a></li>
|
|
65
|
+
<li><a href="#uninstalling-1">Uninstalling</a></li>
|
|
66
|
+
<li><a href="#updating-1">Updating</a></li>
|
|
64
67
|
</ul>
|
|
65
68
|
</li>
|
|
66
69
|
</ul>
|
|
@@ -92,6 +95,12 @@
|
|
|
92
95
|
<li>Run the <code class="highlighter-rouge">uninstaller.sh</code> file (located in the <code class="highlighter-rouge">exec</code> folder) with the <code class="highlighter-rouge">Terminal</code></li>
|
|
93
96
|
</ol>
|
|
94
97
|
|
|
98
|
+
<h4 id="updating">Updating</h4>
|
|
99
|
+
|
|
100
|
+
<ol>
|
|
101
|
+
<li>Run the <code class="highlighter-rouge">update.sh</code> file (located in the <code class="highlighter-rouge">exec</code> folder) in the Terminal</li>
|
|
102
|
+
</ol>
|
|
103
|
+
|
|
95
104
|
<h3 id="install-and-run-on-windows">Install and Run on Windows</h3>
|
|
96
105
|
|
|
97
106
|
<ol>
|
|
@@ -110,6 +119,18 @@
|
|
|
110
119
|
</li>
|
|
111
120
|
</ol>
|
|
112
121
|
|
|
122
|
+
<h4 id="uninstalling-1">Uninstalling</h4>
|
|
123
|
+
|
|
124
|
+
<ol>
|
|
125
|
+
<li>Open the <code class="highlighter-rouge">uninstall.bat</code> file lcoated in the <code class="highlighter-rouge">exec</code> folder</li>
|
|
126
|
+
</ol>
|
|
127
|
+
|
|
128
|
+
<h4 id="updating-1">Updating</h4>
|
|
129
|
+
|
|
130
|
+
<ol>
|
|
131
|
+
<li>Open the <code class="highlighter-rouge">update.bat</code> file (located in the <code class="highlighter-rouge">exec</code> folder) with <code class="highlighter-rouge">CMD</code></li>
|
|
132
|
+
</ol>
|
|
133
|
+
|
|
113
134
|
<h2 id="links">Links</h2>
|
|
114
135
|
|
|
115
136
|
<ul>
|
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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
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=bf6ec5a78a162d5292114fcb1a031ba03f4b561e"/>
|
|
11
11
|
<script src="assets/js/pace.min.js"></script>
|
|
12
12
|
|
|
13
13
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
data/exec/uninstall.bat
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
:master
|
|
4
|
+
|
|
5
|
+
:confirm
|
|
6
|
+
CHOICE /C YN "Would you like to uninstall RPS?"
|
|
7
|
+
IF "%ERRORLEVEL%" == "1" CALL:process
|
|
8
|
+
IF "%ERRORLEVEL%" == "2" CALL:exiting
|
|
9
|
+
GOTO:EOF
|
|
10
|
+
|
|
11
|
+
:process
|
|
12
|
+
START cmd.exe /K gem uninstall PlayRockPaperScissorsGame
|
|
13
|
+
IF %ERRORLEVEL% EQU 9009 (
|
|
14
|
+
ECHO error - cmd.exe file not found in your PATH
|
|
15
|
+
)
|
|
16
|
+
GOTO:EOF
|
|
17
|
+
|
|
18
|
+
:exiting
|
|
19
|
+
EXIT
|
|
20
|
+
GOTO:EOF
|
|
21
|
+
GOTO:EOF
|
|
22
|
+
|
|
23
|
+
CALL:master
|
data/exec/update.bat
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
:master
|
|
4
|
+
|
|
5
|
+
:confirm
|
|
6
|
+
CHOICE /C YN "Would you like to update RPS?"
|
|
7
|
+
IF "%ERRORLEVEL%" == "1" CALL:process
|
|
8
|
+
IF "%ERRORLEVEL%" == "2" CALL:exiting
|
|
9
|
+
GOTO:EOF
|
|
10
|
+
|
|
11
|
+
:process
|
|
12
|
+
START cmd.exe /K gem update PlayRockPaperScissorsGame
|
|
13
|
+
IF %ERRORLEVEL% EQU 9009 (
|
|
14
|
+
ECHO error - cmd.exe file not found in your PATH
|
|
15
|
+
)
|
|
16
|
+
GOTO:EOF
|
|
17
|
+
|
|
18
|
+
:exiting
|
|
19
|
+
EXIT
|
|
20
|
+
GOTO:EOF
|
|
21
|
+
GOTO:EOF
|
|
22
|
+
|
|
23
|
+
CALL:master
|
data/exec/update.sh
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
master() {
|
|
4
|
+
echo "Would you like to update RPS?";
|
|
5
|
+
process() {
|
|
6
|
+
gem update PlayRockPaperScissorsGame;
|
|
7
|
+
echo "Finished!";
|
|
8
|
+
}
|
|
9
|
+
confirm() {
|
|
10
|
+
echo "Press U to update or press C to cancel";
|
|
11
|
+
while read -r -n 1 -s answer; do
|
|
12
|
+
if [[ $answer = [UuCc] ]]; then
|
|
13
|
+
[[ $answer = [Uu] ]] && retval=0;
|
|
14
|
+
[[ $answer = [Cc] ]] && retval=1;
|
|
15
|
+
break;
|
|
16
|
+
fi;
|
|
17
|
+
done;
|
|
18
|
+
return $retval;
|
|
19
|
+
}
|
|
20
|
+
init() {
|
|
21
|
+
if confirm; then
|
|
22
|
+
process;
|
|
23
|
+
else
|
|
24
|
+
exit;
|
|
25
|
+
fi;
|
|
26
|
+
}
|
|
27
|
+
init;
|
|
28
|
+
}
|
|
29
|
+
master;
|
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
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.8.
|
|
4
|
+
version: 2.8.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bag3318
|
|
@@ -179,7 +179,10 @@ files:
|
|
|
179
179
|
- docs/thumbnail.png
|
|
180
180
|
- exec/rps.bash
|
|
181
181
|
- exec/run.bat
|
|
182
|
+
- exec/uninstall.bat
|
|
182
183
|
- exec/uninstall.sh
|
|
184
|
+
- exec/update.bat
|
|
185
|
+
- exec/update.sh
|
|
183
186
|
- lib/Constants.rb
|
|
184
187
|
- lib/PrivateMethods.rb
|
|
185
188
|
- lib/rps/version.rb
|
metadata.gz.sig
CHANGED
|
Binary file
|