rpsg 0.0.7 → 0.0.8

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: 9e08060624f56f7d05d31763f92d021f63476338
4
- data.tar.gz: 9be9e417c58dde38f9ccf383d05480453dfe55ff
3
+ metadata.gz: 63abc8f0fecf08bf513496f0a01e601868b682e0
4
+ data.tar.gz: a4fc6c0684fe220e673af727807eb6b81a5e222d
5
5
  SHA512:
6
- metadata.gz: caacb81b3b9e8880fede28eab05645bbcc099992e5feb541ea0d961b121981594c5d9df103bfb3d99df2053436df641778bec96a288c6730dc9e1fd4d661cf75
7
- data.tar.gz: b362b7defdf6163428bb3cff070ef386fc79234490b9d1f79b46735b4a361b9a5424e90c530b5b7176324f481ed347b61863ede800c4592630c50f394b1ce730
6
+ metadata.gz: 733d2f4f24f81e96fce1d0f9c4b72b9717bb361ea787c89e4d970fd3495111c7bc2aedad8ae5a2e6f217cf0ab4663390260ba541626359011a5e195005b7ef88
7
+ data.tar.gz: 27f2b7234e5347123ead1c6b78d561b29b80e560ddb42da02c7db7327e1896069d08563941a28bff26e075e1557cfddfe88a3acae1e9fa5dac9d975f3b30d9b1
data/.gitignore CHANGED
@@ -7,7 +7,7 @@
7
7
  *.ste
8
8
  test.rb
9
9
  other langs
10
- RPS.rb
10
+ # RPS.rb
11
11
  RPS_RAW.rb
12
12
  rps.py
13
13
  bg.py
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  task :default => :test
2
2
 
3
- file_path = "./bin/rps"
3
+ file_path = "./test/rps.rb"
4
4
 
5
5
  task :test do
6
6
  ruby file_path
data/bin/rps CHANGED
@@ -10,10 +10,13 @@
10
10
 
11
11
 
12
12
  class RPS
13
+
14
+ lib = File.expand_path("../../lib", __FILE__)
15
+ $:.unshift(lib)
13
16
 
14
- require_relative "./../lib/rps/version.rb"
17
+ require "rps/version.rb"
15
18
 
16
- require_relative "./../lib/Constants.rb"
19
+ require "Constants.rb"
17
20
 
18
21
  protected_methods :Constants
19
22
 
@@ -65,7 +68,7 @@ class RPS
65
68
  gets
66
69
  end
67
70
 
68
- require_relative "./../lib/PrivateMethods.rb"
71
+ require "PrivateMethods.rb"
69
72
 
70
73
  private_methods :PrivateMethods
71
74
 
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RPSG
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/rps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "rpsg"
3
- spec.version = "0.0.7"
3
+ spec.version = "0.0.8"
4
4
  spec.date = "2017-10-12"
5
5
  spec.summary = "A Rock Paper Scissors Game Ruby Gem"
6
6
  spec.description = <<-EOF
data/test/rps.rb ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ =begin
4
+ |====================================|
5
+ | Req Ruby Ver | Req Ruby Gems Ver |
6
+ |--------------|---------------------|
7
+ | >= v2.0.0 | >= v2.6.0 |
8
+ |====================================|
9
+ =end
10
+
11
+ load "bin/rps" # load executable
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.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -90,6 +90,7 @@ files:
90
90
  - lib/rps/version.rb
91
91
  - rps.gemspec
92
92
  - rps.sublime-project
93
+ - test/rps.rb
93
94
  homepage: https://rubygems.org/gems/rpsg
94
95
  licenses:
95
96
  - MIT