graster 0.0.5 → 0.0.6
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.
- data/VERSION +1 -1
- data/bin/gtile +2 -2
- data/lib/graster.rb +3 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/bin/gtile
CHANGED
data/lib/graster.rb
CHANGED
@@ -173,7 +173,9 @@ class Graster
|
|
173
173
|
|
174
174
|
def build_tiled_rows
|
175
175
|
forward = false
|
176
|
-
@tiled_rows =
|
176
|
+
@tiled_rows = []
|
177
|
+
@tiled_rows = @image.size[1].times {|y| @tiled_rows << tiled_row_spans(y, (forward = !forward)) }
|
178
|
+
@tiled_rows
|
177
179
|
end
|
178
180
|
|
179
181
|
# generate a unique id for this job
|