Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Just compare logical paths

  • Loading branch information...
commit 97570375dfcf299726c06d6f6871d0c0d00843a4 1 parent f556aca
Joshua Peek josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sprockets/asset.rb
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.