rpsg 0.2.2 → 0.2.3

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: 8fd51117141145ccc39bf49e0a0c076abacbe8a2
4
- data.tar.gz: e0e4d30ed01cb5ae0f70c112343d20941d930b18
3
+ metadata.gz: 33317191236a0f013627ec49e3852fbae27ea999
4
+ data.tar.gz: 60a7ae7ee717cda5ea438ad17d30c235ab465094
5
5
  SHA512:
6
- metadata.gz: 423748a52cc69c46abc71de55ea7ac1dc606f095c457dc4fc47e2f700e96dee3ca67b99bdc21e4b2b2f0cd7d74c16e9efb4dcc740c9fb33cd4a836b986b2d5f1
7
- data.tar.gz: de062dcc885f9a63b911d998fcd2865b539cd8e06f2db22f5eab806305c743b22be3d6dcbd2044a1f20426c852084d59f02ab66178293d17aa2590c57885b7c5
6
+ metadata.gz: ff729028bc590ba3cb61a652ba3343356b0a37b3acba0c6997dbf7453843878f5c8c6bbe1b3a2c1c8e703d06650b1113edd7544922401ed07af688fe9118a18e
7
+ data.tar.gz: ca2e14be8c2ec97bda23275ef08080df7beeaa00dee95bd67546965ac15d1b182deea556b4ad62e2f3532d4cbd5d7f27b170db5b529c77eabecbd1c81c9b16c9
@@ -164,7 +164,7 @@
164
164
  <pre><span class="ruby-comment"># File lib/PrivateMethods.rb, line 5</span>
165
165
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">player_choice</span>
166
166
  <span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
167
- <span class="ruby-identifier">print</span> <span class="ruby-string">&quot;\nChoose: Rock (r), Paper (p), or Scissors (s): \n&quot;</span>
167
+ <span class="ruby-identifier">print</span> <span class="ruby-string">&quot;\nChoose: Rock (r), Paper (p), or Scissors (s): &quot;</span>
168
168
  <span class="ruby-identifier">choice</span> = <span class="ruby-identifier">gets</span>.<span class="ruby-identifier">chomp</span>.<span class="ruby-identifier">downcase</span>
169
169
  <span class="ruby-keyword">if</span> <span class="ruby-constant">Constants</span><span class="ruby-operator">::</span><span class="ruby-constant">NTRY_TO_SYM</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">choice</span>)
170
170
  <span class="ruby-keyword">return</span> <span class="ruby-constant">Constants</span><span class="ruby-operator">::</span><span class="ruby-constant">NTRY_TO_SYM</span>[<span class="ruby-identifier">choice</span>]
data/doc/created.rid CHANGED
@@ -1,5 +1,5 @@
1
- Thu, 12 Oct 2017 17:30:42 -0700
1
+ Thu, 12 Oct 2017 18:37:45 -0700
2
2
  lib/Constants.rb Thu, 12 Oct 2017 14:19:30 -0700
3
3
  lib/Main.rb Thu, 12 Oct 2017 16:48:08 -0700
4
- lib/PrivateMethods.rb Thu, 12 Oct 2017 13:53:33 -0700
5
- lib/rpsg/version.rb Thu, 12 Oct 2017 17:29:54 -0700
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
Binary file
Binary file
Binary file
@@ -4,7 +4,7 @@ module PrivateMethods
4
4
  # make a definition that asks for the players choice
5
5
  def player_choice
6
6
  loop do
7
- print "\nChoose: Rock (r), Paper (p), or Scissors (s): \n"
7
+ print "\nChoose: Rock (r), Paper (p), or Scissors (s): "
8
8
  choice = gets.chomp.downcase
9
9
  if Constants::NTRY_TO_SYM.key?(choice)
10
10
  return Constants::NTRY_TO_SYM[choice]
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.2"
4
+ VERSION = "0.2.3"
5
5
  end
data/rpsg.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "rpsg"
3
- spec.version = "0.2.2"
3
+ spec.version = "0.2.3"
4
4
  spec.date = "2017-10-12"
5
5
  spec.summary = "A Rock Paper Scissors Game Ruby Gem"
6
6
  spec.description = <<-EOF
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  Now you can play rock paper scissors on your computer whenever you'd like! :)
9
9
  EOF
10
10
  spec.author = "bag3318"
11
- spec.email = ""
12
- spec.homepage = "https://rubygems.org/gems/rpsg"
11
+ spec.email = "disclosed"
12
+ spec.homepage = "https://github.com/bag3318/RPSG"
13
13
  spec.platform = Gem::Platform::RUBY
14
14
  spec.require_paths = ["lib"]
15
15
  spec.files = `git ls-files -z`.split("\x0")
@@ -24,7 +24,7 @@ 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"
27
+ "source_code" => "https://github.com/bag3318/RPSG/"
28
28
  }
29
29
  spec.executables << "rpsg"
30
30
  spec.requirements << "A Windows or Mac computer"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpsg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -92,7 +92,7 @@ dependencies:
92
92
  version: 5.1.0
93
93
  description: " A Ruby-programmed rock paper scissors game. \n Now you can play
94
94
  rock paper scissors on your computer whenever you'd like! :)\n"
95
- email: ''
95
+ email: disclosed
96
96
  executables:
97
97
  - rpsg
98
98
  extensions: []
@@ -160,12 +160,12 @@ files:
160
160
  - lib/rpsg/version.rb
161
161
  - rpsg.gemspec
162
162
  - test/rpsg.rb
163
- homepage: https://rubygems.org/gems/rpsg
163
+ homepage: https://github.com/bag3318/RPSG
164
164
  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
168
+ source_code: https://github.com/bag3318/RPSG/
169
169
  post_install_message: " Thanks for installing! \n I hope you will have fun playing
170
170
  rock paper scissors! :)\n"
171
171
  rdoc_options: []