{"action":"created","issue":{"url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/2","repository_url":"https://api.github.com/repos/RubyStarts3/YPBT-app","labels_url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/2/comments","events_url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/2/events","html_url":"https://github.com/RubyStarts3/YPBT-app/issues/2","id":196265674,"number":2,"title":"Too long method in VideoAllInfoView","user":{"login":"dspp779","id":1401531,"avatar_url":"https://avatars.githubusercontent.com/u/1401531?v=3","gravatar_id":"","url":"https://api.github.com/users/dspp779","html_url":"https://github.com/dspp779","followers_url":"https://api.github.com/users/dspp779/followers","following_url":"https://api.github.com/users/dspp779/following{/other_user}","gists_url":"https://api.github.com/users/dspp779/gists{/gist_id}","starred_url":"https://api.github.com/users/dspp779/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspp779/subscriptions","organizations_url":"https://api.github.com/users/dspp779/orgs","repos_url":"https://api.github.com/users/dspp779/repos","events_url":"https://api.github.com/users/dspp779/events{/privacy}","received_events_url":"https://api.github.com/users/dspp779/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-18T08:59:45Z","updated_at":"2016-12-18T21:45:58Z","closed_at":null,"body":"Looks like you're doing scaling things on like_count to determine the color.\r\nhttps://github.com/RubyStarts3/YPBT-app/blob/master/views_objects/video_all_info_view.rb#L7-L18\r\n\r\nIt seems there are too many logics in it. Maybe moving the numeric computation part to a new function or class is a better solution."},"comment":{"url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/comments/267849106","html_url":"https://github.com/RubyStarts3/YPBT-app/issues/2#issuecomment-267849106","issue_url":"https://api.github.com/repos/RubyStarts3/YPBT-app/issues/2","id":267849106,"user":{"login":"luyimin","id":17100800,"avatar_url":"https://avatars.githubusercontent.com/u/17100800?v=3","gravatar_id":"","url":"https://api.github.com/users/luyimin","html_url":"https://github.com/luyimin","followers_url":"https://api.github.com/users/luyimin/followers","following_url":"https://api.github.com/users/luyimin/following{/other_user}","gists_url":"https://api.github.com/users/luyimin/gists{/gist_id}","starred_url":"https://api.github.com/users/luyimin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luyimin/subscriptions","organizations_url":"https://api.github.com/users/luyimin/orgs","repos_url":"https://api.github.com/users/luyimin/repos","events_url":"https://api.github.com/users/luyimin/events{/privacy}","received_events_url":"https://api.github.com/users/luyimin/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T21:45:58Z","updated_at":"2016-12-18T21:45:58Z","body":"Thanks for your advice, we already update it. :)"}}
{"actor":{"display_login":"luyimin"}}