rpsg 0.2.3 → 0.2.4
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
- data/README.md +2 -1
- data/doc/RockPaperScissorsGame.html +1 -1
- data/doc/created.rid +3 -3
- 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/lib/Main.rb +2 -2
- data/lib/rpsg/version.rb +1 -1
- data/rpsg.gemspec +2 -3
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc528644bb4bd026c3bf6eaad4b6b06bdeeab6fe
|
|
4
|
+
data.tar.gz: 448fc1fed4c6ffe5c8d34e757a8f221f64611429
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 206a1bc1d3fee0596c544ee70564845b87cb76366d3cf7d6f611b384c74dbbafc9fb425d25f53d028cd5bcbad855bfd5c654a490475f8a8a9dc13311e13d9bc7
|
|
7
|
+
data.tar.gz: 2b26647adc41de35d8867efd316fe2ac17386ec7351c6059f8bfb9c9833aa766743c8ef65289de6469dd59c458a5d1124a740cc50a83b1d0a0b703e12da96a01
|
data/README.md
CHANGED
|
@@ -21,7 +21,7 @@ How To Use
|
|
|
21
21
|
### Windows
|
|
22
22
|
|
|
23
23
|
1. Open `cmd` as non-admin
|
|
24
|
-
|
|
24
|
+
* `cmd` is the `Command Prompt`
|
|
25
25
|
2. type the following: `gem install rpsg`
|
|
26
26
|
3. run the following: `rpsg`
|
|
27
27
|
|
|
@@ -34,3 +34,4 @@ How To Use
|
|
|
34
34
|
________
|
|
35
35
|
|
|
36
36
|
RubyGems page: [https://rubygems.org/gems/rpsg](https://rubygems.org/gems/rpsg)
|
|
37
|
+
|
|
@@ -171,7 +171,7 @@ scissors</p>
|
|
|
171
171
|
<div class="method-source-code" id="new-source">
|
|
172
172
|
<pre><span class="ruby-comment"># File lib/Main.rb, line 24</span>
|
|
173
173
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
|
|
174
|
-
<span class="ruby-comment"># set all equal to zero</span>
|
|
174
|
+
<span class="ruby-comment"># initialize variables and set all equal to zero</span>
|
|
175
175
|
<span class="ruby-ivar">@player_score</span> = <span class="ruby-ivar">@computer_score</span> = <span class="ruby-ivar">@ties</span> = <span class="ruby-value">0</span>
|
|
176
176
|
<span class="ruby-keyword">end</span></pre>
|
|
177
177
|
</div>
|
data/doc/created.rid
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
Fri, 13 Oct 2017 10:50:16 -0700
|
|
2
2
|
lib/Constants.rb Thu, 12 Oct 2017 14:19:30 -0700
|
|
3
|
-
lib/Main.rb
|
|
3
|
+
lib/Main.rb Fri, 13 Oct 2017 10:49:52 -0700
|
|
4
4
|
lib/PrivateMethods.rb Thu, 12 Oct 2017 18:36:58 -0700
|
|
5
|
-
lib/rpsg/version.rb Thu, 12 Oct 2017
|
|
5
|
+
lib/rpsg/version.rb Thu, 12 Oct 2017 19:13:57 -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/lib/Main.rb
CHANGED
|
@@ -22,7 +22,7 @@ class RockPaperScissorsGame
|
|
|
22
22
|
|
|
23
23
|
# initialize variables
|
|
24
24
|
def initialize
|
|
25
|
-
# set all equal to zero
|
|
25
|
+
# initialize variables and set all equal to zero
|
|
26
26
|
@player_score = @computer_score = @ties = 0
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -67,4 +67,4 @@ class RockPaperScissorsGame
|
|
|
67
67
|
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
RockPaperScissorsGame.new.play(2) # best of 3
|
|
70
|
+
RockPaperScissorsGame.new.play(2) # best of 3
|
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.2.
|
|
4
|
-
spec.date = "2017-10-
|
|
3
|
+
spec.version = "0.2.4"
|
|
4
|
+
spec.date = "2017-10-13"
|
|
5
5
|
spec.summary = "A Rock Paper Scissors Game Ruby Gem"
|
|
6
6
|
spec.description = <<-EOF
|
|
7
7
|
A Ruby-programmed rock paper scissors game.
|
|
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.bindir = "bin"
|
|
25
25
|
spec.metadata = {
|
|
26
26
|
"issue_tracker" => "https://github.com/bag3318/RPSG/issues/",
|
|
27
|
-
"source_code" => "https://github.com/bag3318/RPSG/"
|
|
28
27
|
}
|
|
29
28
|
spec.executables << "rpsg"
|
|
30
29
|
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.2.
|
|
4
|
+
version: 0.2.4
|
|
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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -165,7 +165,6 @@ licenses:
|
|
|
165
165
|
- MIT
|
|
166
166
|
metadata:
|
|
167
167
|
issue_tracker: https://github.com/bag3318/RPSG/issues/
|
|
168
|
-
source_code: https://github.com/bag3318/RPSG/
|
|
169
168
|
post_install_message: " Thanks for installing! \n I hope you will have fun playing
|
|
170
169
|
rock paper scissors! :)\n"
|
|
171
170
|
rdoc_options: []
|