middleman 0.9.21 → 0.9.22

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.21
1
+ 0.9.22
@@ -11,7 +11,7 @@ class << Middleman::Base
11
11
  rescue
12
12
  end
13
13
 
14
- real_path = File.join(self.environment == "build" ? self.build_dir : self.public, prefix, path)
14
+ real_path = File.join(self.public, prefix, path)
15
15
  http_path << "?" + File.mtime(real_path).strftime("%s") if File.readable?(real_path)
16
16
  http_path
17
17
  end
@@ -83,6 +83,7 @@ class Middleman::Base
83
83
 
84
84
  if self.cache_buster?
85
85
  config.asset_cache_buster do |path, real_path|
86
+ # real_path = real_path.gsub(self.build_dir, self.public)
86
87
  if File.readable?(real_path)
87
88
  File.mtime(real_path).strftime("%s")
88
89
  else
data/middleman.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{middleman}
8
- s.version = "0.9.21"
8
+ s.version = "0.9.22"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Reynolds"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.21
4
+ version: 0.9.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds