{"action":"created","comment":{"url":"https://api.github.com/repos/umts/stop-project/pulls/comments/197831717","pull_request_review_id":131651274,"id":197831717,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzgzMTcxNw==","diff_hunk":"@@ -0,0 +1,9 @@\n+class BusStopsRoute < ApplicationRecord\n+  belongs_to :bus_stop\n+  belongs_to :route\n+\n+  validates :sequence, presence: true, numericality: { greater_than_or_equal_to: 1 }\n+  validates :direction, presence: true\n+  validates_uniqueness_of :sequence, scope: [ :route, :direction ]","path":"app/models/bus_stops_route.rb","position":7,"original_position":7,"commit_id":"e4d0ddb5c023e8c21c1361a6dece852737165ce9","original_commit_id":"e4d0ddb5c023e8c21c1361a6dece852737165ce9","user":{"login":"mboneil10","id":19267771,"node_id":"MDQ6VXNlcjE5MjY3Nzcx","avatar_url":"https://avatars2.githubusercontent.com/u/19267771?v=4","gravatar_id":"","url":"https://api.github.com/users/mboneil10","html_url":"https://github.com/mboneil10","followers_url":"https://api.github.com/users/mboneil10/followers","following_url":"https://api.github.com/users/mboneil10/following{/other_user}","gists_url":"https://api.github.com/users/mboneil10/gists{/gist_id}","starred_url":"https://api.github.com/users/mboneil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboneil10/subscriptions","organizations_url":"https://api.github.com/users/mboneil10/orgs","repos_url":"https://api.github.com/users/mboneil10/repos","events_url":"https://api.github.com/users/mboneil10/events{/privacy}","received_events_url":"https://api.github.com/users/mboneil10/received_events","type":"User","site_admin":false},"body":"Whoops, got it.","created_at":"2018-06-25T15:06:18Z","updated_at":"2018-06-25T15:06:18Z","html_url":"https://github.com/umts/stop-project/pull/80#discussion_r197831717","pull_request_url":"https://api.github.com/repos/umts/stop-project/pulls/80","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/umts/stop-project/pulls/comments/197831717"},"html":{"href":"https://github.com/umts/stop-project/pull/80#discussion_r197831717"},"pull_request":{"href":"https://api.github.com/repos/umts/stop-project/pulls/80"}},"in_reply_to_id":197827992},"pull_request":{"url":"https://api.github.com/repos/umts/stop-project/pulls/80","id":197140245,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTQwMjQ1","html_url":"https://github.com/umts/stop-project/pull/80","diff_url":"https://github.com/umts/stop-project/pull/80.diff","patch_url":"https://github.com/umts/stop-project/pull/80.patch","issue_url":"https://api.github.com/repos/umts/stop-project/issues/80","number":80,"state":"open","locked":false,"title":"Revert \"Revert \"Route variants\"\"","user":{"login":"Anbranin","id":9645316,"node_id":"MDQ6VXNlcjk2NDUzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/9645316?v=4","gravatar_id":"","url":"https://api.github.com/users/Anbranin","html_url":"https://github.com/Anbranin","followers_url":"https://api.github.com/users/Anbranin/followers","following_url":"https://api.github.com/users/Anbranin/following{/other_user}","gists_url":"https://api.github.com/users/Anbranin/gists{/gist_id}","starred_url":"https://api.github.com/users/Anbranin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anbranin/subscriptions","organizations_url":"https://api.github.com/users/Anbranin/orgs","repos_url":"https://api.github.com/users/Anbranin/repos","events_url":"https://api.github.com/users/Anbranin/events{/privacy}","received_events_url":"https://api.github.com/users/Anbranin/received_events","type":"User","site_admin":false},"body":"Reverts umts/stop-project#79","created_at":"2018-06-25T14:54:20Z","updated_at":"2018-06-25T15:06:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6acb6392c100f6a65e945e1ea3bef167f536617","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/umts/stop-project/pulls/80/commits","review_comments_url":"https://api.github.com/repos/umts/stop-project/pulls/80/comments","review_comment_url":"https://api.github.com/repos/umts/stop-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umts/stop-project/issues/80/comments","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/e4d0ddb5c023e8c21c1361a6dece852737165ce9","head":{"label":"umts:revert-79-revert-75-route-variants","ref":"revert-79-revert-75-route-variants","sha":"e4d0ddb5c023e8c21c1361a6dece852737165ce9","user":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":59857861,"node_id":"MDEwOlJlcG9zaXRvcnk1OTg1Nzg2MQ==","name":"stop-project","full_name":"umts/stop-project","owner":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/stop-project","description":"Rails app for tracking the Summer 2016 installation of new bus stop signs across the PVTA service area.","fork":false,"url":"https://api.github.com/repos/umts/stop-project","forks_url":"https://api.github.com/repos/umts/stop-project/forks","keys_url":"https://api.github.com/repos/umts/stop-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/stop-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/stop-project/teams","hooks_url":"https://api.github.com/repos/umts/stop-project/hooks","issue_events_url":"https://api.github.com/repos/umts/stop-project/issues/events{/number}","events_url":"https://api.github.com/repos/umts/stop-project/events","assignees_url":"https://api.github.com/repos/umts/stop-project/assignees{/user}","branches_url":"https://api.github.com/repos/umts/stop-project/branches{/branch}","tags_url":"https://api.github.com/repos/umts/stop-project/tags","blobs_url":"https://api.github.com/repos/umts/stop-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/stop-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/stop-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/stop-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/stop-project/languages","stargazers_url":"https://api.github.com/repos/umts/stop-project/stargazers","contributors_url":"https://api.github.com/repos/umts/stop-project/contributors","subscribers_url":"https://api.github.com/repos/umts/stop-project/subscribers","subscription_url":"https://api.github.com/repos/umts/stop-project/subscription","commits_url":"https://api.github.com/repos/umts/stop-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/stop-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/stop-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/stop-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/stop-project/contents/{+path}","compare_url":"https://api.github.com/repos/umts/stop-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/stop-project/merges","archive_url":"https://api.github.com/repos/umts/stop-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/stop-project/downloads","issues_url":"https://api.github.com/repos/umts/stop-project/issues{/number}","pulls_url":"https://api.github.com/repos/umts/stop-project/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/stop-project/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/stop-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/stop-project/labels{/name}","releases_url":"https://api.github.com/repos/umts/stop-project/releases{/id}","deployments_url":"https://api.github.com/repos/umts/stop-project/deployments","created_at":"2016-05-27T19:16:53Z","updated_at":"2018-06-25T14:50:05Z","pushed_at":"2018-06-25T14:54:21Z","git_url":"git://github.com/umts/stop-project.git","ssh_url":"git@github.com:umts/stop-project.git","clone_url":"https://github.com/umts/stop-project.git","svn_url":"https://github.com/umts/stop-project","homepage":"","size":2628,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"umts:master","ref":"master","sha":"b12b429e34e9844585ee17db1dfc1d0190c28f48","user":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":59857861,"node_id":"MDEwOlJlcG9zaXRvcnk1OTg1Nzg2MQ==","name":"stop-project","full_name":"umts/stop-project","owner":{"login":"umts","id":398175,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODE3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398175?v=4","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/stop-project","description":"Rails app for tracking the Summer 2016 installation of new bus stop signs across the PVTA service area.","fork":false,"url":"https://api.github.com/repos/umts/stop-project","forks_url":"https://api.github.com/repos/umts/stop-project/forks","keys_url":"https://api.github.com/repos/umts/stop-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/stop-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/stop-project/teams","hooks_url":"https://api.github.com/repos/umts/stop-project/hooks","issue_events_url":"https://api.github.com/repos/umts/stop-project/issues/events{/number}","events_url":"https://api.github.com/repos/umts/stop-project/events","assignees_url":"https://api.github.com/repos/umts/stop-project/assignees{/user}","branches_url":"https://api.github.com/repos/umts/stop-project/branches{/branch}","tags_url":"https://api.github.com/repos/umts/stop-project/tags","blobs_url":"https://api.github.com/repos/umts/stop-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/stop-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/stop-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/stop-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/stop-project/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/stop-project/languages","stargazers_url":"https://api.github.com/repos/umts/stop-project/stargazers","contributors_url":"https://api.github.com/repos/umts/stop-project/contributors","subscribers_url":"https://api.github.com/repos/umts/stop-project/subscribers","subscription_url":"https://api.github.com/repos/umts/stop-project/subscription","commits_url":"https://api.github.com/repos/umts/stop-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/stop-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/stop-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/stop-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/stop-project/contents/{+path}","compare_url":"https://api.github.com/repos/umts/stop-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/stop-project/merges","archive_url":"https://api.github.com/repos/umts/stop-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/stop-project/downloads","issues_url":"https://api.github.com/repos/umts/stop-project/issues{/number}","pulls_url":"https://api.github.com/repos/umts/stop-project/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/stop-project/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/stop-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/stop-project/labels{/name}","releases_url":"https://api.github.com/repos/umts/stop-project/releases{/id}","deployments_url":"https://api.github.com/repos/umts/stop-project/deployments","created_at":"2016-05-27T19:16:53Z","updated_at":"2018-06-25T14:50:05Z","pushed_at":"2018-06-25T14:54:21Z","git_url":"git://github.com/umts/stop-project.git","ssh_url":"git@github.com:umts/stop-project.git","clone_url":"https://github.com/umts/stop-project.git","svn_url":"https://github.com/umts/stop-project","homepage":"","size":2628,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umts/stop-project/pulls/80"},"html":{"href":"https://github.com/umts/stop-project/pull/80"},"issue":{"href":"https://api.github.com/repos/umts/stop-project/issues/80"},"comments":{"href":"https://api.github.com/repos/umts/stop-project/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/umts/stop-project/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/umts/stop-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umts/stop-project/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/umts/stop-project/statuses/e4d0ddb5c023e8c21c1361a6dece852737165ce9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mboneil10"}}