ruby_game_of_life 0.1.0 → 0.1.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/README.md +3 -3
- data/bin/.gameoflife.swp +0 -0
- data/bin/gameoflife +1 -3
- data/lib/game_of_life/version.rb +1 -1
- data/ruby_game_of_life-0.1.0.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 06f6b610b7e57402a4311ba78513f0e7bf2924f5
|
|
4
|
+
data.tar.gz: 54d11f5af8205bbab82fc80449487327c31f8393
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1659e5aa0ac37904342a16dcb4daa7af3e1a7885f82f9b2f0b24322ca82333200f9dc1a46dbeefaf2164dac29c63911c11874651e72a9bad7bcfe6e8020c424
|
|
7
|
+
data.tar.gz: f9cc0479d61a5c08e717e8708067be064175fdbfb3c0120fde4f6c117b7827dc5323900e77c48bb7d6d7aafdee16c59b0a10739b81c4c6ee99610c8270c99870
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
|
9
9
|
Add this line to your application's Gemfile:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem '
|
|
12
|
+
gem 'ruby_game_of_life'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
And then execute:
|
|
@@ -18,7 +18,7 @@ And then execute:
|
|
|
18
18
|
|
|
19
19
|
Or install it yourself as:
|
|
20
20
|
|
|
21
|
-
$ gem install
|
|
21
|
+
$ gem install ruby_game_of_life
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
32
32
|
|
|
33
33
|
## Contributing
|
|
34
34
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/RainbowReich/game_of_life.
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
## License
|
data/bin/.gameoflife.swp
CHANGED
|
Binary file
|
data/bin/gameoflife
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
-
require '
|
|
3
|
+
require 'ruby_game_of_life'
|
|
4
4
|
|
|
5
5
|
if ARGV[0] == '-h' then
|
|
6
6
|
puts "Usage: gameoflife <filename> <num_generations>"
|
|
@@ -11,8 +11,6 @@ f = File.new(ARGV[0], "r")
|
|
|
11
11
|
map = GameOfLife.new
|
|
12
12
|
map.from_s f.read
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
14
|
ARGV[1].to_i.times do |i|
|
|
17
15
|
puts "Generation #{i}"
|
|
18
16
|
puts "-" * map.width
|
data/lib/game_of_life/version.rb
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_game_of_life
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Conrad King (RainbowReich)
|
|
@@ -64,6 +64,7 @@ files:
|
|
|
64
64
|
- lib/game_of_life/cell.rb
|
|
65
65
|
- lib/game_of_life/map.rb
|
|
66
66
|
- lib/game_of_life/version.rb
|
|
67
|
+
- ruby_game_of_life-0.1.0.gem
|
|
67
68
|
- ruby_game_of_life.gemspec
|
|
68
69
|
homepage: https://github.com/RainbowReich/ruby_game_of_life
|
|
69
70
|
licenses:
|