graster 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/graster.rb +4 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -73,9 +73,11 @@ class Graster
73
73
 
74
74
  if @image
75
75
  2.times {|i| @config[:tile_size][i] ||= @image.size[i]*@scale[i] }
76
- @tile_interval = 2.times.map {|i|
77
- @config[:tile_size][i] + @config[:tile_spacing][i]
76
+ @tile_interval = []
77
+ 2.times {|i|
78
+ @tile_interval << @config[:tile_size][i] + @config[:tile_spacing][i]
78
79
  }
80
+ @tile_interval
79
81
  end
80
82
 
81
83
  @on_range = Range.new Image.f_to_pix(@config[:on_range].first),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jedediah Smith