rake-sprockets 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rake/sprockets.rb +2 -3
- data/lib/rake/sprockets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96a1a01ec09508d4fa2955c6b0eb7a27b9df5b31
|
4
|
+
data.tar.gz: f5b0b11c3e876e069ae62636794d5c9fde8f543d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8139dc6df744ff4edb7bfc54cc4960e8d7bd182a01f97b80fe243d40ebcffe09dbae0e17974b0e49695e30272bda5f4615196b7a9a55ec3bb7b7606896d05193
|
7
|
+
data.tar.gz: 8ffd9463e0c06fb657043e32a8fe780f0a8cf4d510c85b7569df26ae1f90b5e64733cc952e92053db4e22ae39dd407433dc79cb608a07cebca45e48adb4501ff
|
data/lib/rake/sprockets.rb
CHANGED
@@ -63,11 +63,10 @@ module Rake
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def compile
|
66
|
+
public_assets.mkpath
|
66
67
|
precompile.each do |file|
|
67
68
|
assets = sprockets.find_asset file
|
68
|
-
|
69
|
-
public_assets.join(prefix).mkpath
|
70
|
-
filename = public_assets.join prefix, basename
|
69
|
+
filename = public_assets.join file
|
71
70
|
assets.write_to filename
|
72
71
|
end
|
73
72
|
end
|