rpsg 0.2.3 → 0.2.4

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: 33317191236a0f013627ec49e3852fbae27ea999
4
- data.tar.gz: 60a7ae7ee717cda5ea438ad17d30c235ab465094
3
+ metadata.gz: dc528644bb4bd026c3bf6eaad4b6b06bdeeab6fe
4
+ data.tar.gz: 448fc1fed4c6ffe5c8d34e757a8f221f64611429
5
5
  SHA512:
6
- metadata.gz: ff729028bc590ba3cb61a652ba3343356b0a37b3acba0c6997dbf7453843878f5c8c6bbe1b3a2c1c8e703d06650b1113edd7544922401ed07af688fe9118a18e
7
- data.tar.gz: ca2e14be8c2ec97bda23275ef08080df7beeaa00dee95bd67546965ac15d1b182deea556b4ad62e2f3532d4cbd5d7f27b170db5b529c77eabecbd1c81c9b16c9
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
- * `cmd` is the `Command Prompt`
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
- Thu, 12 Oct 2017 18:37:45 -0700
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 Thu, 12 Oct 2017 16:48:08 -0700
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 18:24:34 -0700
5
+ lib/rpsg/version.rb Thu, 12 Oct 2017 19:13:57 -0700
Binary file
Binary file
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 (0, 1, 2)
70
+ RockPaperScissorsGame.new.play(2) # best of 3
data/lib/rpsg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # specify the version for the rubygem
2
2
  module RPSG
3
3
  # create version constant for the rubygem
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
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.3"
4
- spec.date = "2017-10-12"
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.3
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-12 00:00:00.000000000 Z
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: []