terminal_game_of_life 1.0.1 → 1.0.2
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/README.md +8 -7
- data/game_of_life.gemspec +3 -3
- data/lib/game_of_life/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c26cd26c1b4aa435be502ab5d4490f9aac0c9b7213349daa3c7c74ff284a62b
|
|
4
|
+
data.tar.gz: bb7b96d7d61c2d77bb0d23fc900abe6484553f8f8aff384033fa9cba3b2b9d6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 400bfb3d4e758c4b610bbbee25d839969ea9ee2c1e68c5c0d3a29e51d90e3e4cd42d113c2d8f80ab2c89e539c7091220abdbd8cc70fe66c9c9209f163fc8cdbb
|
|
7
|
+
data.tar.gz: af2edea622e9325201e4c9380b9fea8ebeedb749d6b0cbaaa6b59d154568c5049dac14033c6843cb18242f472a272904eaaa18db7de175e070341e86b2a6db46
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@ $ gem install terminal_game_of_life
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
$game-of-life -i https://
|
|
13
|
+
$game-of-life -i https://meta.sr.ht/~a14m.keys --live-cell +
|
|
14
14
|
$game-of-life -i /path/to/file.txt --height 35 --width 35
|
|
15
15
|
$game-of-life -s 1337 --delay 250
|
|
16
16
|
```
|
|
@@ -44,14 +44,15 @@ Options:
|
|
|
44
44
|
- Clone the repo.
|
|
45
45
|
- Navigate to the ruby CLI implementation `cd game-of-life/CLI/ruby`.
|
|
46
46
|
- run `bundle install` to install dependencies.
|
|
47
|
-
- run `bundle rake build` to build the gem/CLI into the `pkg` directory.
|
|
48
|
-
- run `bundle rake install` to build and install gem/CLI into system gems.
|
|
47
|
+
- you can run `bundle rake build` to build the gem/CLI into the `pkg` directory.
|
|
48
|
+
- you can run `bundle rake install` to build and install gem/CLI into system gems.
|
|
49
|
+
- you can run `bundle exec ./bin/game-of-life` to run the code for development/testing purposes
|
|
49
50
|
|
|
50
51
|
## Linting
|
|
51
52
|
Run `bundle exec rubocop`
|
|
52
53
|
|
|
53
54
|
## Testing
|
|
54
|
-
Run `bundle exec rspec`
|
|
55
|
+
Run `bundle exec rspec`
|
|
55
56
|
|
|
56
57
|
## Documentation
|
|
57
58
|
Run `bundle exec yard`
|
|
@@ -66,6 +67,6 @@ The tag will automatically trigger the release workflow after successful build/t
|
|
|
66
67
|
and release the changes to [rubygems.org](https://rubygems.org/gems/terminal_game_of_life)
|
|
67
68
|
|
|
68
69
|
## Extra information
|
|
69
|
-
### [Contributing](
|
|
70
|
-
### [License](
|
|
71
|
-
### [Code of Conduct](
|
|
70
|
+
### [Contributing](../../CONTRIBUTING.md)
|
|
71
|
+
### [License](../../LICENSE.md)
|
|
72
|
+
### [Code of Conduct](../../CODE_OF_CONDUCT.md)
|
data/game_of_life.gemspec
CHANGED
|
@@ -10,15 +10,15 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "Game of Life CLI"
|
|
12
12
|
spec.description = "Conway's game of life implementation as a CLI ruby gem."
|
|
13
|
-
spec.homepage = "https://
|
|
13
|
+
spec.homepage = "https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/README.md"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
spec.required_ruby_version = ">= 2.5.0"
|
|
16
16
|
|
|
17
17
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
19
|
-
spec.metadata["source_code_uri"] = "https://
|
|
19
|
+
spec.metadata["source_code_uri"] = "https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby"
|
|
20
20
|
spec.metadata["documentation_uri"] = "https://rubydoc.info/gems/terminal_game_of_life"
|
|
21
|
-
spec.metadata["changelog_uri"] = "https://
|
|
21
|
+
spec.metadata["changelog_uri"] = "https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/CHANGELOG.md"
|
|
22
22
|
|
|
23
23
|
spec.executables = ["game-of-life"]
|
|
24
24
|
spec.require_paths = ["lib"]
|
data/lib/game_of_life/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: terminal_game_of_life
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- a14m
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-12-
|
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -183,15 +183,15 @@ files:
|
|
|
183
183
|
- lib/game_of_life/plane.rb
|
|
184
184
|
- lib/game_of_life/universe.rb
|
|
185
185
|
- lib/game_of_life/version.rb
|
|
186
|
-
homepage: https://
|
|
186
|
+
homepage: https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/README.md
|
|
187
187
|
licenses:
|
|
188
188
|
- MIT
|
|
189
189
|
metadata:
|
|
190
190
|
allowed_push_host: https://rubygems.org
|
|
191
|
-
homepage_uri: https://
|
|
192
|
-
source_code_uri: https://
|
|
191
|
+
homepage_uri: https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/README.md
|
|
192
|
+
source_code_uri: https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby
|
|
193
193
|
documentation_uri: https://rubydoc.info/gems/terminal_game_of_life
|
|
194
|
-
changelog_uri: https://
|
|
194
|
+
changelog_uri: https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/CHANGELOG.md
|
|
195
195
|
post_install_message:
|
|
196
196
|
rdoc_options: []
|
|
197
197
|
require_paths:
|
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
207
207
|
- !ruby/object:Gem::Version
|
|
208
208
|
version: '0'
|
|
209
209
|
requirements: []
|
|
210
|
-
rubygems_version: 3.2
|
|
210
|
+
rubygems_version: 3.1.2
|
|
211
211
|
signing_key:
|
|
212
212
|
specification_version: 4
|
|
213
213
|
summary: Game of Life CLI
|