{"comment":{"created_at":"2011-10-23T17:04:45Z","body":"My third thought. \r\nIt it no good idea that @extensions has format or engine extension except.\r\n\r\n```ruby\r\ndef extensions\r\n  @extensions ||= @pathname.basename.to_s.scan(/\\.[^.]+/).select { |ext|\r\n    @environment.mime_types(ext) || @environment.engines(ext)\r\n  }\r\nend\r\n```\r\n\r\nAbove code has some problem. For example, \"js\" is exists twice.","updated_at":"2011-10-23T17:04:45Z","url":"https://api.github.com/repos/sstephenson/sprockets/issues/comments/2496465","id":2496465,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1f0b221851379759360d7130dabdfa53?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1f0b221851379759360d7130dabdfa53","url":"https://api.github.com/users/kennyj","id":13426,"login":"kennyj"}},"action":"created","issue":{"number":230,"created_at":"2011-10-23T15:32:43Z","pull_request":{"diff_url":"https://github.com/sstephenson/sprockets/pull/230.diff","patch_url":"https://github.com/sstephenson/sprockets/pull/230.patch","html_url":"https://github.com/sstephenson/sprockets/pull/230"},"body":"I fixed AssetAttributes#path_fingerprint.\r\nIt seem to return incorrect value when pathname has a filename included multiple period.\r\nPlease see also https://github.com/rails/rails/issues/3398","comments":3,"title":"Fix AssetAttributes#path_fingerprint. It seem to return incorrect value.","updated_at":"2011-10-23T17:04:45Z","url":"https://api.github.com/repos/sstephenson/sprockets/issues/230","id":2027049,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1f0b221851379759360d7130dabdfa53?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1f0b221851379759360d7130dabdfa53","url":"https://api.github.com/users/kennyj","id":13426,"login":"kennyj"},"html_url":"https://github.com/sstephenson/sprockets/issues/230","labels":[],"state":"open"},"legacy":{"issue_id":2027049,"comment_id":2496465}}