theseus 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -205,7 +205,7 @@ if animate
205
205
  maze.generate! do
206
206
  if format == :ascii
207
207
  system "clear"
208
- puts maze.to_s(:mode => :utf8_halls)
208
+ puts maze.to_s(:mode => :unicode)
209
209
  sleep 0.05
210
210
  else
211
211
  f = "%s-%04d.png" % [output, step]
@@ -217,7 +217,7 @@ if animate
217
217
 
218
218
  if format == :ascii
219
219
  system "clear"
220
- puts maze.to_s(:mode => :utf8_halls)
220
+ puts maze.to_s(:mode => :unicode)
221
221
  else
222
222
  f = "%s-%04d.png" % [output, step]
223
223
  File.open(f, "w") { |io| io.write(maze.to(:png, png_opts)) }
@@ -254,7 +254,7 @@ else
254
254
  end
255
255
 
256
256
  if format == :ascii
257
- puts maze.to_s(:mode => :utf8_halls)
257
+ puts maze.to_s(:mode => :unicode)
258
258
  else
259
259
  File.open(output + ".png", "w") { |io| io.write(maze.to(:png, png_opts)) }
260
260
  puts "maze written to #{output}.png"
@@ -36,6 +36,8 @@ module Theseus
36
36
  [maze.width * 3, maze.height * 2]
37
37
  when :lines then
38
38
  [maze.width, maze.height]
39
+ else
40
+ abort "unknown mode #{mode.inspect}"
39
41
  end
40
42
  end
41
43
 
@@ -3,7 +3,7 @@ module Theseus
3
3
  module Version
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join(".")
9
9
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jamis Buck