RPSrb 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 242795a331ddae460a0b335ca18fe0b568c9adac
4
- data.tar.gz: 4aba6d31ffb89a3a4acb43e22d416c0c5596d7ac
3
+ metadata.gz: 7b525e20784cbb678c916fc580bcdd3dbd4092ea
4
+ data.tar.gz: 7a2d7474b3a45c8c72b29cd793c8a4fe4963128c
5
5
  SHA512:
6
- metadata.gz: 90e67c779f2dc4a39d6ed0bd77dfac0c673ac117066fafc79ff483af46e4575d147f1107e8cbcfcbbd452421bc619bf4b0455fb7cd9a986f5afd82d0d0723396
7
- data.tar.gz: 3a3fbf5731842539dcb1e5daac0ca95607f2f3e596c05c3d67d047f4d4b2c324efadb92cfea4a2d0681214146b6b64961f3903d5d87f31c8cd703dcfeb52362b
6
+ metadata.gz: f8e3088ee05f4186b6676f13e54b52f932fdb2ac4bf785b142bbed20800f24dae9f2fa7e4f8e6dac5a23e1240b074d5bf7a87d111638e3816001a0020215740d
7
+ data.tar.gz: 918d2ee609c2db7a427f737730ee0b8b9fe0d92495d49815205e92b5676f3521a087565ba21721181cc3fb26dc65ce8ec33d90c15308d54b46339e98c9921af4
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "RPSrb"
3
- spec.version = "0.0.7"
4
- spec.date = "2017-12-11" # format: YYYY/MM/DD
3
+ spec.version = "0.0.8"
4
+ spec.date = "2017-12-12" # 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.
@@ -21,6 +21,10 @@ Gem::Specification.new do |spec|
21
21
  spec.required_rubygems_version = ">= 2.6.0"
22
22
  spec.homepage = "https://rubygems.org/gems/RPSrb"
23
23
  spec.extra_rdoc_files = ["README.md"]
24
+ spec.metadata = {
25
+ "issue_tracker" => "https://gitlab.com/bag3318/RPSrb/issues",
26
+ "git page/source code" => "https://gitlab.com/bag3318/RPSrb"
27
+ }
24
28
  spec.bindir = "bin"
25
29
  spec.executables << "RPSrb"
26
30
  spec.requirements << "A Windows or Mac computer"
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rdoc/task'
2
2
 
3
3
  # task :default => :test
4
4
 
5
- file_path = "./test/test.rb"
5
+ file_path = "./test/test_RPSrb.rb"
6
6
 
7
7
  task :test do
8
8
  # tests the ruby test file
@@ -1,4 +1,4 @@
1
- Mon, 11 Dec 2017 17:27:11 -0800
1
+ Mon, 11 Dec 2017 17:31:24 -0800
2
2
  lib/exec.rb Mon, 11 Dec 2017 12:15:28 -0800
3
3
  lib/RockPaperScissors.rb Mon, 11 Dec 2017 16:58:47 -0800
4
- lib/RPSrb/Version.rb Mon, 11 Dec 2017 17:26:48 -0800
4
+ lib/RPSrb/Version.rb Mon, 11 Dec 2017 17:31:12 -0800
Binary file
Binary file
Binary file
@@ -1,4 +1,4 @@
1
1
  # version constant for RubyGem
2
2
  module RPSrb
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
@@ -73,9 +73,9 @@ class RockPaperScissors
73
73
  printf "\nFinal score:\nplayer: %i, computer: %i; (ties: %i).\n\n" % [@player_score, @computer_score, @ties]
74
74
  case final_outcome(@player_score, @computer_score)
75
75
  when :WIN
76
- puts "\nPlayer wins!\n"
76
+ puts "Player wins!\n"
77
77
  when :LOSE
78
- puts "\nComputer wins!\n"
78
+ puts "Computer wins!\n"
79
79
  end
80
80
  print "\n[press the enter/return key to exit game]"
81
81
  gets
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RPSrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-11 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,11 +156,13 @@ files:
156
156
  - lib/RPSrb/Version.rb
157
157
  - lib/RockPaperScissors.rb
158
158
  - lib/exec.rb
159
- - test/test.rb
159
+ - test/test_RPSrb.rb
160
160
  homepage: https://rubygems.org/gems/RPSrb
161
161
  licenses:
162
162
  - MIT
163
- metadata: {}
163
+ metadata:
164
+ issue_tracker: https://gitlab.com/bag3318/RPSrb/issues
165
+ git page/source code: https://gitlab.com/bag3318/RPSrb
164
166
  post_install_message: |2
165
167
  Thanks for installing my RPSrb gem!
166
168
  I hope you will have fun playing rock paper scissors! :)