terminal_game_of_life 1.0.7 → 1.0.8
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 +13 -7
- data/game_of_life.gemspec +1 -3
- data/lib/game_of_life.rb +0 -1
- metadata +2 -3
- data/lib/game_of_life/version.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bda78aba38bec4ccb8bfc7d92fb673eb81465ef0cebf33fc7e6ba89d7ce28861
|
4
|
+
data.tar.gz: '0196c7b8a23377dfb8f575d5190d9cfd35a7704834862d9fa86151c7e2c03b1d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7abcbf2221607513974e8610f2a2e5563d72eef638d4889a186fb0ad7784016bd312e15aa69a3b24def33e58c6eec8cebf7886a3cdce115bcbec8833aef85675
|
7
|
+
data.tar.gz: d7a5bcf949b4f78b10c421cef944e10a0e781e6c7ee037bdee271d2cc46bebb3cd4105cf357c6bd395ed27b2e2ff199c5565307a76bec71b1f5fd28f65ab0afe
|
data/README.md
CHANGED
@@ -41,25 +41,31 @@ Options:
|
|
41
41
|
|
42
42
|
## Development
|
43
43
|
|
44
|
+
### Locally
|
44
45
|
- Clone the repo.
|
45
46
|
- Navigate to the ruby CLI implementation `cd game-of-life/CLI/ruby`.
|
46
47
|
- run `bundle install` to install dependencies.
|
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.
|
48
|
+
- you can run `bundle exec rake build` to build the gem/CLI into the `pkg` directory.
|
49
|
+
- you can run `bundle exec rake install` to build and install gem/CLI into system gems.
|
49
50
|
- you can run `bundle exec ./bin/game-of-life` to run the code for development/testing purposes
|
50
51
|
|
52
|
+
### Docker
|
53
|
+
- Run `docker build . -t ruby-gol`
|
54
|
+
- Run `docker run -it -v .:/app ruby-gol bundle exec rake install`
|
55
|
+
- Run `docker run -it ruby-gol`
|
56
|
+
|
51
57
|
## Linting
|
52
|
-
Run `bundle exec rubocop`
|
58
|
+
Run `bundle exec rubocop` or `docker run -it -v .:/app ruby-gol bundle exec rubocop`
|
53
59
|
|
54
60
|
## Testing
|
55
|
-
Run `bundle exec rspec`
|
61
|
+
Run `bundle exec rspec` or `docker run -it ruby-gol bundle exec rspec`
|
56
62
|
|
57
63
|
## Documentation
|
58
|
-
Run `bundle exec yard`
|
64
|
+
Run `bundle exec yard` or `docker run -it -v .:/app ruby-gol bundle exec yard`
|
59
65
|
|
60
66
|
## Release
|
61
|
-
- Update the [version](./
|
62
|
-
- Run `bundle install` and commit changes
|
67
|
+
- Update the [version](./game_of_life.gemspec#L5) number
|
68
|
+
- Run `bundle install` and commit changes (or `docker run -it -v .:/app ruby-gol bundle install`)
|
63
69
|
- Update the [CHANGELOG](./CHANGELOG.md)
|
64
70
|
- Create a git tag `ruby/v#{version_number}` ex: `ruby/v0.1.1-pre`
|
65
71
|
|
data/game_of_life.gemspec
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "lib/game_of_life/version"
|
4
|
-
|
5
3
|
Gem::Specification.new do |spec|
|
6
4
|
spec.name = "terminal_game_of_life"
|
7
|
-
spec.version =
|
5
|
+
spec.version = "1.0.8"
|
8
6
|
spec.authors = ["a14m"]
|
9
7
|
spec.email = ["a14m@pm.me"]
|
10
8
|
|
data/lib/game_of_life.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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a14m
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -42,7 +42,6 @@ files:
|
|
42
42
|
- lib/game_of_life/generators/seed.rb
|
43
43
|
- lib/game_of_life/plane.rb
|
44
44
|
- lib/game_of_life/universe.rb
|
45
|
-
- lib/game_of_life/version.rb
|
46
45
|
homepage: https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/ruby/README.md
|
47
46
|
licenses:
|
48
47
|
- MIT
|