{"action":"created","comment":{"url":"https://api.github.com/repos/twitter/scalding/pulls/comments/37251892","id":37251892,"diff_hunk":"@@ -73,6 +73,7 @@ object DateRange extends java.io.Serializable {\n  */\n case class DateRange(val start: RichDate, val end: RichDate) {\n   import DateOps._\n+  require(start <= end)","path":"scalding-date/src/main/scala/com/twitter/scalding/DateRange.scala","position":4,"original_position":4,"commit_id":"836a435a7d525902529493020dc25267363202cb","original_commit_id":"836a435a7d525902529493020dc25267363202cb","user":{"login":"rubanm","id":2401144,"avatar_url":"https://avatars.githubusercontent.com/u/2401144?v=3","gravatar_id":"","url":"https://api.github.com/users/rubanm","html_url":"https://github.com/rubanm","followers_url":"https://api.github.com/users/rubanm/followers","following_url":"https://api.github.com/users/rubanm/following{/other_user}","gists_url":"https://api.github.com/users/rubanm/gists{/gist_id}","starred_url":"https://api.github.com/users/rubanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubanm/subscriptions","organizations_url":"https://api.github.com/users/rubanm/orgs","repos_url":"https://api.github.com/users/rubanm/repos","events_url":"https://api.github.com/users/rubanm/events{/privacy}","received_events_url":"https://api.github.com/users/rubanm/received_events","type":"User","site_admin":false},"body":"An error message here would be nice\r\n```scala\r\nrequire(start <= end, \"end of date range must not occur before the start\")\r\n```","created_at":"2015-08-18T00:07:39Z","updated_at":"2015-08-18T00:07:39Z","html_url":"https://github.com/twitter/scalding/pull/1425#discussion_r37251892","pull_request_url":"https://api.github.com/repos/twitter/scalding/pulls/1425","_links":{"self":{"href":"https://api.github.com/repos/twitter/scalding/pulls/comments/37251892"},"html":{"href":"https://github.com/twitter/scalding/pull/1425#discussion_r37251892"},"pull_request":{"href":"https://api.github.com/repos/twitter/scalding/pulls/1425"}}},"pull_request":{"url":"https://api.github.com/repos/twitter/scalding/pulls/1425","id":42648235,"html_url":"https://github.com/twitter/scalding/pull/1425","diff_url":"https://github.com/twitter/scalding/pull/1425.diff","patch_url":"https://github.com/twitter/scalding/pull/1425.patch","issue_url":"https://api.github.com/repos/twitter/scalding/issues/1425","number":1425,"state":"open","locked":false,"title":"Requires a DateRange's \"end\" to be after its \"start\"","user":{"login":"benpence","id":736903,"avatar_url":"https://avatars.githubusercontent.com/u/736903?v=3","gravatar_id":"","url":"https://api.github.com/users/benpence","html_url":"https://github.com/benpence","followers_url":"https://api.github.com/users/benpence/followers","following_url":"https://api.github.com/users/benpence/following{/other_user}","gists_url":"https://api.github.com/users/benpence/gists{/gist_id}","starred_url":"https://api.github.com/users/benpence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpence/subscriptions","organizations_url":"https://api.github.com/users/benpence/orgs","repos_url":"https://api.github.com/users/benpence/repos","events_url":"https://api.github.com/users/benpence/events{/privacy}","received_events_url":"https://api.github.com/users/benpence/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-18T00:01:12Z","updated_at":"2015-08-18T00:07:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6652fbea9ce728f7757a8fef39f5d705da6e250","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twitter/scalding/pulls/1425/commits","review_comments_url":"https://api.github.com/repos/twitter/scalding/pulls/1425/comments","review_comment_url":"https://api.github.com/repos/twitter/scalding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twitter/scalding/issues/1425/comments","statuses_url":"https://api.github.com/repos/twitter/scalding/statuses/836a435a7d525902529493020dc25267363202cb","head":{"label":"benpence:daterange_test","ref":"daterange_test","sha":"836a435a7d525902529493020dc25267363202cb","user":{"login":"benpence","id":736903,"avatar_url":"https://avatars.githubusercontent.com/u/736903?v=3","gravatar_id":"","url":"https://api.github.com/users/benpence","html_url":"https://github.com/benpence","followers_url":"https://api.github.com/users/benpence/followers","following_url":"https://api.github.com/users/benpence/following{/other_user}","gists_url":"https://api.github.com/users/benpence/gists{/gist_id}","starred_url":"https://api.github.com/users/benpence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpence/subscriptions","organizations_url":"https://api.github.com/users/benpence/orgs","repos_url":"https://api.github.com/users/benpence/repos","events_url":"https://api.github.com/users/benpence/events{/privacy}","received_events_url":"https://api.github.com/users/benpence/received_events","type":"User","site_admin":false},"repo":{"id":40938492,"name":"scalding","full_name":"benpence/scalding","owner":{"login":"benpence","id":736903,"avatar_url":"https://avatars.githubusercontent.com/u/736903?v=3","gravatar_id":"","url":"https://api.github.com/users/benpence","html_url":"https://github.com/benpence","followers_url":"https://api.github.com/users/benpence/followers","following_url":"https://api.github.com/users/benpence/following{/other_user}","gists_url":"https://api.github.com/users/benpence/gists{/gist_id}","starred_url":"https://api.github.com/users/benpence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpence/subscriptions","organizations_url":"https://api.github.com/users/benpence/orgs","repos_url":"https://api.github.com/users/benpence/repos","events_url":"https://api.github.com/users/benpence/events{/privacy}","received_events_url":"https://api.github.com/users/benpence/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benpence/scalding","description":"A Scala API for Cascading","fork":true,"url":"https://api.github.com/repos/benpence/scalding","forks_url":"https://api.github.com/repos/benpence/scalding/forks","keys_url":"https://api.github.com/repos/benpence/scalding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benpence/scalding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benpence/scalding/teams","hooks_url":"https://api.github.com/repos/benpence/scalding/hooks","issue_events_url":"https://api.github.com/repos/benpence/scalding/issues/events{/number}","events_url":"https://api.github.com/repos/benpence/scalding/events","assignees_url":"https://api.github.com/repos/benpence/scalding/assignees{/user}","branches_url":"https://api.github.com/repos/benpence/scalding/branches{/branch}","tags_url":"https://api.github.com/repos/benpence/scalding/tags","blobs_url":"https://api.github.com/repos/benpence/scalding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benpence/scalding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benpence/scalding/git/refs{/sha}","trees_url":"https://api.github.com/repos/benpence/scalding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benpence/scalding/statuses/{sha}","languages_url":"https://api.github.com/repos/benpence/scalding/languages","stargazers_url":"https://api.github.com/repos/benpence/scalding/stargazers","contributors_url":"https://api.github.com/repos/benpence/scalding/contributors","subscribers_url":"https://api.github.com/repos/benpence/scalding/subscribers","subscription_url":"https://api.github.com/repos/benpence/scalding/subscription","commits_url":"https://api.github.com/repos/benpence/scalding/commits{/sha}","git_commits_url":"https://api.github.com/repos/benpence/scalding/git/commits{/sha}","comments_url":"https://api.github.com/repos/benpence/scalding/comments{/number}","issue_comment_url":"https://api.github.com/repos/benpence/scalding/issues/comments{/number}","contents_url":"https://api.github.com/repos/benpence/scalding/contents/{+path}","compare_url":"https://api.github.com/repos/benpence/scalding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benpence/scalding/merges","archive_url":"https://api.github.com/repos/benpence/scalding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benpence/scalding/downloads","issues_url":"https://api.github.com/repos/benpence/scalding/issues{/number}","pulls_url":"https://api.github.com/repos/benpence/scalding/pulls{/number}","milestones_url":"https://api.github.com/repos/benpence/scalding/milestones{/number}","notifications_url":"https://api.github.com/repos/benpence/scalding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benpence/scalding/labels{/name}","releases_url":"https://api.github.com/repos/benpence/scalding/releases{/id}","created_at":"2015-08-17T23:59:26Z","updated_at":"2015-08-17T23:59:28Z","pushed_at":"2015-08-17T23:59:47Z","git_url":"git://github.com/benpence/scalding.git","ssh_url":"git@github.com:benpence/scalding.git","clone_url":"https://github.com/benpence/scalding.git","svn_url":"https://github.com/benpence/scalding","homepage":"http://twitter.com/scalding","size":25926,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"twitter:develop","ref":"develop","sha":"f5ac473564143088faa5d6e5eb8e5f4023d49f5f","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":3146558,"name":"scalding","full_name":"twitter/scalding","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/scalding","description":"A Scala API for Cascading","fork":false,"url":"https://api.github.com/repos/twitter/scalding","forks_url":"https://api.github.com/repos/twitter/scalding/forks","keys_url":"https://api.github.com/repos/twitter/scalding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/scalding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/scalding/teams","hooks_url":"https://api.github.com/repos/twitter/scalding/hooks","issue_events_url":"https://api.github.com/repos/twitter/scalding/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/scalding/events","assignees_url":"https://api.github.com/repos/twitter/scalding/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/scalding/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/scalding/tags","blobs_url":"https://api.github.com/repos/twitter/scalding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/scalding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/scalding/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/scalding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/scalding/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/scalding/languages","stargazers_url":"https://api.github.com/repos/twitter/scalding/stargazers","contributors_url":"https://api.github.com/repos/twitter/scalding/contributors","subscribers_url":"https://api.github.com/repos/twitter/scalding/subscribers","subscription_url":"https://api.github.com/repos/twitter/scalding/subscription","commits_url":"https://api.github.com/repos/twitter/scalding/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/scalding/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/scalding/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/scalding/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitter/scalding/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/scalding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/scalding/merges","archive_url":"https://api.github.com/repos/twitter/scalding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/scalding/downloads","issues_url":"https://api.github.com/repos/twitter/scalding/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/scalding/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/scalding/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/scalding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/scalding/labels{/name}","releases_url":"https://api.github.com/repos/twitter/scalding/releases{/id}","created_at":"2012-01-10T16:22:08Z","updated_at":"2015-08-16T14:47:17Z","pushed_at":"2015-08-18T00:01:13Z","git_url":"git://github.com/twitter/scalding.git","ssh_url":"git@github.com:twitter/scalding.git","clone_url":"https://github.com/twitter/scalding.git","svn_url":"https://github.com/twitter/scalding","homepage":"http://twitter.com/scalding","size":25926,"stargazers_count":2200,"watchers_count":2200,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":506,"mirror_url":null,"open_issues_count":250,"forks":506,"open_issues":250,"watchers":2200,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/twitter/scalding/pulls/1425"},"html":{"href":"https://github.com/twitter/scalding/pull/1425"},"issue":{"href":"https://api.github.com/repos/twitter/scalding/issues/1425"},"comments":{"href":"https://api.github.com/repos/twitter/scalding/issues/1425/comments"},"review_comments":{"href":"https://api.github.com/repos/twitter/scalding/pulls/1425/comments"},"review_comment":{"href":"https://api.github.com/repos/twitter/scalding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twitter/scalding/pulls/1425/commits"},"statuses":{"href":"https://api.github.com/repos/twitter/scalding/statuses/836a435a7d525902529493020dc25267363202cb"}}}}