rpsg 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/bin/rpsg +1 -1
- data/doc/PrivateMethods.html +2 -9
- data/doc/RockPaperScissorsGame.html +1 -1
- data/doc/created.rid +4 -4
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/docs/_pages/code.txt +3 -10
- data/docs/_site/bundler.html +1 -1
- data/docs/_site/code.html +4 -11
- data/docs/_site/index.html +1 -1
- data/docs/_site/install.html +1 -1
- data/docs/_site/readme.html +1 -1
- data/docs/_site/simple.html +1 -1
- data/docs/_site/test.html +1 -1
- data/docs/_site/uninstall.html +1 -1
- data/docs/_site/update.html +1 -1
- data/lib/Main.rb +2 -2
- data/lib/PrivateMethods.rb +0 -7
- data/lib/rpsg/version.rb +1 -1
- data/rpsg.gemspec +6 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6547c0f86bb7f238f8dc755ec98e3ad165ff162f
|
4
|
+
data.tar.gz: 1cb24d0cd059ee10d1f73bfa1ed34b4530eff5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f79872072208d3aaea83e5d12f651bc6bed23a0a3dd9ca003878b66aa7ad52b84689404d0ddf93b81bb2db54f5fec8b5e455a8d712a7cd383835ae101e96a2
|
7
|
+
data.tar.gz: 995b35c960ef10cf7ed9284a315013d0a7c326fa3c2d1742eefe8fe19925df487c9e4d9e1dbc88b3309ac8006da5090ddc7c4faa8aadd48f8345faf58b81a8de
|
data/.gitignore
CHANGED
data/bin/rpsg
CHANGED
data/doc/PrivateMethods.html
CHANGED
@@ -125,7 +125,7 @@
|
|
125
125
|
|
126
126
|
|
127
127
|
<div class="method-source-code" id="final_outcome-source">
|
128
|
-
<pre><span class="ruby-comment"># File lib/PrivateMethods.rb, line
|
128
|
+
<pre><span class="ruby-comment"># File lib/PrivateMethods.rb, line 26</span>
|
129
129
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">final_outcome</span>(<span class="ruby-identifier">pl</span>,<span class="ruby-identifier">co</span>)
|
130
130
|
<span class="ruby-keyword">return</span> <span class="ruby-value">:WIN</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">pl</span> <span class="ruby-operator">></span> <span class="ruby-identifier">co</span>
|
131
131
|
<span class="ruby-keyword">return</span> <span class="ruby-value">:LOSE</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">pl</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">co</span>
|
@@ -173,13 +173,6 @@
|
|
173
173
|
<span class="ruby-keyword">else</span>
|
174
174
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span>
|
175
175
|
<span class="ruby-keyword">end</span>
|
176
|
-
<span class="ruby-comment"># # one may also do this:</span>
|
177
|
-
<span class="ruby-comment"># case</span>
|
178
|
-
<span class="ruby-comment"># when Constants::NTRY_TO_SYM.key?(choice)</span>
|
179
|
-
<span class="ruby-comment"># return Constants::NTRY_TO_SYM[choice]</span>
|
180
|
-
<span class="ruby-comment"># when choice != Constants::VALID_ENTRIES</span>
|
181
|
-
<span class="ruby-comment"># puts "That entry is invalid. Please re-enter." </span>
|
182
|
-
<span class="ruby-comment"># end</span>
|
183
176
|
<span class="ruby-keyword">end</span>
|
184
177
|
<span class="ruby-keyword">end</span></pre>
|
185
178
|
</div>
|
@@ -211,7 +204,7 @@
|
|
211
204
|
|
212
205
|
|
213
206
|
<div class="method-source-code" id="player_outcome-source">
|
214
|
-
<pre><span class="ruby-comment"># File lib/PrivateMethods.rb, line
|
207
|
+
<pre><span class="ruby-comment"># File lib/PrivateMethods.rb, line 20</span>
|
215
208
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">player_outcome</span>(<span class="ruby-identifier">plays</span>)
|
216
209
|
<span class="ruby-keyword">return</span> <span class="ruby-value">:WIN</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">Constants</span><span class="ruby-operator">::</span><span class="ruby-constant">WINNERS</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">plays</span>)
|
217
210
|
<span class="ruby-keyword">return</span> <span class="ruby-value">:LOSE</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">Constants</span><span class="ruby-operator">::</span><span class="ruby-constant">LOSERS</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">plays</span>)
|
@@ -216,7 +216,7 @@ scissors</p>
|
|
216
216
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">play</span>(<span class="ruby-identifier">winning_score</span>)
|
217
217
|
<span class="ruby-comment"># make while loop</span>
|
218
218
|
<span class="ruby-keyword">while</span> <span class="ruby-ivar">@player_score</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">winning_score</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@computer_score</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">winning_score</span>
|
219
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"
|
219
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"\nPlayer score: #{@player_score}, "</span> <span class="ruby-operator">+</span>
|
220
220
|
<span class="ruby-node">"Computer score: #{@computer_score}, Ties: #{@ties}.\n"</span>
|
221
221
|
<span class="ruby-identifier">player</span> = <span class="ruby-constant">PrivateMethods</span>.<span class="ruby-identifier">player_choice</span>
|
222
222
|
<span class="ruby-identifier">computer</span> = <span class="ruby-constant">Constants</span><span class="ruby-operator">::</span><span class="ruby-constant">COMPUTER_CHOICES</span>.<span class="ruby-identifier">sample</span> <span class="ruby-comment"># chooses a random option</span>
|
data/doc/created.rid
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
1
|
+
Tue, 24 Oct 2017 17:27:09 -0700
|
2
2
|
lib/Constants.rb Mon, 16 Oct 2017 10:51:39 -0700
|
3
|
-
lib/Main.rb
|
4
|
-
lib/PrivateMethods.rb
|
5
|
-
lib/rpsg/version.rb Mon, 16 Oct 2017 11:
|
3
|
+
lib/Main.rb Tue, 24 Oct 2017 17:23:31 -0700
|
4
|
+
lib/PrivateMethods.rb Thu, 19 Oct 2017 11:49:56 -0700
|
5
|
+
lib/rpsg/version.rb Mon, 16 Oct 2017 11:53:55 -0700
|
data/doc/js/navigation.js.gz
CHANGED
Binary file
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/docs/_pages/code.txt
CHANGED
@@ -36,7 +36,7 @@ class RockPaperScissorsGame
|
|
36
36
|
# specify the version for the rubygem
|
37
37
|
module RPSG
|
38
38
|
# create version constant for the rubygem
|
39
|
-
VERSION = "0.3.
|
39
|
+
VERSION = "0.3.5"
|
40
40
|
end
|
41
41
|
|
42
42
|
# create module that holds all contents for this script
|
@@ -89,7 +89,7 @@ class RockPaperScissorsGame
|
|
89
89
|
end
|
90
90
|
|
91
91
|
# print out strings
|
92
|
-
continue("
|
92
|
+
continue("\nYou are about to enter a rock-paper-scissors best of 3 match.", "\nPress the return/enter key to continue...", "")
|
93
93
|
|
94
94
|
# initialize variables
|
95
95
|
def initialize
|
@@ -101,7 +101,7 @@ class RockPaperScissorsGame
|
|
101
101
|
def play(winning_score)
|
102
102
|
# make while loop
|
103
103
|
while @player_score < winning_score && @computer_score < winning_score
|
104
|
-
puts "
|
104
|
+
puts "\nPlayer score: #{@player_score}, " +
|
105
105
|
"Computer score: #{@computer_score}, Ties: #{@ties}.\n"
|
106
106
|
player = PrivateMethods.player_choice
|
107
107
|
computer = Constants::COMPUTER_CHOICES.sample # chooses a random option
|
@@ -149,13 +149,6 @@ class RockPaperScissorsGame
|
|
149
149
|
else
|
150
150
|
return nil
|
151
151
|
end
|
152
|
-
# # one may also do this:
|
153
|
-
# case
|
154
|
-
# when Constants::NTRY_TO_SYM.key?(choice)
|
155
|
-
# return Constants::NTRY_TO_SYM[choice]
|
156
|
-
# when choice != Constants::VALID_ENTRIES
|
157
|
-
# puts "That entry is invalid. Please re-enter."
|
158
|
-
# end
|
159
152
|
end
|
160
153
|
end
|
161
154
|
# define outcomes of players choice against cpu
|
data/docs/_site/bundler.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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"/>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<span class="c1"># specify the version for the rubygem</span>
|
75
75
|
<span class="k">module</span> <span class="nn">RPSG</span>
|
76
76
|
<span class="c1"># create version constant for the rubygem</span>
|
77
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"0.3.
|
77
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"0.3.5"</span>
|
78
78
|
<span class="k">end</span>
|
79
79
|
|
80
80
|
<span class="c1"># create module that holds all contents for this script</span>
|
@@ -127,7 +127,7 @@
|
|
127
127
|
<span class="k">end</span>
|
128
128
|
|
129
129
|
<span class="c1"># print out strings</span>
|
130
|
-
<span class="n">continue</span><span class="p">(</span><span class="s2">"You are about to enter a rock-paper-scissors best of 3 match."</span><span class="p">,</span> <span class="s2">"Press the return/enter key to continue..."</span><span class="p">,</span> <span class="s2">""</span><span class="p">)</span>
|
130
|
+
<span class="n">continue</span><span class="p">(</span><span class="s2">"</span><span class="se">\n</span><span class="s2">You are about to enter a rock-paper-scissors best of 3 match."</span><span class="p">,</span> <span class="s2">"</span><span class="se">\n</span><span class="s2">Press the return/enter key to continue..."</span><span class="p">,</span> <span class="s2">""</span><span class="p">)</span>
|
131
131
|
|
132
132
|
<span class="c1"># initialize variables</span>
|
133
133
|
<span class="k">def</span> <span class="nf">initialize</span>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
<span class="k">def</span> <span class="nf">play</span><span class="p">(</span><span class="n">winning_score</span><span class="p">)</span>
|
140
140
|
<span class="c1"># make while loop</span>
|
141
141
|
<span class="k">while</span> <span class="vi">@player_score</span> <span class="o"><</span> <span class="n">winning_score</span> <span class="o">&&</span> <span class="vi">@computer_score</span> <span class="o"><</span> <span class="n">winning_score</span>
|
142
|
-
<span class="nb">puts</span> <span class="s2">"Player score: </span><span class="si">#{</span><span class="vi">@player_score</span><span class="si">}</span><span class="s2">, "</span> <span class="o">+</span>
|
142
|
+
<span class="nb">puts</span> <span class="s2">"</span><span class="se">\n</span><span class="s2">Player score: </span><span class="si">#{</span><span class="vi">@player_score</span><span class="si">}</span><span class="s2">, "</span> <span class="o">+</span>
|
143
143
|
<span class="s2">"Computer score: </span><span class="si">#{</span><span class="vi">@computer_score</span><span class="si">}</span><span class="s2">, Ties: </span><span class="si">#{</span><span class="vi">@ties</span><span class="si">}</span><span class="s2">.</span><span class="se">\n</span><span class="s2">"</span>
|
144
144
|
<span class="n">player</span> <span class="o">=</span> <span class="no">PrivateMethods</span><span class="p">.</span><span class="nf">player_choice</span>
|
145
145
|
<span class="n">computer</span> <span class="o">=</span> <span class="no">Constants</span><span class="o">::</span><span class="no">COMPUTER_CHOICES</span><span class="p">.</span><span class="nf">sample</span> <span class="c1"># chooses a random option</span>
|
@@ -187,13 +187,6 @@
|
|
187
187
|
<span class="k">else</span>
|
188
188
|
<span class="k">return</span> <span class="kp">nil</span>
|
189
189
|
<span class="k">end</span>
|
190
|
-
<span class="c1"># # one may also do this:</span>
|
191
|
-
<span class="c1"># case</span>
|
192
|
-
<span class="c1"># when Constants::NTRY_TO_SYM.key?(choice)</span>
|
193
|
-
<span class="c1"># return Constants::NTRY_TO_SYM[choice]</span>
|
194
|
-
<span class="c1"># when choice != Constants::VALID_ENTRIES</span>
|
195
|
-
<span class="c1"># puts "That entry is invalid. Please re-enter." </span>
|
196
|
-
<span class="c1"># end</span>
|
197
190
|
<span class="k">end</span>
|
198
191
|
<span class="k">end</span>
|
199
192
|
<span class="c1"># define outcomes of players choice against cpu</span>
|
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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/install.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/readme.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/simple.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/test.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/uninstall.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/update.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=147b36b436427ee81aaa6c863020ff4c4b0507e2"/>
|
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/lib/Main.rb
CHANGED
@@ -18,7 +18,7 @@ class RockPaperScissorsGame
|
|
18
18
|
end
|
19
19
|
|
20
20
|
# print out strings
|
21
|
-
continue("
|
21
|
+
continue("\nYou are about to enter a rock-paper-scissors best of 3 match.", "\nPress the return/enter key to continue...", "")
|
22
22
|
|
23
23
|
# initialize variables
|
24
24
|
def initialize
|
@@ -30,7 +30,7 @@ class RockPaperScissorsGame
|
|
30
30
|
def play(winning_score)
|
31
31
|
# make while loop
|
32
32
|
while @player_score < winning_score && @computer_score < winning_score
|
33
|
-
puts "
|
33
|
+
puts "\nPlayer score: #{@player_score}, " +
|
34
34
|
"Computer score: #{@computer_score}, Ties: #{@ties}.\n"
|
35
35
|
player = PrivateMethods.player_choice
|
36
36
|
computer = Constants::COMPUTER_CHOICES.sample # chooses a random option
|
data/lib/PrivateMethods.rb
CHANGED
@@ -14,13 +14,6 @@ module PrivateMethods
|
|
14
14
|
else
|
15
15
|
return nil
|
16
16
|
end
|
17
|
-
# # one may also do this:
|
18
|
-
# case
|
19
|
-
# when Constants::NTRY_TO_SYM.key?(choice)
|
20
|
-
# return Constants::NTRY_TO_SYM[choice]
|
21
|
-
# when choice != Constants::VALID_ENTRIES
|
22
|
-
# puts "That entry is invalid. Please re-enter."
|
23
|
-
# end
|
24
17
|
end
|
25
18
|
end
|
26
19
|
# define outcomes of players choice against cpu
|
data/lib/rpsg/version.rb
CHANGED
data/rpsg.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "rpsg"
|
3
|
-
spec.version = "0.3.
|
4
|
-
spec.date = "2017-10-
|
3
|
+
spec.version = "0.3.5"
|
4
|
+
spec.date = "2017-10-25" # format: YYYY/MM/DD
|
5
5
|
spec.summary = "A Rock Paper Scissors Game RubyGem"
|
6
6
|
spec.description = <<-EOF
|
7
7
|
A Ruby-programmed rock paper scissors game.
|
@@ -23,9 +23,10 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.extra_rdoc_files = ["README.md"]
|
24
24
|
spec.bindir = "bin"
|
25
25
|
spec.metadata = {
|
26
|
-
"issue_tracker"
|
27
|
-
"source_code"
|
28
|
-
"website"
|
26
|
+
"issue_tracker" => "https://github.com/bag3318/RPSG/issues",
|
27
|
+
"source_code" => "https://github.com/bag3318/RPSG" ,
|
28
|
+
"website" => "https://bag3318.github.io/RPSG" ,
|
29
|
+
"ruby_gems_page" => "https://rubygems.org/gems/rpsg"
|
29
30
|
}
|
30
31
|
spec.executables << "rpsg"
|
31
32
|
spec.requirements << "A Windows or Mac computer"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpsg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bag3318
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -246,6 +246,7 @@ metadata:
|
|
246
246
|
issue_tracker: https://github.com/bag3318/RPSG/issues
|
247
247
|
source_code: https://github.com/bag3318/RPSG
|
248
248
|
website: https://bag3318.github.io/RPSG
|
249
|
+
ruby_gems_page: https://rubygems.org/gems/rpsg
|
249
250
|
post_install_message: " Thanks for installing my RPSG gem! \n I hope you will
|
250
251
|
have fun playing rock paper scissors! :)\n"
|
251
252
|
rdoc_options: []
|