{"action":"closed","number":1810,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810","id":30925319,"html_url":"https://github.com/thoughtbot/paperclip/pull/1810","diff_url":"https://github.com/thoughtbot/paperclip/pull/1810.diff","patch_url":"https://github.com/thoughtbot/paperclip/pull/1810.patch","issue_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1810","number":1810,"state":"closed","locked":false,"title":"Allows multiple content types for spoof detector","user":{"login":"pierallard","id":1590933,"avatar_url":"https://avatars.githubusercontent.com/u/1590933?v=3","gravatar_id":"","url":"https://api.github.com/users/pierallard","html_url":"https://github.com/pierallard","followers_url":"https://api.github.com/users/pierallard/followers","following_url":"https://api.github.com/users/pierallard/following{/other_user}","gists_url":"https://api.github.com/users/pierallard/gists{/gist_id}","starred_url":"https://api.github.com/users/pierallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierallard/subscriptions","organizations_url":"https://api.github.com/users/pierallard/orgs","repos_url":"https://api.github.com/users/pierallard/repos","events_url":"https://api.github.com/users/pierallard/events{/privacy}","received_events_url":"https://api.github.com/users/pierallard/received_events","type":"User","site_admin":false},"body":"Hi everybody\r\n\r\nI had some issue ( https://github.com/thoughtbot/paperclip/issues/1809 ) with `file` command having different results in different machines.\r\nThe solution I found is to allow an array for `content_type_mapping`, like this \r\n\r\n    Paperclip.options[:content_type_mappings][:blend] = [ \"application/octet-stream\", \"binary\" ]\r\n\r\nI created a new test. All other tests passed.","created_at":"2015-03-11T09:10:19Z","updated_at":"2015-04-24T14:17:11Z","closed_at":"2015-04-24T14:17:11Z","merged_at":null,"merge_commit_sha":"8d6c28cd5377770a203783aedeaa4c97a795410c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/paperclip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1810/comments","statuses_url":"https://api.github.com/repos/thoughtbot/paperclip/statuses/a979bb18a10e944da2f690274fae1c62e9dd736d","head":{"label":"pierallard:master","ref":"master","sha":"a979bb18a10e944da2f690274fae1c62e9dd736d","user":{"login":"pierallard","id":1590933,"avatar_url":"https://avatars.githubusercontent.com/u/1590933?v=3","gravatar_id":"","url":"https://api.github.com/users/pierallard","html_url":"https://github.com/pierallard","followers_url":"https://api.github.com/users/pierallard/followers","following_url":"https://api.github.com/users/pierallard/following{/other_user}","gists_url":"https://api.github.com/users/pierallard/gists{/gist_id}","starred_url":"https://api.github.com/users/pierallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierallard/subscriptions","organizations_url":"https://api.github.com/users/pierallard/orgs","repos_url":"https://api.github.com/users/pierallard/repos","events_url":"https://api.github.com/users/pierallard/events{/privacy}","received_events_url":"https://api.github.com/users/pierallard/received_events","type":"User","site_admin":false},"repo":{"id":32003343,"name":"paperclip","full_name":"pierallard/paperclip","owner":{"login":"pierallard","id":1590933,"avatar_url":"https://avatars.githubusercontent.com/u/1590933?v=3","gravatar_id":"","url":"https://api.github.com/users/pierallard","html_url":"https://github.com/pierallard","followers_url":"https://api.github.com/users/pierallard/followers","following_url":"https://api.github.com/users/pierallard/following{/other_user}","gists_url":"https://api.github.com/users/pierallard/gists{/gist_id}","starred_url":"https://api.github.com/users/pierallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierallard/subscriptions","organizations_url":"https://api.github.com/users/pierallard/orgs","repos_url":"https://api.github.com/users/pierallard/repos","events_url":"https://api.github.com/users/pierallard/events{/privacy}","received_events_url":"https://api.github.com/users/pierallard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pierallard/paperclip","description":"Easy file attachment management for ActiveRecord","fork":true,"url":"https://api.github.com/repos/pierallard/paperclip","forks_url":"https://api.github.com/repos/pierallard/paperclip/forks","keys_url":"https://api.github.com/repos/pierallard/paperclip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pierallard/paperclip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pierallard/paperclip/teams","hooks_url":"https://api.github.com/repos/pierallard/paperclip/hooks","issue_events_url":"https://api.github.com/repos/pierallard/paperclip/issues/events{/number}","events_url":"https://api.github.com/repos/pierallard/paperclip/events","assignees_url":"https://api.github.com/repos/pierallard/paperclip/assignees{/user}","branches_url":"https://api.github.com/repos/pierallard/paperclip/branches{/branch}","tags_url":"https://api.github.com/repos/pierallard/paperclip/tags","blobs_url":"https://api.github.com/repos/pierallard/paperclip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pierallard/paperclip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pierallard/paperclip/git/refs{/sha}","trees_url":"https://api.github.com/repos/pierallard/paperclip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pierallard/paperclip/statuses/{sha}","languages_url":"https://api.github.com/repos/pierallard/paperclip/languages","stargazers_url":"https://api.github.com/repos/pierallard/paperclip/stargazers","contributors_url":"https://api.github.com/repos/pierallard/paperclip/contributors","subscribers_url":"https://api.github.com/repos/pierallard/paperclip/subscribers","subscription_url":"https://api.github.com/repos/pierallard/paperclip/subscription","commits_url":"https://api.github.com/repos/pierallard/paperclip/commits{/sha}","git_commits_url":"https://api.github.com/repos/pierallard/paperclip/git/commits{/sha}","comments_url":"https://api.github.com/repos/pierallard/paperclip/comments{/number}","issue_comment_url":"https://api.github.com/repos/pierallard/paperclip/issues/comments{/number}","contents_url":"https://api.github.com/repos/pierallard/paperclip/contents/{+path}","compare_url":"https://api.github.com/repos/pierallard/paperclip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pierallard/paperclip/merges","archive_url":"https://api.github.com/repos/pierallard/paperclip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pierallard/paperclip/downloads","issues_url":"https://api.github.com/repos/pierallard/paperclip/issues{/number}","pulls_url":"https://api.github.com/repos/pierallard/paperclip/pulls{/number}","milestones_url":"https://api.github.com/repos/pierallard/paperclip/milestones{/number}","notifications_url":"https://api.github.com/repos/pierallard/paperclip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pierallard/paperclip/labels{/name}","releases_url":"https://api.github.com/repos/pierallard/paperclip/releases{/id}","created_at":"2015-03-11T07:05:59Z","updated_at":"2015-03-27T17:37:44Z","pushed_at":"2015-03-27T17:37:43Z","git_url":"git://github.com/pierallard/paperclip.git","ssh_url":"git@github.com:pierallard/paperclip.git","clone_url":"https://github.com/pierallard/paperclip.git","svn_url":"https://github.com/pierallard/paperclip","homepage":"http://thoughtbot.com/open-source","size":3964,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"97c78efdce65b07c6425e76000f34f1909a257cb","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":8393,"name":"paperclip","full_name":"thoughtbot/paperclip","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/paperclip","description":"Easy file attachment management for ActiveRecord","fork":false,"url":"https://api.github.com/repos/thoughtbot/paperclip","forks_url":"https://api.github.com/repos/thoughtbot/paperclip/forks","keys_url":"https://api.github.com/repos/thoughtbot/paperclip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/paperclip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/paperclip/teams","hooks_url":"https://api.github.com/repos/thoughtbot/paperclip/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/paperclip/events","assignees_url":"https://api.github.com/repos/thoughtbot/paperclip/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/paperclip/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/paperclip/tags","blobs_url":"https://api.github.com/repos/thoughtbot/paperclip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/paperclip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/paperclip/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/paperclip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/paperclip/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/paperclip/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/paperclip/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/paperclip/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/paperclip/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/paperclip/subscription","commits_url":"https://api.github.com/repos/thoughtbot/paperclip/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/paperclip/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/paperclip/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/paperclip/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/paperclip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/paperclip/merges","archive_url":"https://api.github.com/repos/thoughtbot/paperclip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/paperclip/downloads","issues_url":"https://api.github.com/repos/thoughtbot/paperclip/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/paperclip/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/paperclip/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/paperclip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/paperclip/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/paperclip/releases{/id}","created_at":"2008-04-10T19:58:20Z","updated_at":"2015-04-24T14:00:38Z","pushed_at":"2015-04-24T14:00:37Z","git_url":"git://github.com/thoughtbot/paperclip.git","ssh_url":"git@github.com:thoughtbot/paperclip.git","clone_url":"https://github.com/thoughtbot/paperclip.git","svn_url":"https://github.com/thoughtbot/paperclip","homepage":"https://robots.thoughtbot.com","size":10941,"stargazers_count":6870,"watchers_count":6870,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1498,"mirror_url":null,"open_issues_count":259,"forks":1498,"open_issues":259,"watchers":6870,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810"},"html":{"href":"https://github.com/thoughtbot/paperclip/pull/1810"},"issue":{"href":"https://api.github.com/repos/thoughtbot/paperclip/issues/1810"},"comments":{"href":"https://api.github.com/repos/thoughtbot/paperclip/issues/1810/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/paperclip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/paperclip/pulls/1810/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/paperclip/statuses/a979bb18a10e944da2f690274fae1c62e9dd736d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":15,"review_comments":10,"commits":4,"additions":15,"deletions":1,"changed_files":2}}