{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9","id":59659589,"html_url":"https://github.com/shekibobo/time_splitter/pull/9","diff_url":"https://github.com/shekibobo/time_splitter/pull/9.diff","patch_url":"https://github.com/shekibobo/time_splitter/pull/9.patch","issue_url":"https://api.github.com/repos/shekibobo/time_splitter/issues/9","number":9,"state":"open","locked":false,"title":"Add default method to model scope","user":{"login":"paulodiovani","id":1295197,"avatar_url":"https://avatars.githubusercontent.com/u/1295197?v=3","gravatar_id":"","url":"https://api.github.com/users/paulodiovani","html_url":"https://github.com/paulodiovani","followers_url":"https://api.github.com/users/paulodiovani/followers","following_url":"https://api.github.com/users/paulodiovani/following{/other_user}","gists_url":"https://api.github.com/users/paulodiovani/gists{/gist_id}","starred_url":"https://api.github.com/users/paulodiovani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulodiovani/subscriptions","organizations_url":"https://api.github.com/users/paulodiovani/orgs","repos_url":"https://api.github.com/users/paulodiovani/repos","events_url":"https://api.github.com/users/paulodiovani/events{/privacy}","received_events_url":"https://api.github.com/users/paulodiovani/received_events","type":"User","site_admin":false},"body":"Allows depend on another field for the `default` option.\r\n\r\nThis fix #8 ","created_at":"2016-02-17T15:27:03Z","updated_at":"2016-02-17T15:27:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9/commits","review_comments_url":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9/comments","review_comment_url":"https://api.github.com/repos/shekibobo/time_splitter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shekibobo/time_splitter/issues/9/comments","statuses_url":"https://api.github.com/repos/shekibobo/time_splitter/statuses/2ee74e08c9a62ccaa61986823ea369d81f307819","head":{"label":"paulodiovani:default_scope","ref":"default_scope","sha":"2ee74e08c9a62ccaa61986823ea369d81f307819","user":{"login":"paulodiovani","id":1295197,"avatar_url":"https://avatars.githubusercontent.com/u/1295197?v=3","gravatar_id":"","url":"https://api.github.com/users/paulodiovani","html_url":"https://github.com/paulodiovani","followers_url":"https://api.github.com/users/paulodiovani/followers","following_url":"https://api.github.com/users/paulodiovani/following{/other_user}","gists_url":"https://api.github.com/users/paulodiovani/gists{/gist_id}","starred_url":"https://api.github.com/users/paulodiovani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulodiovani/subscriptions","organizations_url":"https://api.github.com/users/paulodiovani/orgs","repos_url":"https://api.github.com/users/paulodiovani/repos","events_url":"https://api.github.com/users/paulodiovani/events{/privacy}","received_events_url":"https://api.github.com/users/paulodiovani/received_events","type":"User","site_admin":false},"repo":{"id":51924668,"name":"time_splitter","full_name":"paulodiovani/time_splitter","owner":{"login":"paulodiovani","id":1295197,"avatar_url":"https://avatars.githubusercontent.com/u/1295197?v=3","gravatar_id":"","url":"https://api.github.com/users/paulodiovani","html_url":"https://github.com/paulodiovani","followers_url":"https://api.github.com/users/paulodiovani/followers","following_url":"https://api.github.com/users/paulodiovani/following{/other_user}","gists_url":"https://api.github.com/users/paulodiovani/gists{/gist_id}","starred_url":"https://api.github.com/users/paulodiovani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulodiovani/subscriptions","organizations_url":"https://api.github.com/users/paulodiovani/orgs","repos_url":"https://api.github.com/users/paulodiovani/repos","events_url":"https://api.github.com/users/paulodiovani/events{/privacy}","received_events_url":"https://api.github.com/users/paulodiovani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulodiovani/time_splitter","description":"Easily split Time/DateTime attribute accessors on your models for date, time, hour, and minute.","fork":true,"url":"https://api.github.com/repos/paulodiovani/time_splitter","forks_url":"https://api.github.com/repos/paulodiovani/time_splitter/forks","keys_url":"https://api.github.com/repos/paulodiovani/time_splitter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulodiovani/time_splitter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulodiovani/time_splitter/teams","hooks_url":"https://api.github.com/repos/paulodiovani/time_splitter/hooks","issue_events_url":"https://api.github.com/repos/paulodiovani/time_splitter/issues/events{/number}","events_url":"https://api.github.com/repos/paulodiovani/time_splitter/events","assignees_url":"https://api.github.com/repos/paulodiovani/time_splitter/assignees{/user}","branches_url":"https://api.github.com/repos/paulodiovani/time_splitter/branches{/branch}","tags_url":"https://api.github.com/repos/paulodiovani/time_splitter/tags","blobs_url":"https://api.github.com/repos/paulodiovani/time_splitter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulodiovani/time_splitter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulodiovani/time_splitter/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulodiovani/time_splitter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulodiovani/time_splitter/statuses/{sha}","languages_url":"https://api.github.com/repos/paulodiovani/time_splitter/languages","stargazers_url":"https://api.github.com/repos/paulodiovani/time_splitter/stargazers","contributors_url":"https://api.github.com/repos/paulodiovani/time_splitter/contributors","subscribers_url":"https://api.github.com/repos/paulodiovani/time_splitter/subscribers","subscription_url":"https://api.github.com/repos/paulodiovani/time_splitter/subscription","commits_url":"https://api.github.com/repos/paulodiovani/time_splitter/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulodiovani/time_splitter/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulodiovani/time_splitter/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulodiovani/time_splitter/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulodiovani/time_splitter/contents/{+path}","compare_url":"https://api.github.com/repos/paulodiovani/time_splitter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulodiovani/time_splitter/merges","archive_url":"https://api.github.com/repos/paulodiovani/time_splitter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulodiovani/time_splitter/downloads","issues_url":"https://api.github.com/repos/paulodiovani/time_splitter/issues{/number}","pulls_url":"https://api.github.com/repos/paulodiovani/time_splitter/pulls{/number}","milestones_url":"https://api.github.com/repos/paulodiovani/time_splitter/milestones{/number}","notifications_url":"https://api.github.com/repos/paulodiovani/time_splitter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulodiovani/time_splitter/labels{/name}","releases_url":"https://api.github.com/repos/paulodiovani/time_splitter/releases{/id}","deployments_url":"https://api.github.com/repos/paulodiovani/time_splitter/deployments","created_at":"2016-02-17T13:31:37Z","updated_at":"2016-02-17T13:31:37Z","pushed_at":"2016-02-17T15:25:42Z","git_url":"git://github.com/paulodiovani/time_splitter.git","ssh_url":"git@github.com:paulodiovani/time_splitter.git","clone_url":"https://github.com/paulodiovani/time_splitter.git","svn_url":"https://github.com/paulodiovani/time_splitter","homepage":"https://github.com/shekibobo/time_splitter","size":43,"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":"shekibobo:master","ref":"master","sha":"6545c68fff06274d5b51170c052d97cc959eb277","user":{"login":"shekibobo","id":293858,"avatar_url":"https://avatars.githubusercontent.com/u/293858?v=3","gravatar_id":"","url":"https://api.github.com/users/shekibobo","html_url":"https://github.com/shekibobo","followers_url":"https://api.github.com/users/shekibobo/followers","following_url":"https://api.github.com/users/shekibobo/following{/other_user}","gists_url":"https://api.github.com/users/shekibobo/gists{/gist_id}","starred_url":"https://api.github.com/users/shekibobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekibobo/subscriptions","organizations_url":"https://api.github.com/users/shekibobo/orgs","repos_url":"https://api.github.com/users/shekibobo/repos","events_url":"https://api.github.com/users/shekibobo/events{/privacy}","received_events_url":"https://api.github.com/users/shekibobo/received_events","type":"User","site_admin":false},"repo":{"id":13071316,"name":"time_splitter","full_name":"shekibobo/time_splitter","owner":{"login":"shekibobo","id":293858,"avatar_url":"https://avatars.githubusercontent.com/u/293858?v=3","gravatar_id":"","url":"https://api.github.com/users/shekibobo","html_url":"https://github.com/shekibobo","followers_url":"https://api.github.com/users/shekibobo/followers","following_url":"https://api.github.com/users/shekibobo/following{/other_user}","gists_url":"https://api.github.com/users/shekibobo/gists{/gist_id}","starred_url":"https://api.github.com/users/shekibobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekibobo/subscriptions","organizations_url":"https://api.github.com/users/shekibobo/orgs","repos_url":"https://api.github.com/users/shekibobo/repos","events_url":"https://api.github.com/users/shekibobo/events{/privacy}","received_events_url":"https://api.github.com/users/shekibobo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shekibobo/time_splitter","description":"Easily split Time/DateTime attribute accessors on your models for date, time, hour, and minute.","fork":true,"url":"https://api.github.com/repos/shekibobo/time_splitter","forks_url":"https://api.github.com/repos/shekibobo/time_splitter/forks","keys_url":"https://api.github.com/repos/shekibobo/time_splitter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shekibobo/time_splitter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shekibobo/time_splitter/teams","hooks_url":"https://api.github.com/repos/shekibobo/time_splitter/hooks","issue_events_url":"https://api.github.com/repos/shekibobo/time_splitter/issues/events{/number}","events_url":"https://api.github.com/repos/shekibobo/time_splitter/events","assignees_url":"https://api.github.com/repos/shekibobo/time_splitter/assignees{/user}","branches_url":"https://api.github.com/repos/shekibobo/time_splitter/branches{/branch}","tags_url":"https://api.github.com/repos/shekibobo/time_splitter/tags","blobs_url":"https://api.github.com/repos/shekibobo/time_splitter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shekibobo/time_splitter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shekibobo/time_splitter/git/refs{/sha}","trees_url":"https://api.github.com/repos/shekibobo/time_splitter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shekibobo/time_splitter/statuses/{sha}","languages_url":"https://api.github.com/repos/shekibobo/time_splitter/languages","stargazers_url":"https://api.github.com/repos/shekibobo/time_splitter/stargazers","contributors_url":"https://api.github.com/repos/shekibobo/time_splitter/contributors","subscribers_url":"https://api.github.com/repos/shekibobo/time_splitter/subscribers","subscription_url":"https://api.github.com/repos/shekibobo/time_splitter/subscription","commits_url":"https://api.github.com/repos/shekibobo/time_splitter/commits{/sha}","git_commits_url":"https://api.github.com/repos/shekibobo/time_splitter/git/commits{/sha}","comments_url":"https://api.github.com/repos/shekibobo/time_splitter/comments{/number}","issue_comment_url":"https://api.github.com/repos/shekibobo/time_splitter/issues/comments{/number}","contents_url":"https://api.github.com/repos/shekibobo/time_splitter/contents/{+path}","compare_url":"https://api.github.com/repos/shekibobo/time_splitter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shekibobo/time_splitter/merges","archive_url":"https://api.github.com/repos/shekibobo/time_splitter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shekibobo/time_splitter/downloads","issues_url":"https://api.github.com/repos/shekibobo/time_splitter/issues{/number}","pulls_url":"https://api.github.com/repos/shekibobo/time_splitter/pulls{/number}","milestones_url":"https://api.github.com/repos/shekibobo/time_splitter/milestones{/number}","notifications_url":"https://api.github.com/repos/shekibobo/time_splitter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shekibobo/time_splitter/labels{/name}","releases_url":"https://api.github.com/repos/shekibobo/time_splitter/releases{/id}","deployments_url":"https://api.github.com/repos/shekibobo/time_splitter/deployments","created_at":"2013-09-24T17:11:10Z","updated_at":"2016-01-22T03:51:46Z","pushed_at":"2016-02-17T15:27:03Z","git_url":"git://github.com/shekibobo/time_splitter.git","ssh_url":"git@github.com:shekibobo/time_splitter.git","clone_url":"https://github.com/shekibobo/time_splitter.git","svn_url":"https://github.com/shekibobo/time_splitter","homepage":"https://github.com/shekibobo/time_splitter","size":256,"stargazers_count":35,"watchers_count":35,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9"},"html":{"href":"https://github.com/shekibobo/time_splitter/pull/9"},"issue":{"href":"https://api.github.com/repos/shekibobo/time_splitter/issues/9"},"comments":{"href":"https://api.github.com/repos/shekibobo/time_splitter/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/shekibobo/time_splitter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shekibobo/time_splitter/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/shekibobo/time_splitter/statuses/2ee74e08c9a62ccaa61986823ea369d81f307819"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":46,"deletions":2,"changed_files":4}}