the-architect-sprite_generator 0.2.0 → 0.2.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.
@@ -112,8 +112,8 @@ protected
112
112
  'full_filename' => filename,
113
113
  'file_basename' => file_basename,
114
114
  'variation_name' => file_basename.gsub(/^#{basename}#{@delimiter}/, ''),
115
- 'width' => @tile ? tile.columns : image.columns,
116
- 'height' => @tile ? tile.rows : image.rows,
115
+ 'width' => @tile ? @tile.columns : image.columns,
116
+ 'height' => @tile ? @tile.rows : image.rows,
117
117
  'type' => :image
118
118
  }
119
119
  end
@@ -29,8 +29,6 @@ class SpriteGeneratorTest < Test::Unit::TestCase
29
29
  template = %q{ {{top}} }
30
30
  generator = SpriteGenerator.new(@all_images_path, @output, nil, { :template => template, :distribution => :vertical })
31
31
  css = generator.create
32
- `open #{@output}`
33
- sleep 1
34
32
  assert css.include?('240')
35
33
  end
36
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the-architect-sprite_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Scherf