PlayRockPaperScissorsGame 1.1.5 → 1.1.6

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: 43c8f3b9f445cbff0ab4c4d1c8ad66d236d9fd56
4
- data.tar.gz: '09de750ff73b527e513e4ae976347b8a8ea5f2c2'
3
+ metadata.gz: 044776f68f3b66c86b3809680e5b7a0a7f3c3a59
4
+ data.tar.gz: f0f71e810592dc03a965cf36cf6e2b19a78d8616
5
5
  SHA512:
6
- metadata.gz: e71842fee8ac897477a886b35f4a6066a456074c64c0c799f071488770a4f10d637a3a2131241e46540a65d021974d35d5ae06217cc3f7d16020e0f1b2b92bc1
7
- data.tar.gz: f01ee978b76e2e47574c12678ef056bc59f2e8e91101da18424669528bab36bf9bf66d6c131ebbb397b071c75a8bbc4b9c5fc8479d67b5439f0ed56c5d06cfae
6
+ metadata.gz: 3bfe7265470f06342edeff02ace790fb40fe300a0b547dd66a76a6cbf0d8a1cf3c0f6666fa18311aceb30cfce5e4bfe0c7b4dcdb4823ae5c4dcd213b6245917e
7
+ data.tar.gz: 4a2ef23d3a5f9616d9bc200892fa0f3379ad75421be569b33664b0c79690f2de98b1807b7358bfdf2e476e5b1e98af2a7e37faa443425d67949d3bbb01af271e
data/README.md CHANGED
@@ -6,34 +6,24 @@ How to Run/Install
6
6
 
7
7
  ### Install & Run on Macintosh
8
8
 
9
- 1. Run the `rps.bash` with the `Terminal`
10
-
11
- #### Uninstalling
12
-
13
- 1. Run the `uninstaller.sh` file with the `Terminal`
14
-
15
- <!--
16
- 1. Open the `Terminal` and copy + paste in this line: `\curl -sSL https://get.rvm.io | bash -s stable --ruby`
17
- 2. Then copy and paste in this line: `gem install rps`; hit <kbd>return</kbd>
9
+ 1. Run the `rps.bash` file (located in the `exec` folder) with the `Terminal`
18
10
 
19
11
  #### Running
20
- 1. Go into the `Terminal` and type in `rps`; hit <kbd>return</kbd>
21
12
 
22
- #### Troubleshooting
13
+ 1. Open the `Terminal`
14
+ 2. Type in: `rps`, or `PlayRockPaperScissorsGame`
15
+ 3. Hit <kbd>return</kbd>
23
16
 
24
- ##### RVM Failed Installation
25
- If RVM fails to install (homebrew), run this in the `Terminal`: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`; hit <kbd>return</kbd>
17
+ #### Uninstalling
26
18
 
27
- ##### Xcrun Command line tools not found
28
- If you get an error with `xcrun` and `command line tools not found`, you need to run this in the `Terminal`: `sudo xcode-select --install`; hit <kbd>return</kbd>.
29
- -->
19
+ 1. Run the `uninstaller.sh` file (located in the `exec` folder) with the `Terminal`
30
20
 
31
21
  ### Install &amp; Run on Windows
32
22
 
33
- 1. Download and install Ruby for Windows (if not already done); download [here](https://rubyinstaller.org/downloads/)
34
- 2. Open `command prompt` as user and type in this: `gem install PlayRockPaperScissorsGame`; hit <kbd>enter</kbd>
23
+ 1. Download and install Ruby for Windows (if not already installed); download [here](https://rubyinstaller.org/downloads/)
24
+ 2. Run the `rps.bat` file (located in the `exec` folder)
35
25
 
36
26
  #### Running
37
27
 
38
- 1. Go into the `command prompt` and type in this: `rps`; hit <kbd>enter</kbd>
28
+ 1. Open the `rps.bat` file (located in the `exec` folder)
39
29
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- class Master
3
+ class PlayRockPaperScissorsGame
4
4
 
5
5
  class RPS
6
6
 
@@ -98,5 +98,5 @@ class Master
98
98
  end;
99
99
  end;
100
100
 
101
- Master::RPS::RockPaperScissors.new.play(3); # best of 3
101
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
102
102
 
data/bin/rps CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- class Master
3
+ class PlayRockPaperScissorsGame
4
4
 
5
5
  class RPS
6
6
 
@@ -98,5 +98,5 @@ class Master
98
98
  end;
99
99
  end;
100
100
 
101
- Master::RPS::RockPaperScissors.new.play(3); # best of 3
101
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
102
102
 
data/lib/rps.rb CHANGED
@@ -1,6 +1,4 @@
1
- #!/usr/bin/env ruby
2
-
3
- class Master
1
+ class PlayRockPaperScissorsGame
4
2
 
5
3
  class RPS
6
4
 
@@ -98,5 +96,5 @@ class Master
98
96
  end;
99
97
  end;
100
98
 
101
- Master::RPS::RockPaperScissors.new.play(3); # best of 3
99
+ PlayRockPaperScissorsGame::RPS::RockPaperScissors.new.play(3); # best of 3
102
100
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PlayRockPaperScissorsGame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318