battle_boats 0.0.0 → 0.0.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +13 -2
- data/battle_boats.gemspec +2 -2
- data/bin/battle_boats +6 -0
- data/lib/battle_boats.rb +1 -0
- data/lib/battle_boats/console_ui.rb +15 -0
- data/lib/battle_boats/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d34a567d9ab259c06725fb376c6ac50ccfa50bb
|
4
|
+
data.tar.gz: 267ad389ba1dcc16629ef311338082be84261cfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b2522a014e9bdd08e14e18640210c5d07f8c061fb139662969ac6a8b42126ff682a3630ef1cf8eb26623bf56b4a1d9efe632ab3c68555234c39133c657e3fe7
|
7
|
+
data.tar.gz: 9367398ad9236ff0b0913dee33199c71936c1739bf47241477c985c94df558b395c10195feb08504097861ea3bcf1a7a1a073f0d12bd444e44b20770860694f3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Battle Boats
|
1
|
+
# Battle Boats [](https://travis-ci.org/Thomascountz/battle_boats) [](https://codeclimate.com/github/Thomascountz/battle_boats/maintainability) [](https://codeclimate.com/github/Thomascountz/battle_boats/test_coverage)
|
2
|
+
|
2
3
|
|
3
4
|
Battle Boats is a ruby library implementation of [Battleship](https://en.wikipedia.org/wiki/Battleship_%28game%29)!
|
4
5
|
|
@@ -20,7 +21,17 @@ Or install it yourself as:
|
|
20
21
|
|
21
22
|
## Usage
|
22
23
|
|
23
|
-
|
24
|
+
Enter
|
25
|
+
|
26
|
+
```
|
27
|
+
$ battle_boats
|
28
|
+
```
|
29
|
+
|
30
|
+
into the terminal. You should see a welcome message:
|
31
|
+
|
32
|
+
```
|
33
|
+
Welcome to Battle Boats!
|
34
|
+
```
|
24
35
|
|
25
36
|
## Development
|
26
37
|
|
data/battle_boats.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
25
25
|
f.match(%r{^(test|spec|features)/})
|
26
26
|
end
|
27
|
-
spec.bindir = "
|
28
|
-
spec.executables =
|
27
|
+
spec.bindir = "bin"
|
28
|
+
spec.executables = ["battle_boats"]
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
31
|
spec.add_development_dependency "bundler", "~> 1.16"
|
data/bin/battle_boats
ADDED
data/lib/battle_boats.rb
CHANGED
data/lib/battle_boats/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: battle_boats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Countz
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,7 +70,8 @@ description: 'Battleship is a two-player guessing game. More details can be foun
|
|
70
70
|
here: https://en.wikipedia.org/wiki/Battleship_(game)'
|
71
71
|
email:
|
72
72
|
- thomascountz@gmail.com
|
73
|
-
executables:
|
73
|
+
executables:
|
74
|
+
- battle_boats
|
74
75
|
extensions: []
|
75
76
|
extra_rdoc_files: []
|
76
77
|
files:
|
@@ -86,9 +87,11 @@ files:
|
|
86
87
|
- README.md
|
87
88
|
- Rakefile
|
88
89
|
- battle_boats.gemspec
|
90
|
+
- bin/battle_boats
|
89
91
|
- bin/console
|
90
92
|
- bin/setup
|
91
93
|
- lib/battle_boats.rb
|
94
|
+
- lib/battle_boats/console_ui.rb
|
92
95
|
- lib/battle_boats/version.rb
|
93
96
|
homepage: https://www.github.com/thomascountz/battle_boats
|
94
97
|
licenses:
|