css_sprite 1.4.8 → 1.4.9
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/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)
|