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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7c06d9b3fa0064f9909d6a6fa9e074d5d19c986864b39c4bcb5e894e2f95797
4
- data.tar.gz: 45ceec6d3597e6a25321e9d2e16aa4514854842cbd5a78fac56a6c391d4b0e43
3
+ metadata.gz: bda78aba38bec4ccb8bfc7d92fb673eb81465ef0cebf33fc7e6ba89d7ce28861
4
+ data.tar.gz: '0196c7b8a23377dfb8f575d5190d9cfd35a7704834862d9fa86151c7e2c03b1d'
5
5
  SHA512:
6
- metadata.gz: 17eb17da0045de01fd74edf451984086eaf9f8ea3d0f79b43c5224261abc59cc771638ade18b29a10c948c08157bc836ace1e97224b9e4e9eac4b61783410248
7
- data.tar.gz: 06a25e28dadc410701131cc71eefbd7f3a411d706640029add6478317463922e28db728051e2b6c57acc2c9ac46921e2e7fa179a2f61da1b676636e2c0de7bcf
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](./lib/game_of_live/version.rb) number
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 = GameOfLife::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
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "io/console"
4
- require "game_of_life/version"
5
4
  require "game_of_life/plane"
6
5
  require "game_of_life/universe"
7
6
  require "game_of_life/cell"
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.7
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-06-30 00:00:00.000000000 Z
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
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GameOfLife
4
- # Game of life version number
5
- VERSION = "1.0.7"
6
- end