the-architect-sprite_generator 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sprite_generator.rb +2 -2
  2. metadata +1 -1
@@ -137,7 +137,7 @@ protected
137
137
 
138
138
  def append_to_sprite(images)
139
139
  background = @background
140
- @images.from_blob(images.append(true).to_blob){ self.background_color = background }
140
+ @images.from_blob(images.append(true).to_blob){ self.background_color = background }
141
141
  end
142
142
 
143
143
 
@@ -209,7 +209,7 @@ protected
209
209
 
210
210
  # put filenames in format for each mode
211
211
  def find_files_for_mode(mode)
212
- case mode
212
+ case mode.to_sym
213
213
  when :smart
214
214
  smart_distribution
215
215
  when :horizontal
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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Scherf