{"action":"created","issue":{"url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/2","labels_url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/2/comments","events_url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/2/events","html_url":"https://github.com/lserman/capistrano-elbas/pull/2","id":92201082,"number":2,"title":"Fix for running instance size calculation used by deploy.","user":{"login":"macgregordennis","id":1322709,"avatar_url":"https://avatars.githubusercontent.com/u/1322709?v=3","gravatar_id":"","url":"https://api.github.com/users/macgregordennis","html_url":"https://github.com/macgregordennis","followers_url":"https://api.github.com/users/macgregordennis/followers","following_url":"https://api.github.com/users/macgregordennis/following{/other_user}","gists_url":"https://api.github.com/users/macgregordennis/gists{/gist_id}","starred_url":"https://api.github.com/users/macgregordennis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macgregordennis/subscriptions","organizations_url":"https://api.github.com/users/macgregordennis/orgs","repos_url":"https://api.github.com/users/macgregordennis/repos","events_url":"https://api.github.com/users/macgregordennis/events{/privacy}","received_events_url":"https://api.github.com/users/macgregordennis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-30T21:14:01Z","updated_at":"2015-06-30T23:30:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lserman/capistrano-elbas/pulls/2","html_url":"https://github.com/lserman/capistrano-elbas/pull/2","diff_url":"https://github.com/lserman/capistrano-elbas/pull/2.diff","patch_url":"https://github.com/lserman/capistrano-elbas/pull/2.patch"},"body":"@lserman please see my comment below for a description of a bug and my fix for it."},"comment":{"url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/comments/117371906","html_url":"https://github.com/lserman/capistrano-elbas/pull/2#issuecomment-117371906","issue_url":"https://api.github.com/repos/lserman/capistrano-elbas/issues/2","id":117371906,"user":{"login":"macgregordennis","id":1322709,"avatar_url":"https://avatars.githubusercontent.com/u/1322709?v=3","gravatar_id":"","url":"https://api.github.com/users/macgregordennis","html_url":"https://github.com/macgregordennis","followers_url":"https://api.github.com/users/macgregordennis/followers","following_url":"https://api.github.com/users/macgregordennis/following{/other_user}","gists_url":"https://api.github.com/users/macgregordennis/gists{/gist_id}","starred_url":"https://api.github.com/users/macgregordennis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macgregordennis/subscriptions","organizations_url":"https://api.github.com/users/macgregordennis/orgs","repos_url":"https://api.github.com/users/macgregordennis/repos","events_url":"https://api.github.com/users/macgregordennis/events{/privacy}","received_events_url":"https://api.github.com/users/macgregordennis/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T23:30:22Z","updated_at":"2015-06-30T23:30:22Z","body":"Hi! Yes, that sounds like a good idea. I'll submit a new pull request a\nlittle later. Thanks!\n\nOn Tuesday, June 30, 2015, Logan Serman <notifications@github.com> wrote:\n\n> Hi @macgregordennis <https://github.com/macgregordennis> - thanks! It\n> looks like InstanceCollection includes Ruby's Enumerable through it's\n> parent, so we should be able to use #count here instead of #size - this\n> way we avoid counting manually like you have here. Would you mind updating\n> the PR?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/lserman/capistrano-elbas/pull/2#issuecomment-117371708>\n> .\n>\n\n\n-- \nSent from my iPhone\n"}}