Permalink
Browse files

Just compare logical paths

  • Loading branch information...
josh committed Oct 11, 2011
1 parent f556aca commit 97570375dfcf299726c06d6f6871d0c0d00843a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sprockets/asset.rb
View
@@ -186,7 +186,7 @@ def inspect
# Assets are equal if they share the same path, mtime and digest.
def eql?(other)
other.class == self.class &&
- other.relative_pathname == self.relative_pathname &&
+ other.logical_path == self.logical_path &&
other.mtime.to_i == self.mtime.to_i &&
other.digest == self.digest
end

0 comments on commit 9757037

Please sign in to comment.