{"action":"opened","number":289,"pull_request":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289","id":32572618,"html_url":"https://github.com/glittergallery/GlitterGallery/pull/289","diff_url":"https://github.com/glittergallery/GlitterGallery/pull/289.diff","patch_url":"https://github.com/glittergallery/GlitterGallery/pull/289.patch","issue_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/289","number":289,"state":"open","locked":false,"title":"fix #287: update image working","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"body":"closes #287 (hopefully)\r\n\r\nOf course we need to add tests. Before that:\r\n* When user click on `update` he is updating a single image, hence I am not allowing him to select multiple images. However, I am using an array of `ActionDispatch::Request` so that we can use same function `satellite_commit`. Am I right?\r\n* When user update an `image1.jpg` with `image2.jpg`. We keep both copies of `image1` and `image2` in tree. Shouldn't we remove `image1.jpg` from tree?\r\n* Can I take up #220? We already have #236 but there seems to be no activity on it. #220 needs to be fixed for me to write tests.\r\n\r\n#In_Progress #Need_Feedback","created_at":"2015-04-03T06:34:31Z","updated_at":"2015-04-03T06:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289/commits","review_comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289/comments","review_comment_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/289/comments","statuses_url":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/303b443b166fd60da1fb08e3a2b12c418536292d","head":{"label":"sonalkr132:update_image","ref":"update_image","sha":"303b443b166fd60da1fb08e3a2b12c418536292d","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"repo":{"id":31713134,"name":"GlitterGallery","full_name":"sonalkr132/GlitterGallery","owner":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sonalkr132/GlitterGallery","description":"Share, collect feedback on, and view/manage design iterations.","fork":true,"url":"https://api.github.com/repos/sonalkr132/GlitterGallery","forks_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/forks","keys_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/teams","hooks_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/hooks","issue_events_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues/events{/number}","events_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/events","assignees_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/assignees{/user}","branches_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/branches{/branch}","tags_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/tags","blobs_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/languages","stargazers_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/stargazers","contributors_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/contributors","subscribers_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/subscribers","subscription_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/subscription","commits_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/contents/{+path}","compare_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/merges","archive_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/downloads","issues_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues{/number}","pulls_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/labels{/name}","releases_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/releases{/id}","created_at":"2015-03-05T12:41:04Z","updated_at":"2015-03-15T03:41:52Z","pushed_at":"2015-04-03T06:08:30Z","git_url":"git://github.com/sonalkr132/GlitterGallery.git","ssh_url":"git@github.com:sonalkr132/GlitterGallery.git","clone_url":"https://github.com/sonalkr132/GlitterGallery.git","svn_url":"https://github.com/sonalkr132/GlitterGallery","homepage":"","size":27345,"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":"ajax_comments"}},"base":{"label":"glittergallery:master","ref":"master","sha":"daa4d393ceaa503331b7c79e34eb7d78658d3403","user":{"login":"glittergallery","id":6554891,"avatar_url":"https://avatars.githubusercontent.com/u/6554891?v=3","gravatar_id":"","url":"https://api.github.com/users/glittergallery","html_url":"https://github.com/glittergallery","followers_url":"https://api.github.com/users/glittergallery/followers","following_url":"https://api.github.com/users/glittergallery/following{/other_user}","gists_url":"https://api.github.com/users/glittergallery/gists{/gist_id}","starred_url":"https://api.github.com/users/glittergallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittergallery/subscriptions","organizations_url":"https://api.github.com/users/glittergallery/orgs","repos_url":"https://api.github.com/users/glittergallery/repos","events_url":"https://api.github.com/users/glittergallery/events{/privacy}","received_events_url":"https://api.github.com/users/glittergallery/received_events","type":"Organization","site_admin":false},"repo":{"id":4059120,"name":"GlitterGallery","full_name":"glittergallery/GlitterGallery","owner":{"login":"glittergallery","id":6554891,"avatar_url":"https://avatars.githubusercontent.com/u/6554891?v=3","gravatar_id":"","url":"https://api.github.com/users/glittergallery","html_url":"https://github.com/glittergallery","followers_url":"https://api.github.com/users/glittergallery/followers","following_url":"https://api.github.com/users/glittergallery/following{/other_user}","gists_url":"https://api.github.com/users/glittergallery/gists{/gist_id}","starred_url":"https://api.github.com/users/glittergallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittergallery/subscriptions","organizations_url":"https://api.github.com/users/glittergallery/orgs","repos_url":"https://api.github.com/users/glittergallery/repos","events_url":"https://api.github.com/users/glittergallery/events{/privacy}","received_events_url":"https://api.github.com/users/glittergallery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glittergallery/GlitterGallery","description":"Share, collect feedback on, and view/manage design iterations.","fork":false,"url":"https://api.github.com/repos/glittergallery/GlitterGallery","forks_url":"https://api.github.com/repos/glittergallery/GlitterGallery/forks","keys_url":"https://api.github.com/repos/glittergallery/GlitterGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glittergallery/GlitterGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glittergallery/GlitterGallery/teams","hooks_url":"https://api.github.com/repos/glittergallery/GlitterGallery/hooks","issue_events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/events{/number}","events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/events","assignees_url":"https://api.github.com/repos/glittergallery/GlitterGallery/assignees{/user}","branches_url":"https://api.github.com/repos/glittergallery/GlitterGallery/branches{/branch}","tags_url":"https://api.github.com/repos/glittergallery/GlitterGallery/tags","blobs_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/glittergallery/GlitterGallery/languages","stargazers_url":"https://api.github.com/repos/glittergallery/GlitterGallery/stargazers","contributors_url":"https://api.github.com/repos/glittergallery/GlitterGallery/contributors","subscribers_url":"https://api.github.com/repos/glittergallery/GlitterGallery/subscribers","subscription_url":"https://api.github.com/repos/glittergallery/GlitterGallery/subscription","commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/glittergallery/GlitterGallery/contents/{+path}","compare_url":"https://api.github.com/repos/glittergallery/GlitterGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glittergallery/GlitterGallery/merges","archive_url":"https://api.github.com/repos/glittergallery/GlitterGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glittergallery/GlitterGallery/downloads","issues_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues{/number}","pulls_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/glittergallery/GlitterGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/glittergallery/GlitterGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glittergallery/GlitterGallery/labels{/name}","releases_url":"https://api.github.com/repos/glittergallery/GlitterGallery/releases{/id}","created_at":"2012-04-18T01:39:38Z","updated_at":"2015-03-30T03:54:35Z","pushed_at":"2015-04-03T03:42:31Z","git_url":"git://github.com/glittergallery/GlitterGallery.git","ssh_url":"git@github.com:glittergallery/GlitterGallery.git","clone_url":"https://github.com/glittergallery/GlitterGallery.git","svn_url":"https://github.com/glittergallery/GlitterGallery","homepage":"","size":29297,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":37,"forks":45,"open_issues":37,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289"},"html":{"href":"https://github.com/glittergallery/GlitterGallery/pull/289"},"issue":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/289"},"comments":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289/comments"},"review_comment":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/289/commits"},"statuses":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/303b443b166fd60da1fb08e3a2b12c418536292d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":7,"changed_files":2}}