{"action":"created","comment":{"url":"https://api.github.com/repos/mxabierto/adela/pulls/comments/86421766","pull_request_review_id":7082682,"id":86421766,"diff_hunk":"@@ -47,16 +49,24 @@ def update_dataset_metadata\n     end\n \n     def validate_modified_not_higher_today\n-      unless modified.nil?\n-        errors.add(:modified, 'El valor del campo \"Fecha de última modificación de datos\" debe ser menor a la fecha actual.') if modified > Time.now\n-      end\n+        errors.add(:modified, 'el valor del campo fecha de última modificación de datos debe ser menor a la fecha actual.') if modified > Time.zone.now","path":"app/models/distribution.rb","position":20,"original_position":20,"commit_id":"0c26955f63dd7b20972ae5768b4a06dfebf770c6","original_commit_id":"0c26955f63dd7b20972ae5768b4a06dfebf770c6","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use 2 (not 4) spaces for indentation.<br>Line is too long. [151/120]","created_at":"2016-11-03T19:14:19Z","updated_at":"2016-11-03T19:14:19Z","html_url":"https://github.com/mxabierto/adela/pull/1106#discussion_r86421766","pull_request_url":"https://api.github.com/repos/mxabierto/adela/pulls/1106","_links":{"self":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/comments/86421766"},"html":{"href":"https://github.com/mxabierto/adela/pull/1106#discussion_r86421766"},"pull_request":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/1106"}}},"pull_request":{"url":"https://api.github.com/repos/mxabierto/adela/pulls/1106","id":91888364,"html_url":"https://github.com/mxabierto/adela/pull/1106","diff_url":"https://github.com/mxabierto/adela/pull/1106.diff","patch_url":"https://github.com/mxabierto/adela/pull/1106.patch","issue_url":"https://api.github.com/repos/mxabierto/adela/issues/1106","number":1106,"state":"open","locked":false,"title":"Fix/require period inital and end distribution","user":{"login":"KielRodriguez","id":5693853,"avatar_url":"https://avatars.githubusercontent.com/u/5693853?v=3","gravatar_id":"","url":"https://api.github.com/users/KielRodriguez","html_url":"https://github.com/KielRodriguez","followers_url":"https://api.github.com/users/KielRodriguez/followers","following_url":"https://api.github.com/users/KielRodriguez/following{/other_user}","gists_url":"https://api.github.com/users/KielRodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/KielRodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KielRodriguez/subscriptions","organizations_url":"https://api.github.com/users/KielRodriguez/orgs","repos_url":"https://api.github.com/users/KielRodriguez/repos","events_url":"https://api.github.com/users/KielRodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/KielRodriguez/received_events","type":"User","site_admin":false},"body":"### Cambios realizados\r\nM       spec/models/distribution_spec.rb\r\nM       app/models/distribution.rb\r\nM       app/views/datasets/edit.html.haml\r\n\r\n### ¿Como validar?\r\nDocumentación de recurso, guardar con inicio de periodo mayor que fin de periodo.\r\nDocumentación de recurso, guardar sin ingresar fin de periodo.\r\n","created_at":"2016-11-02T00:09:42Z","updated_at":"2016-11-03T19:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1e29c05a64fb1af353fd1c1b4fb29616f654d69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mxabierto/adela/pulls/1106/commits","review_comments_url":"https://api.github.com/repos/mxabierto/adela/pulls/1106/comments","review_comment_url":"https://api.github.com/repos/mxabierto/adela/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mxabierto/adela/issues/1106/comments","statuses_url":"https://api.github.com/repos/mxabierto/adela/statuses/0c26955f63dd7b20972ae5768b4a06dfebf770c6","head":{"label":"KielRodriguez:fix/require-period-inital-and-end-distribution","ref":"fix/require-period-inital-and-end-distribution","sha":"0c26955f63dd7b20972ae5768b4a06dfebf770c6","user":{"login":"KielRodriguez","id":5693853,"avatar_url":"https://avatars.githubusercontent.com/u/5693853?v=3","gravatar_id":"","url":"https://api.github.com/users/KielRodriguez","html_url":"https://github.com/KielRodriguez","followers_url":"https://api.github.com/users/KielRodriguez/followers","following_url":"https://api.github.com/users/KielRodriguez/following{/other_user}","gists_url":"https://api.github.com/users/KielRodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/KielRodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KielRodriguez/subscriptions","organizations_url":"https://api.github.com/users/KielRodriguez/orgs","repos_url":"https://api.github.com/users/KielRodriguez/repos","events_url":"https://api.github.com/users/KielRodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/KielRodriguez/received_events","type":"User","site_admin":false},"repo":{"id":68739382,"name":"adela","full_name":"KielRodriguez/adela","owner":{"login":"KielRodriguez","id":5693853,"avatar_url":"https://avatars.githubusercontent.com/u/5693853?v=3","gravatar_id":"","url":"https://api.github.com/users/KielRodriguez","html_url":"https://github.com/KielRodriguez","followers_url":"https://api.github.com/users/KielRodriguez/followers","following_url":"https://api.github.com/users/KielRodriguez/following{/other_user}","gists_url":"https://api.github.com/users/KielRodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/KielRodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KielRodriguez/subscriptions","organizations_url":"https://api.github.com/users/KielRodriguez/orgs","repos_url":"https://api.github.com/users/KielRodriguez/repos","events_url":"https://api.github.com/users/KielRodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/KielRodriguez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KielRodriguez/adela","description":"La administradora/aceleradora/automatizadora de la Apertura en México.","fork":true,"url":"https://api.github.com/repos/KielRodriguez/adela","forks_url":"https://api.github.com/repos/KielRodriguez/adela/forks","keys_url":"https://api.github.com/repos/KielRodriguez/adela/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KielRodriguez/adela/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KielRodriguez/adela/teams","hooks_url":"https://api.github.com/repos/KielRodriguez/adela/hooks","issue_events_url":"https://api.github.com/repos/KielRodriguez/adela/issues/events{/number}","events_url":"https://api.github.com/repos/KielRodriguez/adela/events","assignees_url":"https://api.github.com/repos/KielRodriguez/adela/assignees{/user}","branches_url":"https://api.github.com/repos/KielRodriguez/adela/branches{/branch}","tags_url":"https://api.github.com/repos/KielRodriguez/adela/tags","blobs_url":"https://api.github.com/repos/KielRodriguez/adela/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KielRodriguez/adela/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KielRodriguez/adela/git/refs{/sha}","trees_url":"https://api.github.com/repos/KielRodriguez/adela/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KielRodriguez/adela/statuses/{sha}","languages_url":"https://api.github.com/repos/KielRodriguez/adela/languages","stargazers_url":"https://api.github.com/repos/KielRodriguez/adela/stargazers","contributors_url":"https://api.github.com/repos/KielRodriguez/adela/contributors","subscribers_url":"https://api.github.com/repos/KielRodriguez/adela/subscribers","subscription_url":"https://api.github.com/repos/KielRodriguez/adela/subscription","commits_url":"https://api.github.com/repos/KielRodriguez/adela/commits{/sha}","git_commits_url":"https://api.github.com/repos/KielRodriguez/adela/git/commits{/sha}","comments_url":"https://api.github.com/repos/KielRodriguez/adela/comments{/number}","issue_comment_url":"https://api.github.com/repos/KielRodriguez/adela/issues/comments{/number}","contents_url":"https://api.github.com/repos/KielRodriguez/adela/contents/{+path}","compare_url":"https://api.github.com/repos/KielRodriguez/adela/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KielRodriguez/adela/merges","archive_url":"https://api.github.com/repos/KielRodriguez/adela/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KielRodriguez/adela/downloads","issues_url":"https://api.github.com/repos/KielRodriguez/adela/issues{/number}","pulls_url":"https://api.github.com/repos/KielRodriguez/adela/pulls{/number}","milestones_url":"https://api.github.com/repos/KielRodriguez/adela/milestones{/number}","notifications_url":"https://api.github.com/repos/KielRodriguez/adela/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KielRodriguez/adela/labels{/name}","releases_url":"https://api.github.com/repos/KielRodriguez/adela/releases{/id}","deployments_url":"https://api.github.com/repos/KielRodriguez/adela/deployments","created_at":"2016-09-20T18:03:35Z","updated_at":"2016-09-20T18:03:37Z","pushed_at":"2016-11-03T19:13:37Z","git_url":"git://github.com/KielRodriguez/adela.git","ssh_url":"git@github.com:KielRodriguez/adela.git","clone_url":"https://github.com/KielRodriguez/adela.git","svn_url":"https://github.com/KielRodriguez/adela","homepage":"http://adela.datos.gob.mx","size":4733,"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":"mxabierto:adela-v2.1.x","ref":"adela-v2.1.x","sha":"27de69d627768012a8ffc070f44ce676d5c8dbbe","user":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"repo":{"id":18847464,"name":"adela","full_name":"mxabierto/adela","owner":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxabierto/adela","description":"La administradora/aceleradora/automatizadora de la Apertura en México.","fork":false,"url":"https://api.github.com/repos/mxabierto/adela","forks_url":"https://api.github.com/repos/mxabierto/adela/forks","keys_url":"https://api.github.com/repos/mxabierto/adela/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxabierto/adela/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxabierto/adela/teams","hooks_url":"https://api.github.com/repos/mxabierto/adela/hooks","issue_events_url":"https://api.github.com/repos/mxabierto/adela/issues/events{/number}","events_url":"https://api.github.com/repos/mxabierto/adela/events","assignees_url":"https://api.github.com/repos/mxabierto/adela/assignees{/user}","branches_url":"https://api.github.com/repos/mxabierto/adela/branches{/branch}","tags_url":"https://api.github.com/repos/mxabierto/adela/tags","blobs_url":"https://api.github.com/repos/mxabierto/adela/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxabierto/adela/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxabierto/adela/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxabierto/adela/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxabierto/adela/statuses/{sha}","languages_url":"https://api.github.com/repos/mxabierto/adela/languages","stargazers_url":"https://api.github.com/repos/mxabierto/adela/stargazers","contributors_url":"https://api.github.com/repos/mxabierto/adela/contributors","subscribers_url":"https://api.github.com/repos/mxabierto/adela/subscribers","subscription_url":"https://api.github.com/repos/mxabierto/adela/subscription","commits_url":"https://api.github.com/repos/mxabierto/adela/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxabierto/adela/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxabierto/adela/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxabierto/adela/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxabierto/adela/contents/{+path}","compare_url":"https://api.github.com/repos/mxabierto/adela/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxabierto/adela/merges","archive_url":"https://api.github.com/repos/mxabierto/adela/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxabierto/adela/downloads","issues_url":"https://api.github.com/repos/mxabierto/adela/issues{/number}","pulls_url":"https://api.github.com/repos/mxabierto/adela/pulls{/number}","milestones_url":"https://api.github.com/repos/mxabierto/adela/milestones{/number}","notifications_url":"https://api.github.com/repos/mxabierto/adela/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxabierto/adela/labels{/name}","releases_url":"https://api.github.com/repos/mxabierto/adela/releases{/id}","deployments_url":"https://api.github.com/repos/mxabierto/adela/deployments","created_at":"2014-04-16T16:41:26Z","updated_at":"2016-09-15T01:40:03Z","pushed_at":"2016-11-03T19:13:37Z","git_url":"git://github.com/mxabierto/adela.git","ssh_url":"git@github.com:mxabierto/adela.git","clone_url":"https://github.com/mxabierto/adela.git","svn_url":"https://github.com/mxabierto/adela","homepage":"http://adela.datos.gob.mx","size":5141,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":94,"forks":14,"open_issues":94,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/1106"},"html":{"href":"https://github.com/mxabierto/adela/pull/1106"},"issue":{"href":"https://api.github.com/repos/mxabierto/adela/issues/1106"},"comments":{"href":"https://api.github.com/repos/mxabierto/adela/issues/1106/comments"},"review_comments":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/1106/comments"},"review_comment":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mxabierto/adela/pulls/1106/commits"},"statuses":{"href":"https://api.github.com/repos/mxabierto/adela/statuses/0c26955f63dd7b20972ae5768b4a06dfebf770c6"}}}}
{"actor":{"display_login":"houndci-bot"}}