css_sprite 1.4.8 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -0
- data/VERSION +1 -1
- data/css_sprite.gemspec +1 -1
- data/lib/css_sprite/sprite.rb +1 -1
- metadata +2 -2
data/README.textile
CHANGED
@@ -61,6 +61,7 @@ h2. Usage
|
|
61
61
|
2. if you install the css_sprite as a gem, you should add css_sprite task in Rakefile
|
62
62
|
<pre><code>require 'css_sprite'</code></pre>
|
63
63
|
If you install it as a plugin, you can skip this step
|
64
|
+
If you use rails3, you can skip this step too
|
64
65
|
|
65
66
|
2. define <code>config/css_sprite.yml</code>, it is not necessary by default.
|
66
67
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.9
|
data/css_sprite.gemspec
CHANGED
data/lib/css_sprite/sprite.rb
CHANGED
@@ -262,7 +262,7 @@ class Sprite
|
|
262
262
|
|
263
263
|
# destination scss file path
|
264
264
|
def dest_scss_path(directory)
|
265
|
-
File.join(@stylesheet_path,
|
265
|
+
File.join(@stylesheet_path, File.basename(directory) + '.scss')
|
266
266
|
end
|
267
267
|
|
268
268
|
# append src_image to the dest_image with position (x, y)
|