{"action":"created","comment":{"url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/comments/76267427","id":76267427,"diff_hunk":"@@ -0,0 +1,208 @@\n+-------------------------------------------------------------------------------------------\n+-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.\n+-- Copyright (C) 2001-2016 INPE and TerraLAB/UFOP -- www.terrame.org\n+\n+-- This code is part of the TerraME framework.\n+-- This framework is free software; you can redistribute it and/or\n+-- modify it under the terms of the GNU Lesser General Public\n+-- License as published by the Free Software Foundation; either\n+-- version 2.1 of the License, or (at your option) any later version.\n+\n+-- You should have received a copy of the GNU Lesser General Public\n+-- License along with this library.\n+\n+-- The authors reassure the license terms regarding the warranties.\n+-- They specifically disclaim any warranties, including, but not limited to,\n+-- the implied warranties of merchantability and fitness for a particular purpose.\n+-- The framework provided hereunder is on an \"as is\" basis, and the authors have no\n+-- obligation to provide maintenance, support, updates, enhancements, or modifications.\n+-- In no event shall INPE and TerraLAB / UFOP be held liable to any party for direct,\n+-- indirect, special, incidental, or consequential damages arising out of the use\n+-- of this software and its documentation.\n+--\n+-------------------------------------------------------------------------------------------\n+local terralib = getPackage(\"terralib\")\n+local binding = _Gtme.terralib_mod_binding_lua\n+local tl = terralib.TerraLib{}\n+\n+local function lineCheck(cs)\n+\tlocal csPoint = CellularSpace{xdim = 1}\n+\tlocal counter = 1\n+\n+\tforEachCell(cs, function(cell)\n+\t\tlocal geometry = tl:castGeomToSubtype(cell.geom:getGeometryN(0))\n+\t\tlocal nPoint = geometry:getNPoints()\n+\n+\t\tfor i = 0, nPoint do\n+\t\t\tlocal point = binding.te.gm.Point(geometry:getX(i), geometry:getY(i), geometry:getSRID())\n+\t\t\tlocal cellPoint = Cell{point = point, x = i + 1, y = counter}\n+\n+\t\t\tcsPoint:add(cellPoint)\n+\t\tend\n+\t\tcounter = counter + 1\n+\tend)\n+\n+\treturn csPoint\n+end\n+\n+local function getBELine(cs)\n+\tlocal csPoint = CellularSpace{xdim = 1}\n+\tlocal counter = 1\n+\n+\tforEachCell(cs, function(cell)\n+\t\tlocal geometry = tl:castGeomToSubtype(cell.geom:getGeometryN(0))\n+\t\tlocal nPoint = geometry:getNPoints()\n+\t\tlocal beginPoint = binding.te.gm.Point(geometry:getX(0), geometry:getY(0), geometry:getSRID())\n+\t\tlocal cellPoint = Cell{beginPoint = beginPoint, counter = counter, x = 1, y = counter }\n+\n+\t\tcsPoint:add(cellPoint)\n+\t\tfor i = 1, nPoint do\n+\t\t\tlocal endPoint = binding.te.gm.Point(geometry:getX(i), geometry:getY(i), geometry:getSRID())\n+\n+\t\tend\n+\n+\t\tlocal cellPoint = Cell{endPoint = endPoint, counter = counter, x = counter + 1, y = counter + 1}\n+\n+\t\tcsPoint:add(cellPoint)\n+\t\tcounter = counter + 1\n+\tend)\n+\n+\treturn csPoint\n+end\n+\n+local function targetCheck(csLine, csTarget)\n+\tforEachCell(csTarget, function(cellRed)\n+\t\tlocal lineValidates = false\n+\t\tlocal differance = math.huge\n+\t\tlocal geometry1 = tl:castGeomToSubtype(cellRed.geom:getGeometryN(0))\n+\n+\t\tforEachCell(csLine, function(cellBlue)\n+\t\t\tlocal geometry2 = tl:castGeomToSubtype(cellBlue.geom:getGeometryN(0))\n+\t\t\tlocal nPoint = geometry2:getNPoints()\n+\n+\t\t\tfor i = 0, nPoint do\n+\t\t\t\tlocal distance = geometry1:distance(cellBlue.geom)\n+\t\t\t\tif differance > distance then\n+\t\t\t\t\tdifferance = distance\n+\t\t\t\tend\n+\n+\t\t\t\tif distance < 2 then\n+\t\t\t\t\tlineValidates = true\n+\t\t\t\tend\n+\t\t\tend\n+\n+\t\t\tif lineValidates == true then\n+\t\t\t\treturn false\n+\t\t\tend\n+\t\tend)\n+\n+\t\tif not lineValidates then\n+\t\t\tcustomError(\"line do not touch, They have a differance of: \"..differance)\n+\t\tend\n+\tend)\n+end\n+\n+local function checksInterconnectedNetwork(csLine, csTarget)\n+    local csPoint = getBELine(csLine)\n+\n+\tforEachCell(csPoint, function(cellRed)\n+\t\tlocal lineValidates = false\n+\t\tlocal differance = math.huge\n+\n+\t\tforEachCell(csPoint, function(cellBlue)\n+\t\t\tif not (cellRed.counter == cellBlue.counter) and \n+\t\t\tcellRed.counter ~= nil and cellBlue.counter ~= nil then\n+\t\t\t\tlocal distance = cellRed:distance(cellBlue)\n+    \n+\t\t\t\tif differance > distance then\n+\t\t\t\t\tdifferance = distance\n+\t\t\t\tend\n+\n+\t\t\t\tif distance < 2 then\n+\t\t\t\t\tlineValidates = true\n+\t\t\t\tend\n+\t\t\tend\n+\n+\t\t\tif lineValidates == true then\n+\t\t\t\treturn false\n+\t\t\tend\n+\t\tend)\n+\n+\t\tif not lineValidates and cellRed.x ~= 0 then\n+\t\t\tcustomError(\"line do not touch, They have a differance of: \"..differance)\n+\t\tend\n+\tend)\n+end\n+\n+Network_ = {\n+\ttype_ = \"Network\"\n+}\n+\n+metaTableNetwork_ = {\n+\t__index = Network_,\n+\t__tostring = _Gtme.tostring\n+}\n+\n+--- Type for network creation. Given geometry of the line type,\n+-- constructs a geometry network. This type is used to calculate the best path.\n+-- @arg data.target CellularSpace that receives end points of the networks.\n+-- @arg data.lines CellularSpace that receives a network.\n+-- this CellularSpace receives a projet with geometry, a layer,\n+-- and geometry boolean argument, indicating whether the project has a geometry.\n+-- @arg data.strategy Strategy to be used in the network (optional).\n+-- @arg data.weight User defined function to change the network distance (optional).\n+-- @arg data.outside Function to set distance (optional).\n+-- @output a network based on the geometry.\n+-- @usage local roads = CellularSpace{\n+-- \tfile = filePath(\"roads.shp\", \"gpm\"),\n+-- \tgeometry = true\n+-- }\n+-- local communities = CellularSpace{\n+-- \tfile = filePath(\"communities.shp\", \"gpm\"),\n+-- \tgeometry = true\n+-- }\n+-- local nt = Network{\n+--\ttarget = communities,\n+--\tlines = roads\n+-- }\n+function Network(data)\n+\tverifyNamedTable(data)\n+\tif type(data.lines) ~= \"CellularSpace\" then\n+\t\tincompatibleTypeError(\"lines\", \"CellularSpace\", data.lines)\n+\telse\n+\t\tif data.lines.geometry then\n+\t\t\tlocal cell = data.lines:sample()\n+\n+\t\t\tif not string.find(cell.geom:getGeometryType(), \"Line\") then\n+            \tcustomError(\"Argument 'lines' should be composed by lines, got '\"..cell.geom:getGeometryType()..\"'.\")","path":"lua/Network.lua","position":null,"original_position":177,"commit_id":"65b94efa9295ecdb777369d0a7135b453408071b","original_commit_id":"67bb11a802d5770ab5c8d83a875a6d15e69d7e2b","user":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"body":"Verify the indentation. See the next customError as well.","created_at":"2016-08-25T15:35:58Z","updated_at":"2016-08-25T15:35:58Z","html_url":"https://github.com/pedro-andrade-inpe/gpm/pull/31#discussion_r76267427","pull_request_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/comments/76267427"},"html":{"href":"https://github.com/pedro-andrade-inpe/gpm/pull/31#discussion_r76267427"},"pull_request":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31","id":82716281,"html_url":"https://github.com/pedro-andrade-inpe/gpm/pull/31","diff_url":"https://github.com/pedro-andrade-inpe/gpm/pull/31.diff","patch_url":"https://github.com/pedro-andrade-inpe/gpm/pull/31.patch","issue_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/31","number":31,"state":"open","locked":false,"title":"Joao's updates to gpm version - 0.1","user":{"login":"JoaoVitor123","id":8431989,"avatar_url":"https://avatars.githubusercontent.com/u/8431989?v=3","gravatar_id":"","url":"https://api.github.com/users/JoaoVitor123","html_url":"https://github.com/JoaoVitor123","followers_url":"https://api.github.com/users/JoaoVitor123/followers","following_url":"https://api.github.com/users/JoaoVitor123/following{/other_user}","gists_url":"https://api.github.com/users/JoaoVitor123/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoVitor123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoVitor123/subscriptions","organizations_url":"https://api.github.com/users/JoaoVitor123/orgs","repos_url":"https://api.github.com/users/JoaoVitor123/repos","events_url":"https://api.github.com/users/JoaoVitor123/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoVitor123/received_events","type":"User","site_admin":false},"body":"- [ ] #30\r\n- [ ] #29\r\n- [ ] #28\r\n- [ ] #27\r\n- [ ] #15\r\n- [ ] #7","created_at":"2016-08-25T13:08:31Z","updated_at":"2016-08-25T15:35:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31ad3f465d2041cb0fbf70ff3ccf0630b282480b","assignee":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"assignees":[{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31/commits","review_comments_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31/comments","review_comment_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/31/comments","statuses_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/statuses/65b94efa9295ecdb777369d0a7135b453408071b","head":{"label":"JoaoVitor123:master","ref":"master","sha":"65b94efa9295ecdb777369d0a7135b453408071b","user":{"login":"JoaoVitor123","id":8431989,"avatar_url":"https://avatars.githubusercontent.com/u/8431989?v=3","gravatar_id":"","url":"https://api.github.com/users/JoaoVitor123","html_url":"https://github.com/JoaoVitor123","followers_url":"https://api.github.com/users/JoaoVitor123/followers","following_url":"https://api.github.com/users/JoaoVitor123/following{/other_user}","gists_url":"https://api.github.com/users/JoaoVitor123/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoVitor123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoVitor123/subscriptions","organizations_url":"https://api.github.com/users/JoaoVitor123/orgs","repos_url":"https://api.github.com/users/JoaoVitor123/repos","events_url":"https://api.github.com/users/JoaoVitor123/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoVitor123/received_events","type":"User","site_admin":false},"repo":{"id":55776614,"name":"gpm","full_name":"JoaoVitor123/gpm","owner":{"login":"JoaoVitor123","id":8431989,"avatar_url":"https://avatars.githubusercontent.com/u/8431989?v=3","gravatar_id":"","url":"https://api.github.com/users/JoaoVitor123","html_url":"https://github.com/JoaoVitor123","followers_url":"https://api.github.com/users/JoaoVitor123/followers","following_url":"https://api.github.com/users/JoaoVitor123/following{/other_user}","gists_url":"https://api.github.com/users/JoaoVitor123/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoVitor123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoVitor123/subscriptions","organizations_url":"https://api.github.com/users/JoaoVitor123/orgs","repos_url":"https://api.github.com/users/JoaoVitor123/repos","events_url":"https://api.github.com/users/JoaoVitor123/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoVitor123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoaoVitor123/gpm","description":"A TerraME package to implement GPM","fork":true,"url":"https://api.github.com/repos/JoaoVitor123/gpm","forks_url":"https://api.github.com/repos/JoaoVitor123/gpm/forks","keys_url":"https://api.github.com/repos/JoaoVitor123/gpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoaoVitor123/gpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoaoVitor123/gpm/teams","hooks_url":"https://api.github.com/repos/JoaoVitor123/gpm/hooks","issue_events_url":"https://api.github.com/repos/JoaoVitor123/gpm/issues/events{/number}","events_url":"https://api.github.com/repos/JoaoVitor123/gpm/events","assignees_url":"https://api.github.com/repos/JoaoVitor123/gpm/assignees{/user}","branches_url":"https://api.github.com/repos/JoaoVitor123/gpm/branches{/branch}","tags_url":"https://api.github.com/repos/JoaoVitor123/gpm/tags","blobs_url":"https://api.github.com/repos/JoaoVitor123/gpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoaoVitor123/gpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoaoVitor123/gpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoaoVitor123/gpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoaoVitor123/gpm/statuses/{sha}","languages_url":"https://api.github.com/repos/JoaoVitor123/gpm/languages","stargazers_url":"https://api.github.com/repos/JoaoVitor123/gpm/stargazers","contributors_url":"https://api.github.com/repos/JoaoVitor123/gpm/contributors","subscribers_url":"https://api.github.com/repos/JoaoVitor123/gpm/subscribers","subscription_url":"https://api.github.com/repos/JoaoVitor123/gpm/subscription","commits_url":"https://api.github.com/repos/JoaoVitor123/gpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoaoVitor123/gpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoaoVitor123/gpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoaoVitor123/gpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoaoVitor123/gpm/contents/{+path}","compare_url":"https://api.github.com/repos/JoaoVitor123/gpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoaoVitor123/gpm/merges","archive_url":"https://api.github.com/repos/JoaoVitor123/gpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoaoVitor123/gpm/downloads","issues_url":"https://api.github.com/repos/JoaoVitor123/gpm/issues{/number}","pulls_url":"https://api.github.com/repos/JoaoVitor123/gpm/pulls{/number}","milestones_url":"https://api.github.com/repos/JoaoVitor123/gpm/milestones{/number}","notifications_url":"https://api.github.com/repos/JoaoVitor123/gpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoaoVitor123/gpm/labels{/name}","releases_url":"https://api.github.com/repos/JoaoVitor123/gpm/releases{/id}","deployments_url":"https://api.github.com/repos/JoaoVitor123/gpm/deployments","created_at":"2016-04-08T12:15:39Z","updated_at":"2016-04-08T12:15:40Z","pushed_at":"2016-08-25T14:36:28Z","git_url":"git://github.com/JoaoVitor123/gpm.git","ssh_url":"git@github.com:JoaoVitor123/gpm.git","clone_url":"https://github.com/JoaoVitor123/gpm.git","svn_url":"https://github.com/JoaoVitor123/gpm","homepage":null,"size":188,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"pedro-andrade-inpe:master","ref":"master","sha":"1264384cf47d4013e7df30709b7f1635480b6060","user":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"repo":{"id":52789335,"name":"gpm","full_name":"pedro-andrade-inpe/gpm","owner":{"login":"pedro-andrade-inpe","id":8777631,"avatar_url":"https://avatars.githubusercontent.com/u/8777631?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro-andrade-inpe","html_url":"https://github.com/pedro-andrade-inpe","followers_url":"https://api.github.com/users/pedro-andrade-inpe/followers","following_url":"https://api.github.com/users/pedro-andrade-inpe/following{/other_user}","gists_url":"https://api.github.com/users/pedro-andrade-inpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro-andrade-inpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro-andrade-inpe/subscriptions","organizations_url":"https://api.github.com/users/pedro-andrade-inpe/orgs","repos_url":"https://api.github.com/users/pedro-andrade-inpe/repos","events_url":"https://api.github.com/users/pedro-andrade-inpe/events{/privacy}","received_events_url":"https://api.github.com/users/pedro-andrade-inpe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedro-andrade-inpe/gpm","description":"A TerraME package to implement GPM","fork":false,"url":"https://api.github.com/repos/pedro-andrade-inpe/gpm","forks_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/forks","keys_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/teams","hooks_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/hooks","issue_events_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/events{/number}","events_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/events","assignees_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/assignees{/user}","branches_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/branches{/branch}","tags_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/tags","blobs_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/statuses/{sha}","languages_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/languages","stargazers_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/stargazers","contributors_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/contributors","subscribers_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/subscribers","subscription_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/subscription","commits_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/contents/{+path}","compare_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/merges","archive_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/downloads","issues_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues{/number}","pulls_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls{/number}","milestones_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/milestones{/number}","notifications_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/labels{/name}","releases_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/releases{/id}","deployments_url":"https://api.github.com/repos/pedro-andrade-inpe/gpm/deployments","created_at":"2016-02-29T12:27:49Z","updated_at":"2016-03-09T20:32:09Z","pushed_at":"2016-08-25T14:36:28Z","git_url":"git://github.com/pedro-andrade-inpe/gpm.git","ssh_url":"git@github.com:pedro-andrade-inpe/gpm.git","clone_url":"https://github.com/pedro-andrade-inpe/gpm.git","svn_url":"https://github.com/pedro-andrade-inpe/gpm","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31"},"html":{"href":"https://github.com/pedro-andrade-inpe/gpm/pull/31"},"issue":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/31"},"comments":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/pedro-andrade-inpe/gpm/statuses/65b94efa9295ecdb777369d0a7135b453408071b"}}}}
{"actor":{"display_login":"pedro-andrade-inpe"}}