PlayRockPaperScissorsGame 2.8.6 → 2.8.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: d4e876019f092f56101ecedcf51a86071380b244
4
- data.tar.gz: b715bece72485ce46288ee6df4dea7983bc63f03
3
+ metadata.gz: 23797206cc342c189737b2b1359295290c8de862
4
+ data.tar.gz: 4425cb0de7de2eaa2337415dc162710d544574d6
5
5
  SHA512:
6
- metadata.gz: 349014b412e0cc7ed6398ae0c7dddbdd0b230ca607eceef33a8a201abfefc3f2c0313d7cda228432dbefd2bf8ac6a7c47266228d42092a8f5a21547d997ebab2
7
- data.tar.gz: 49f5a0df586b99978adfd64a7b83b7fcbc91daf617fd76c7dc7f99f9003c2dfa04f3aa8ed6d74a86239ae82e3d57d14d3993437333762a5b62977e6364d59e52
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
@@ -35,7 +35,7 @@ Master Code
35
35
  class PlayRockPaperScissorsGame
36
36
 
37
37
  module RockPaperScissors
38
- VERSION = "2.8.6"
38
+ VERSION = "2.8.7"
39
39
  end
40
40
 
41
41
  # import the colorize gem
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)
@@ -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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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.6"</span>
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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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>
@@ -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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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=8c789cb261c6c2cfd319be3a4d0e8192f270212b"/>
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"/>
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.8.6"
2
+ VERSION = "2.8.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.8.6"
3
+ spec.version = "2.8.7"
4
4
  spec.date = "2017-08-29"
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.8.6
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