{"action":"created","comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/23869454","id":23869454,"diff_hunk":"@@ -22,7 +22,7 @@\n \n      context 'for valid png file' do\n       before do\n-        png = fixture_file_upload(Rails.root + 'spec/fixtures/dk.png', 'image/png')\n+        png = Rack::Test::UploadedFile.new(Rails.root + 'spec/fixtures/dk.png', 'image/png')","path":"spec/services/projects/image_service_spec.rb","position":14,"original_position":14,"commit_id":"3c0d84a0c91b3a19a286d98b38e3cc8207ab3d66","original_commit_id":"3c0d84a0c91b3a19a286d98b38e3cc8207ab3d66","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. [92/80]","created_at":"2015-01-30T20:18:44Z","updated_at":"2015-01-30T20:18:44Z","html_url":"https://github.com/gitlabhq/gitlabhq/pull/8697#discussion_r23869454","pull_request_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697","_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/23869454"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8697#discussion_r23869454"},"pull_request":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697"}}},"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697","id":28389917,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/8697","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8697.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8697.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8697","number":8697,"state":"open","locked":false,"title":"Adds persistent collapse button for left side bar","user":{"login":"jasonblanchard","id":1238532,"avatar_url":"https://avatars.githubusercontent.com/u/1238532?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblanchard","html_url":"https://github.com/jasonblanchard","followers_url":"https://api.github.com/users/jasonblanchard/followers","following_url":"https://api.github.com/users/jasonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/jasonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblanchard/subscriptions","organizations_url":"https://api.github.com/users/jasonblanchard/orgs","repos_url":"https://api.github.com/users/jasonblanchard/repos","events_url":"https://api.github.com/users/jasonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblanchard/received_events","type":"User","site_admin":false},"body":"Fixes #8684 by adding a \"collapse\" and \"expand\" button on the left sidebar nav. State is stored in the `session` hash as suggested by @randx.\r\n\r\nThe purpose of this change is to allow for more screen real estate for larger viewports.\r\n\r\nHere's what it looks like expanded\r\n\r\n![expanded](https://cloud.githubusercontent.com/assets/1238532/5982597/939d7786-a892-11e4-82ce-305f7ecb4295.png)\r\n\r\nHere is is collapsed (ahhh, so refreshing :)\r\n\r\n![collapsed](https://cloud.githubusercontent.com/assets/1238532/5982600/993eda2c-a892-11e4-8df4-4451fcc01895.png)\r\n\r\nThe option is hidden on small viewports:\r\n\r\n![small](https://cloud.githubusercontent.com/assets/1238532/5982604/a0ece87c-a892-11e4-94c7-143275c776f1.png)\r\n\r\nI'm not super in love with the button placement, so let me know if folks have other suggestions.\r\n\r\nNote that I hit this bug https://github.com/activeadmin/activeadmin/issues/512 when testing the helper with the `session` hash. I used the fix suggested in that issue which required that I changed a few other tests. Everything appears to be working locally, but let me know if it causes other problems.","created_at":"2015-01-30T20:16:59Z","updated_at":"2015-01-30T20:18:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0801dca4d55db58ef68cb512e22fc6a10f1bbf60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8697/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/3c0d84a0c91b3a19a286d98b38e3cc8207ab3d66","head":{"label":"jasonblanchard:collapseable-nav","ref":"collapseable-nav","sha":"3c0d84a0c91b3a19a286d98b38e3cc8207ab3d66","user":{"login":"jasonblanchard","id":1238532,"avatar_url":"https://avatars.githubusercontent.com/u/1238532?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblanchard","html_url":"https://github.com/jasonblanchard","followers_url":"https://api.github.com/users/jasonblanchard/followers","following_url":"https://api.github.com/users/jasonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/jasonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblanchard/subscriptions","organizations_url":"https://api.github.com/users/jasonblanchard/orgs","repos_url":"https://api.github.com/users/jasonblanchard/repos","events_url":"https://api.github.com/users/jasonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblanchard/received_events","type":"User","site_admin":false},"repo":{"id":14540724,"name":"gitlabhq","full_name":"jasonblanchard/gitlabhq","owner":{"login":"jasonblanchard","id":1238532,"avatar_url":"https://avatars.githubusercontent.com/u/1238532?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblanchard","html_url":"https://github.com/jasonblanchard","followers_url":"https://api.github.com/users/jasonblanchard/followers","following_url":"https://api.github.com/users/jasonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/jasonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblanchard/subscriptions","organizations_url":"https://api.github.com/users/jasonblanchard/orgs","repos_url":"https://api.github.com/users/jasonblanchard/repos","events_url":"https://api.github.com/users/jasonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblanchard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jasonblanchard/gitlabhq","description":"Project management and code hosting  application. Follow us on twitter @gitlabhq","fork":true,"url":"https://api.github.com/repos/jasonblanchard/gitlabhq","forks_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/forks","keys_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/teams","hooks_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/events","assignees_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/tags","blobs_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/subscription","commits_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/merges","archive_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/downloads","issues_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/jasonblanchard/gitlabhq/releases{/id}","created_at":"2013-11-19T23:06:52Z","updated_at":"2014-03-03T07:50:54Z","pushed_at":"2015-01-30T20:18:34Z","git_url":"git://github.com/jasonblanchard/gitlabhq.git","ssh_url":"git@github.com:jasonblanchard/gitlabhq.git","clone_url":"https://github.com/jasonblanchard/gitlabhq.git","svn_url":"https://github.com/jasonblanchard/gitlabhq","homepage":"gitlab.org","size":75917,"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":"gitlabhq:master","ref":"master","sha":"c47328948b5fff218c68279260a57ab6b03e7423","user":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"repo":{"id":2500088,"name":"gitlabhq","full_name":"gitlabhq/gitlabhq","owner":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitlabhq/gitlabhq","description":"Open source software to collaborate on code. Follow us on twitter @gitlab","fork":false,"url":"https://api.github.com/repos/gitlabhq/gitlabhq","forks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/forks","keys_url":"https://api.github.com/repos/gitlabhq/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitlabhq/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitlabhq/gitlabhq/teams","hooks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/events","assignees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/gitlabhq/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/tags","blobs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/gitlabhq/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscription","commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/gitlabhq/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitlabhq/gitlabhq/merges","archive_url":"https://api.github.com/repos/gitlabhq/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitlabhq/gitlabhq/downloads","issues_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/gitlabhq/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/gitlabhq/gitlabhq/releases{/id}","created_at":"2011-10-02T16:25:27Z","updated_at":"2015-01-30T17:57:25Z","pushed_at":"2015-01-30T08:23:14Z","git_url":"git://github.com/gitlabhq/gitlabhq.git","ssh_url":"git@github.com:gitlabhq/gitlabhq.git","clone_url":"https://github.com/gitlabhq/gitlabhq.git","svn_url":"https://github.com/gitlabhq/gitlabhq","homepage":"https://about.gitlab.com/","size":144171,"stargazers_count":14765,"watchers_count":14765,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3880,"mirror_url":null,"open_issues_count":752,"forks":3880,"open_issues":752,"watchers":14765,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8697"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8697"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8697/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8697/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/3c0d84a0c91b3a19a286d98b38e3cc8207ab3d66"}}}}