{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/30976022","id":30976022,"diff_hunk":"@@ -52,6 +52,9 @@ def ==(other)\n       end\n     end\n \n+    # Returns the amount of seconds a duration covers as a string.\n+    #\n+    #   1.day.to_s      # => \"86400\"","path":"activesupport/lib/active_support/duration.rb","position":null,"original_position":6,"commit_id":"4e93299529229a760d72ca09b875ee3532336dc2","original_commit_id":"fd04d521e71c97a5f5b7101b9d69591864ba7259","user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"body":"ups :sweat: \r\nupdated","created_at":"2015-05-25T11:47:10Z","updated_at":"2015-05-25T11:47:10Z","html_url":"https://github.com/rails/rails/pull/20293#discussion_r30976022","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/20293","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/30976022"},"html":{"href":"https://github.com/rails/rails/pull/20293#discussion_r30976022"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/20293"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/20293","id":36132115,"html_url":"https://github.com/rails/rails/pull/20293","diff_url":"https://github.com/rails/rails/pull/20293.diff","patch_url":"https://github.com/rails/rails/pull/20293.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/20293","number":20293,"state":"open","locked":false,"title":"Update documentation for Duration#to_s","user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-25T10:52:02Z","updated_at":"2015-05-25T11:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a299391f645996c53dd628ccb03728db3391f035","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/20293/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/20293/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/20293/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/4e93299529229a760d72ca09b875ee3532336dc2","head":{"label":"davydovanton:doc-duration","ref":"doc-duration","sha":"4e93299529229a760d72ca09b875ee3532336dc2","user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"repo":{"id":29138695,"name":"rails","full_name":"davydovanton/rails","owner":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davydovanton/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/davydovanton/rails","forks_url":"https://api.github.com/repos/davydovanton/rails/forks","keys_url":"https://api.github.com/repos/davydovanton/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davydovanton/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davydovanton/rails/teams","hooks_url":"https://api.github.com/repos/davydovanton/rails/hooks","issue_events_url":"https://api.github.com/repos/davydovanton/rails/issues/events{/number}","events_url":"https://api.github.com/repos/davydovanton/rails/events","assignees_url":"https://api.github.com/repos/davydovanton/rails/assignees{/user}","branches_url":"https://api.github.com/repos/davydovanton/rails/branches{/branch}","tags_url":"https://api.github.com/repos/davydovanton/rails/tags","blobs_url":"https://api.github.com/repos/davydovanton/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davydovanton/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davydovanton/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/davydovanton/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davydovanton/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/davydovanton/rails/languages","stargazers_url":"https://api.github.com/repos/davydovanton/rails/stargazers","contributors_url":"https://api.github.com/repos/davydovanton/rails/contributors","subscribers_url":"https://api.github.com/repos/davydovanton/rails/subscribers","subscription_url":"https://api.github.com/repos/davydovanton/rails/subscription","commits_url":"https://api.github.com/repos/davydovanton/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/davydovanton/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/davydovanton/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/davydovanton/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/davydovanton/rails/contents/{+path}","compare_url":"https://api.github.com/repos/davydovanton/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davydovanton/rails/merges","archive_url":"https://api.github.com/repos/davydovanton/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davydovanton/rails/downloads","issues_url":"https://api.github.com/repos/davydovanton/rails/issues{/number}","pulls_url":"https://api.github.com/repos/davydovanton/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/davydovanton/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/davydovanton/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davydovanton/rails/labels{/name}","releases_url":"https://api.github.com/repos/davydovanton/rails/releases{/id}","created_at":"2015-01-12T14:17:51Z","updated_at":"2015-04-19T19:20:39Z","pushed_at":"2015-05-25T11:46:42Z","git_url":"git://github.com/davydovanton/rails.git","ssh_url":"git@github.com:davydovanton/rails.git","clone_url":"https://github.com/davydovanton/rails.git","svn_url":"https://github.com/davydovanton/rails","homepage":"http://rubyonrails.org","size":139833,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"d0a370ec93c7e1118f3f58effe2e64712d3492bd","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2015-05-25T11:35:59Z","pushed_at":"2015-05-25T11:46:55Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":444439,"stargazers_count":26236,"watchers_count":26236,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10420,"mirror_url":null,"open_issues_count":811,"forks":10420,"open_issues":811,"watchers":26236,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/20293"},"html":{"href":"https://github.com/rails/rails/pull/20293"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/20293"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/20293/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/20293/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/20293/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/4e93299529229a760d72ca09b875ee3532336dc2"}}}}