rpsg 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +10 -5
  3. data/README.md +21 -0
  4. data/Rakefile +7 -0
  5. data/lib/rps/version.rb +1 -1
  6. data/rps.gemspec +12 -16
  7. metadata +25 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d26c0989b008812930a3ab5c7027ba652189f634
4
- data.tar.gz: 064c018f14b004e92a2144bf17f28ee28c91e12e
3
+ metadata.gz: b0ce0838e663e857dcebfe962defddf4c3a1a963
4
+ data.tar.gz: dd85200888c72541cf63374b2216a53c0e4d43c3
5
5
  SHA512:
6
- metadata.gz: dbc27036fc1116bd615b160a9966c634da38f01c78a9fc07f3dcc546315a3f8aab56ce70764be4aa049d5a79aac50ffab9bbbd69c0f920c8d67af5ec49dcb56c
7
- data.tar.gz: 97706cdc2a9ba278985239d01035a34f199ca6f8d702006c264215820f5ff4ce796189c4cb813da26985bf1c26fd93a0033f22924ddca61c7057982e15a05606
6
+ metadata.gz: 6ab5e64d7dd7c4bb6a774fbcd46da9ad035e10e70069606eb0c4e7ae1aac765520014c8a0bf861e43ed8944d5fc7c7939ad92f64749146ec28b96bc87acda34e
7
+ data.tar.gz: 589ef6b72f23d0b387a92c9ecc7c4a6471f3c6e551a39d0b39612589352531ced9e4b7d48ebe0f00abb64dfa3edcd47694753b6b995e721224e16c80b6bfe361
data/Gemfile CHANGED
@@ -2,10 +2,15 @@ source 'https://rubygems.org'
2
2
  platform :ruby do
3
3
  gemspec
4
4
  group :test do
5
- gem 'bundler' , '~> 1.14.6' , :require => true
6
- gem 'colorize', '~> 0.8.1' , :require => true
7
- gem 'rake' , '~> 12.0.0' , :require => true
8
- gem 'rdoc' , '~> 5.1.0' , :require => true
9
- gem 'rvm' , '~> 1.11.3.9', :require => true
5
+ # gem 'bundler' , '~> 1.14.6' , :require => true
6
+ # gem 'colorize', '~> 0.8.1' , :require => true
7
+ # gem 'rake' , '~> 12.0.0' , :require => true
8
+ # gem 'rdoc' , '~> 5.1.0' , :require => true
9
+ # gem 'rvm' , '~> 1.11.3.9', :require => true
10
+ gem 'bundler'
11
+ gem 'colorize'
12
+ gem 'rake'
13
+ gem 'rdoc'
14
+ gem 'rvm'
10
15
  end
11
16
  end
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ How to use
2
+ ==========
3
+
4
+ ## Requirements
5
+
6
+ + Ruby
7
+ - RubyGems
8
+
9
+ For Windows
10
+ -----------
11
+
12
+ 1. Open `cmd` as non-admin
13
+ 2. type the following: `gem install rpsg`
14
+ 3. run the following: `rps`
15
+
16
+ For Mac
17
+ -------
18
+
19
+ 1. Open `Terminal`
20
+ 2. type the following: `gem install rpsg`
21
+ 3. run the following: `rps`
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ task :default => :test
2
+
3
+ file_path = "./bin/rps"
4
+
5
+ task :test do
6
+ ruby file_path
7
+ end
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
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.1"
3
+ spec.version = "0.0.2"
4
4
  spec.date = "2017-10-10"
5
5
  spec.summary = "A Rock Paper Scissors Game Ruby Gem"
6
6
  spec.description = <<-EOF
@@ -15,24 +15,20 @@ Gem::Specification.new do |spec|
15
15
  Thanks for installing! I hope you will have fun playing rock paper scissors! :)
16
16
  EOF
17
17
  spec.license = "MIT"
18
- # spec.homepage = "https://bag3318.github.io/RockPaperScissors/"
19
18
  spec.required_ruby_version = ">= 2.0.0"
20
19
  spec.required_rubygems_version = ">= 2.6.0"
21
- # spec.extra_rdoc_files = "README.md"
22
- # spec.cert_chain = ["./certs/gem-public_cert.pem"]
23
- # spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
20
+ spec.extra_rdoc_files = "README.md"
24
21
  spec.bindir = "bin"
25
- # spec.metadata = {
26
- # "issue_tracker" => "https://github.com/bag3318/RockPaperScissors/issues" ,
27
- # "source_code" => "https://github.com/bag3318/RockPaperScissors" ,
28
- # "releases" => "https://github.com/bag3318/RockPaperScissors/releases",
29
- # "website" => "https://bag3318.github.io/RockPaperScissors/"
30
- # }
31
22
  spec.executables << "rps"
32
23
  spec.requirements << "A Windows or Mac computer"
33
- spec.add_runtime_dependency "bundler" , "~> 1.14.6"
34
- spec.add_runtime_dependency "colorize", "~> 0.8.1"
35
- spec.add_runtime_dependency "rake" , "~> 12.0.0"
36
- spec.add_runtime_dependency "rvm" , "~> 1.11.3.9"
37
- spec.add_development_dependency "rdoc", "~> 5.1.0"
24
+ # spec.add_runtime_dependency "bundler" , "~> 1.14.6"
25
+ # spec.add_runtime_dependency "colorize", "~> 0.8.1"
26
+ # spec.add_runtime_dependency "rake" , "~> 12.0.0"
27
+ # spec.add_runtime_dependency "rvm" , "~> 1.11.3.9"
28
+ # spec.add_development_dependency "rdoc", "~> 5.1.0"
29
+ spec.add_runtime_dependency "bundler"
30
+ spec.add_runtime_dependency "colorize"
31
+ spec.add_runtime_dependency "rake"
32
+ spec.add_runtime_dependency "rvm"
33
+ spec.add_development_dependency "rdoc"
38
34
  end
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -14,82 +14,85 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.14.6
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.14.6
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colorize
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.1
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.1
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 12.0.0
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 12.0.0
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rvm
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.11.3.9
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.11.3.9
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rdoc
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 5.1.0
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 5.1.0
82
+ version: '0'
83
83
  description: " A Ruby-programmed rock paper scissors game. \n Now you can play
84
84
  rock paper scissors on your computer whenever you'd like! :)\n"
85
85
  email:
86
86
  executables:
87
87
  - rps
88
88
  extensions: []
89
- extra_rdoc_files: []
89
+ extra_rdoc_files:
90
+ - README.md
90
91
  files:
91
92
  - ".gitignore"
92
93
  - Gemfile
94
+ - README.md
95
+ - Rakefile
93
96
  - bin/rps
94
97
  - lib/Constants.rb
95
98
  - lib/PrivateMethods.rb