{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/30068","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/30068/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/30068/comments","events_url":"https://api.github.com/repos/rails/rails/issues/30068/events","html_url":"https://github.com/rails/rails/pull/30068","id":247871664,"number":30068,"title":"Use `content_type.start_with?(\"...\")` than `content_type =~ /^.../`","user":{"login":"kamipo","id":12642,"avatar_url":"https://avatars0.githubusercontent.com/u/12642?v=4","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-04T00:30:09Z","updated_at":"2017-08-04T00:30:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/30068","html_url":"https://github.com/rails/rails/pull/30068","diff_url":"https://github.com/rails/rails/pull/30068.diff","patch_url":"https://github.com/rails/rails/pull/30068.patch"},"body":"`start_with?` is a little faster than regexp for prefix matching by a\r\nfixed string."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/320124925","html_url":"https://github.com/rails/rails/pull/30068#issuecomment-320124925","issue_url":"https://api.github.com/repos/rails/rails/issues/30068","id":320124925,"user":{"login":"rails-bot","id":7468109,"avatar_url":"https://avatars0.githubusercontent.com/u/7468109?v=4","gravatar_id":"","url":"https://api.github.com/users/rails-bot","html_url":"https://github.com/rails-bot","followers_url":"https://api.github.com/users/rails-bot/followers","following_url":"https://api.github.com/users/rails-bot/following{/other_user}","gists_url":"https://api.github.com/users/rails-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-bot/subscriptions","organizations_url":"https://api.github.com/users/rails-bot/orgs","repos_url":"https://api.github.com/users/rails-bot/repos","events_url":"https://api.github.com/users/rails-bot/events{/privacy}","received_events_url":"https://api.github.com/users/rails-bot/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T00:30:19Z","updated_at":"2017-08-04T00:30:19Z","body":"<img src=\"http://www.joshmatthews.net/warning.svg\" alt=\"warning\" height=20> **Warning** <img src=\"http://www.joshmatthews.net/warning.svg\" alt=\"warning\" height=20>\n\n* Pull requests are usually filed against the master branch for this repo, but this one is against active-storage-import. Please double check that you specified the right target!"}}
{"actor":{"display_login":"rails-bot"}}