middleman 0.10.12 → 0.10.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/middleman/features/cache_buster.rb +2 -1
- data/middleman.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.13
|
@@ -4,7 +4,8 @@ class Middleman::Base
|
|
4
4
|
after_feature_init do
|
5
5
|
::Compass.configuration do |config|
|
6
6
|
config.asset_cache_buster do |path, real_path|
|
7
|
-
|
7
|
+
real_path = real_path.path if real_path.is_a? File
|
8
|
+
real_path = real_path.gsub(File.join(self.root, self.build_dir), self.public)
|
8
9
|
if File.readable?(real_path)
|
9
10
|
File.mtime(real_path).strftime("%s")
|
10
11
|
else
|
data/middleman.gemspec
CHANGED