{"action":"created","comment":{"url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments/45705263","id":45705263,"diff_hunk":"@@ -2,12 +2,19 @@\n %p Fill in textfields with username, upload date, content type of image and filesize (min  filesize  max).\n = simple_form_for :user, url: admin_charts_path, method: :get do |f|\n   = f.input :username\n-  = f.input :upload_date, as: :date_time_picker, input_html: { data: { date_format: \"YYYY-MM-DD\" } }\n+  = f.input :upload_date, as: :date_time_picker,\n+                          input_html: { data: { date_format: \"YYYY-MM-DD\" } }\n   = f.input :content_type, as: :select,\n-            collection: [['image/jpeg', 'image/jpeg'], ['image/gif', 'image/gif'], ['image/png', 'image/png']],\n-            required: false\n-  = f.input :file_size_min, placeholder: \"3000\", hint: \"file size between\", required: false\n-  = f.input :file_size_max, placeholder: \"25000\", required: false\n+                           collection: [ 'image/jpeg', 'image/gif', 'image/png' ],\n+                           required: false\n+  = f.input :file_size_min, as: :select,\n+                            collection: [ '5000', '10000', '15000', '20000', '25000' ],\n+                            hint: \"file size in bytes\",\n+                            required: false\n+  = f.input :file_size_max, as: :select,\n+                            collection: [ '30000', '35000', '40000', '45000', '50000', '60000' ],","path":"app/views/admin_charts/new.html.haml","position":19,"original_position":19,"commit_id":"511a4b5323b71df412933c06db6ef98ffb104765","original_commit_id":"511a4b5323b71df412933c06db6ef98ffb104765","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [97/80]","created_at":"2015-11-24T07:55:14Z","updated_at":"2015-11-24T07:55:14Z","html_url":"https://github.com/edenisn/imgur_clone/pull/27#discussion_r45705263","pull_request_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments/45705263"},"html":{"href":"https://github.com/edenisn/imgur_clone/pull/27#discussion_r45705263"},"pull_request":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27","id":51627067,"html_url":"https://github.com/edenisn/imgur_clone/pull/27","diff_url":"https://github.com/edenisn/imgur_clone/pull/27.diff","patch_url":"https://github.com/edenisn/imgur_clone/pull/27.patch","issue_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/27","number":27,"state":"open","locked":false,"title":"add combobox for input fize sizes fields in admin charts","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-24T07:55:09Z","updated_at":"2015-11-24T07:55:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1f3bbaba594243ace4d6c86564ac52c5b40019c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27/commits","review_comments_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27/comments","review_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/27/comments","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/511a4b5323b71df412933c06db6ef98ffb104765","head":{"label":"edenisn:use-combobox-for-filesizes-admin-charts","ref":"use-combobox-for-filesizes-admin-charts","sha":"511a4b5323b71df412933c06db6ef98ffb104765","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"repo":{"id":45415527,"name":"imgur_clone","full_name":"edenisn/imgur_clone","owner":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edenisn/imgur_clone","description":"image hosting","fork":false,"url":"https://api.github.com/repos/edenisn/imgur_clone","forks_url":"https://api.github.com/repos/edenisn/imgur_clone/forks","keys_url":"https://api.github.com/repos/edenisn/imgur_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenisn/imgur_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenisn/imgur_clone/teams","hooks_url":"https://api.github.com/repos/edenisn/imgur_clone/hooks","issue_events_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/events{/number}","events_url":"https://api.github.com/repos/edenisn/imgur_clone/events","assignees_url":"https://api.github.com/repos/edenisn/imgur_clone/assignees{/user}","branches_url":"https://api.github.com/repos/edenisn/imgur_clone/branches{/branch}","tags_url":"https://api.github.com/repos/edenisn/imgur_clone/tags","blobs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenisn/imgur_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenisn/imgur_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/edenisn/imgur_clone/languages","stargazers_url":"https://api.github.com/repos/edenisn/imgur_clone/stargazers","contributors_url":"https://api.github.com/repos/edenisn/imgur_clone/contributors","subscribers_url":"https://api.github.com/repos/edenisn/imgur_clone/subscribers","subscription_url":"https://api.github.com/repos/edenisn/imgur_clone/subscription","commits_url":"https://api.github.com/repos/edenisn/imgur_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenisn/imgur_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenisn/imgur_clone/contents/{+path}","compare_url":"https://api.github.com/repos/edenisn/imgur_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenisn/imgur_clone/merges","archive_url":"https://api.github.com/repos/edenisn/imgur_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenisn/imgur_clone/downloads","issues_url":"https://api.github.com/repos/edenisn/imgur_clone/issues{/number}","pulls_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/edenisn/imgur_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/edenisn/imgur_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenisn/imgur_clone/labels{/name}","releases_url":"https://api.github.com/repos/edenisn/imgur_clone/releases{/id}","created_at":"2015-11-02T19:05:07Z","updated_at":"2015-11-19T18:46:01Z","pushed_at":"2015-11-24T07:55:09Z","git_url":"git://github.com/edenisn/imgur_clone.git","ssh_url":"git@github.com:edenisn/imgur_clone.git","clone_url":"https://github.com/edenisn/imgur_clone.git","svn_url":"https://github.com/edenisn/imgur_clone","homepage":"http://imgurcloneapp.herokuapp.com","size":8217,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"edenisn:master","ref":"master","sha":"ffd908237c5dd78eb54cd10e9f2dae9267a46707","user":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"repo":{"id":45415527,"name":"imgur_clone","full_name":"edenisn/imgur_clone","owner":{"login":"edenisn","id":791349,"avatar_url":"https://avatars.githubusercontent.com/u/791349?v=3","gravatar_id":"","url":"https://api.github.com/users/edenisn","html_url":"https://github.com/edenisn","followers_url":"https://api.github.com/users/edenisn/followers","following_url":"https://api.github.com/users/edenisn/following{/other_user}","gists_url":"https://api.github.com/users/edenisn/gists{/gist_id}","starred_url":"https://api.github.com/users/edenisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenisn/subscriptions","organizations_url":"https://api.github.com/users/edenisn/orgs","repos_url":"https://api.github.com/users/edenisn/repos","events_url":"https://api.github.com/users/edenisn/events{/privacy}","received_events_url":"https://api.github.com/users/edenisn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edenisn/imgur_clone","description":"image hosting","fork":false,"url":"https://api.github.com/repos/edenisn/imgur_clone","forks_url":"https://api.github.com/repos/edenisn/imgur_clone/forks","keys_url":"https://api.github.com/repos/edenisn/imgur_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenisn/imgur_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenisn/imgur_clone/teams","hooks_url":"https://api.github.com/repos/edenisn/imgur_clone/hooks","issue_events_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/events{/number}","events_url":"https://api.github.com/repos/edenisn/imgur_clone/events","assignees_url":"https://api.github.com/repos/edenisn/imgur_clone/assignees{/user}","branches_url":"https://api.github.com/repos/edenisn/imgur_clone/branches{/branch}","tags_url":"https://api.github.com/repos/edenisn/imgur_clone/tags","blobs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenisn/imgur_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenisn/imgur_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenisn/imgur_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenisn/imgur_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/edenisn/imgur_clone/languages","stargazers_url":"https://api.github.com/repos/edenisn/imgur_clone/stargazers","contributors_url":"https://api.github.com/repos/edenisn/imgur_clone/contributors","subscribers_url":"https://api.github.com/repos/edenisn/imgur_clone/subscribers","subscription_url":"https://api.github.com/repos/edenisn/imgur_clone/subscription","commits_url":"https://api.github.com/repos/edenisn/imgur_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenisn/imgur_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenisn/imgur_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenisn/imgur_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenisn/imgur_clone/contents/{+path}","compare_url":"https://api.github.com/repos/edenisn/imgur_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenisn/imgur_clone/merges","archive_url":"https://api.github.com/repos/edenisn/imgur_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenisn/imgur_clone/downloads","issues_url":"https://api.github.com/repos/edenisn/imgur_clone/issues{/number}","pulls_url":"https://api.github.com/repos/edenisn/imgur_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/edenisn/imgur_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/edenisn/imgur_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenisn/imgur_clone/labels{/name}","releases_url":"https://api.github.com/repos/edenisn/imgur_clone/releases{/id}","created_at":"2015-11-02T19:05:07Z","updated_at":"2015-11-19T18:46:01Z","pushed_at":"2015-11-24T07:55:09Z","git_url":"git://github.com/edenisn/imgur_clone.git","ssh_url":"git@github.com:edenisn/imgur_clone.git","clone_url":"https://github.com/edenisn/imgur_clone.git","svn_url":"https://github.com/edenisn/imgur_clone","homepage":"http://imgurcloneapp.herokuapp.com","size":8217,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27"},"html":{"href":"https://github.com/edenisn/imgur_clone/pull/27"},"issue":{"href":"https://api.github.com/repos/edenisn/imgur_clone/issues/27"},"comments":{"href":"https://api.github.com/repos/edenisn/imgur_clone/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edenisn/imgur_clone/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/edenisn/imgur_clone/statuses/511a4b5323b71df412933c06db6ef98ffb104765"}}}}