boardgame 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/boardgame.gemspec +1 -1
- data/lib/boardgame/map.rb +2 -2
- data/lib/boardgame/piece.rb +1 -1
- data/test/test_map.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af315cf0af73fd7f0009301a7ea5453877c4e7c4
|
4
|
+
data.tar.gz: 02e84b5ae2ee6e17a5ba486374fccfc5db32636d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f2927c84549396fd9010758b0e6304aa203e7ef62031f1f1f4271a6e71053cadbb961c6d89cc71bfb70f56868d3d84c9813f2967b4619965f8d1e331c0e6f54
|
7
|
+
data.tar.gz: 81509af01d09aa89b70e616b61aaaef5908ed9e08eb4db8c64713930fdc9724e345207b8e46779feeae0caa53d1ce9486ba0f052f4ae23ca9ffcdfaf9b5380ca
|
data/boardgame.gemspec
CHANGED
data/lib/boardgame/map.rb
CHANGED
data/lib/boardgame/piece.rb
CHANGED
data/test/test_map.rb
CHANGED
@@ -7,8 +7,8 @@ class TestMap < Minitest::Test
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def test_new
|
10
|
-
assert map.tiles.is_a?(
|
11
|
-
"Expected new maps to have a tiles
|
10
|
+
assert map.tiles.is_a?(Array),
|
11
|
+
"Expected new maps to have a tiles array."
|
12
12
|
end
|
13
13
|
|
14
14
|
def test_within
|
@@ -65,6 +65,7 @@ class TestMap < Minitest::Test
|
|
65
65
|
def test_validate_height
|
66
66
|
assert_raises RuntimeError do
|
67
67
|
BoardGame::Map.new "1", 1
|
68
|
-
end
|
68
|
+
end
|
69
69
|
end
|
70
|
+
|
70
71
|
end
|