{"issue":{"state":"closed","created_at":"2011-12-12T20:39:11Z","updated_at":"2011-12-12T21:12:35Z","comments":1,"user":{"gravatar_id":"c7760eac6d5e1cb375aea615faac9c01","id":25282,"url":"https://api.github.com/users/woahdae","login":"woahdae","avatar_url":"https://secure.gravatar.com/avatar/c7760eac6d5e1cb375aea615faac9c01?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"In Rails 3.1, and maybe others, it includes the charset in the content\r\ntype, ex. \"text/html; charset=UTF-8\".\r\n\r\nPrevious to this commit, email-spec was checking via == 'text/html';\r\nthis changes it to check if 'text/html' is included in the content type.\r\n\r\nAlso, If a spec is wanted for this, I'll need to know which version of ruby the project was intended to run against, as I couldn't run rake due to ffi 0.6.3 not compiling on ruby 1.9.3, and removing the Gemfile.lock resulted in a version of cucumber that wasn't compatible with the project. Simplest solution would be to switch to the same ruby you use.","assignee":null,"number":84,"id":2528198,"pull_request":{"patch_url":"https://github.com/bmabey/email-spec/pull/84.patch","html_url":"https://github.com/bmabey/email-spec/pull/84","diff_url":"https://github.com/bmabey/email-spec/pull/84.diff"},"labels":[],"title":"Fix email viewer for complex content types","html_url":"https://github.com/bmabey/email-spec/issues/84","closed_at":"2011-12-12T21:11:29Z","url":"https://api.github.com/repos/bmabey/email-spec/issues/84","milestone":null},"action":"created","comment":{"created_at":"2011-12-12T21:12:35Z","updated_at":"2011-12-12T21:12:35Z","user":{"gravatar_id":"c694a032be7518a0d704318895f8fe1d","id":1837,"url":"https://api.github.com/users/bmabey","login":"bmabey","avatar_url":"https://secure.gravatar.com/avatar/c694a032be7518a0d704318895f8fe1d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Thanks, I merged it in.  Doesn't look like the email viewer ever had spec coverage no your patch is fine as is.","id":3112847,"url":"https://api.github.com/repos/bmabey/email-spec/issues/comments/3112847"}}