{"action":"opened","number":59,"pull_request":{"url":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59","id":70242879,"html_url":"https://github.com/OpenGridMap/pgis/pull/59","diff_url":"https://github.com/OpenGridMap/pgis/pull/59.diff","patch_url":"https://github.com/OpenGridMap/pgis/pull/59.patch","issue_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/59","number":59,"state":"open","locked":false,"title":"Refactor","user":{"login":"tsrivishnu","id":2265280,"avatar_url":"https://avatars.githubusercontent.com/u/2265280?v=3","gravatar_id":"","url":"https://api.github.com/users/tsrivishnu","html_url":"https://github.com/tsrivishnu","followers_url":"https://api.github.com/users/tsrivishnu/followers","following_url":"https://api.github.com/users/tsrivishnu/following{/other_user}","gists_url":"https://api.github.com/users/tsrivishnu/gists{/gist_id}","starred_url":"https://api.github.com/users/tsrivishnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsrivishnu/subscriptions","organizations_url":"https://api.github.com/users/tsrivishnu/orgs","repos_url":"https://api.github.com/users/tsrivishnu/repos","events_url":"https://api.github.com/users/tsrivishnu/events{/privacy}","received_events_url":"https://api.github.com/users/tsrivishnu/received_events","type":"User","site_admin":false},"body":"Includes the following\r\n* Move the asset definitions from `__init__.py` to separate files so that the file wouldn't grow and look ugly as we add more assets.\r\n* Move database configuration out of `config.py`. It now loads the database config from `database.yml`. However, this file is added to `.gitignore` so that developers can have their local config as they want. You need to follow the steps below to get the app running in your local after you pull these commits.\r\n    * Copy `database.yml.example` to `database.yml`\r\n\r\n      ````console\r\n       $ cp database.yml.example database.yml\r\n     ````\r\n   * Edit `database.yml` to match your local configuration","created_at":"2016-05-16T18:56:13Z","updated_at":"2016-05-16T18:56:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59/commits","review_comments_url":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59/comments","review_comment_url":"https://api.github.com/repos/OpenGridMap/pgis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/59/comments","statuses_url":"https://api.github.com/repos/OpenGridMap/pgis/statuses/d7d5a955e2eca56185930d116c103b8ea6db4744","head":{"label":"OpenGridMap:refactor","ref":"refactor","sha":"d7d5a955e2eca56185930d116c103b8ea6db4744","user":{"login":"OpenGridMap","id":10877210,"avatar_url":"https://avatars.githubusercontent.com/u/10877210?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenGridMap","html_url":"https://github.com/OpenGridMap","followers_url":"https://api.github.com/users/OpenGridMap/followers","following_url":"https://api.github.com/users/OpenGridMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenGridMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenGridMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenGridMap/subscriptions","organizations_url":"https://api.github.com/users/OpenGridMap/orgs","repos_url":"https://api.github.com/users/OpenGridMap/repos","events_url":"https://api.github.com/users/OpenGridMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenGridMap/received_events","type":"Organization","site_admin":false},"repo":{"id":31301506,"name":"pgis","full_name":"OpenGridMap/pgis","owner":{"login":"OpenGridMap","id":10877210,"avatar_url":"https://avatars.githubusercontent.com/u/10877210?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenGridMap","html_url":"https://github.com/OpenGridMap","followers_url":"https://api.github.com/users/OpenGridMap/followers","following_url":"https://api.github.com/users/OpenGridMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenGridMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenGridMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenGridMap/subscriptions","organizations_url":"https://api.github.com/users/OpenGridMap/orgs","repos_url":"https://api.github.com/users/OpenGridMap/repos","events_url":"https://api.github.com/users/OpenGridMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenGridMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenGridMap/pgis","description":"Power grid information system built on flask framework","fork":false,"url":"https://api.github.com/repos/OpenGridMap/pgis","forks_url":"https://api.github.com/repos/OpenGridMap/pgis/forks","keys_url":"https://api.github.com/repos/OpenGridMap/pgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenGridMap/pgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenGridMap/pgis/teams","hooks_url":"https://api.github.com/repos/OpenGridMap/pgis/hooks","issue_events_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/events{/number}","events_url":"https://api.github.com/repos/OpenGridMap/pgis/events","assignees_url":"https://api.github.com/repos/OpenGridMap/pgis/assignees{/user}","branches_url":"https://api.github.com/repos/OpenGridMap/pgis/branches{/branch}","tags_url":"https://api.github.com/repos/OpenGridMap/pgis/tags","blobs_url":"https://api.github.com/repos/OpenGridMap/pgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenGridMap/pgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenGridMap/pgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenGridMap/pgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenGridMap/pgis/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenGridMap/pgis/languages","stargazers_url":"https://api.github.com/repos/OpenGridMap/pgis/stargazers","contributors_url":"https://api.github.com/repos/OpenGridMap/pgis/contributors","subscribers_url":"https://api.github.com/repos/OpenGridMap/pgis/subscribers","subscription_url":"https://api.github.com/repos/OpenGridMap/pgis/subscription","commits_url":"https://api.github.com/repos/OpenGridMap/pgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenGridMap/pgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenGridMap/pgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenGridMap/pgis/contents/{+path}","compare_url":"https://api.github.com/repos/OpenGridMap/pgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenGridMap/pgis/merges","archive_url":"https://api.github.com/repos/OpenGridMap/pgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenGridMap/pgis/downloads","issues_url":"https://api.github.com/repos/OpenGridMap/pgis/issues{/number}","pulls_url":"https://api.github.com/repos/OpenGridMap/pgis/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenGridMap/pgis/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenGridMap/pgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenGridMap/pgis/labels{/name}","releases_url":"https://api.github.com/repos/OpenGridMap/pgis/releases{/id}","deployments_url":"https://api.github.com/repos/OpenGridMap/pgis/deployments","created_at":"2015-02-25T07:04:47Z","updated_at":"2016-01-18T16:52:53Z","pushed_at":"2016-05-16T18:56:13Z","git_url":"git://github.com/OpenGridMap/pgis.git","ssh_url":"git@github.com:OpenGridMap/pgis.git","clone_url":"https://github.com/OpenGridMap/pgis.git","svn_url":"https://github.com/OpenGridMap/pgis","homepage":"","size":1447,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":2,"default_branch":"master"}},"base":{"label":"OpenGridMap:master","ref":"master","sha":"3df2ded30e7d3f16483b0657ce6ded4e75fbd838","user":{"login":"OpenGridMap","id":10877210,"avatar_url":"https://avatars.githubusercontent.com/u/10877210?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenGridMap","html_url":"https://github.com/OpenGridMap","followers_url":"https://api.github.com/users/OpenGridMap/followers","following_url":"https://api.github.com/users/OpenGridMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenGridMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenGridMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenGridMap/subscriptions","organizations_url":"https://api.github.com/users/OpenGridMap/orgs","repos_url":"https://api.github.com/users/OpenGridMap/repos","events_url":"https://api.github.com/users/OpenGridMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenGridMap/received_events","type":"Organization","site_admin":false},"repo":{"id":31301506,"name":"pgis","full_name":"OpenGridMap/pgis","owner":{"login":"OpenGridMap","id":10877210,"avatar_url":"https://avatars.githubusercontent.com/u/10877210?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenGridMap","html_url":"https://github.com/OpenGridMap","followers_url":"https://api.github.com/users/OpenGridMap/followers","following_url":"https://api.github.com/users/OpenGridMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenGridMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenGridMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenGridMap/subscriptions","organizations_url":"https://api.github.com/users/OpenGridMap/orgs","repos_url":"https://api.github.com/users/OpenGridMap/repos","events_url":"https://api.github.com/users/OpenGridMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenGridMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenGridMap/pgis","description":"Power grid information system built on flask framework","fork":false,"url":"https://api.github.com/repos/OpenGridMap/pgis","forks_url":"https://api.github.com/repos/OpenGridMap/pgis/forks","keys_url":"https://api.github.com/repos/OpenGridMap/pgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenGridMap/pgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenGridMap/pgis/teams","hooks_url":"https://api.github.com/repos/OpenGridMap/pgis/hooks","issue_events_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/events{/number}","events_url":"https://api.github.com/repos/OpenGridMap/pgis/events","assignees_url":"https://api.github.com/repos/OpenGridMap/pgis/assignees{/user}","branches_url":"https://api.github.com/repos/OpenGridMap/pgis/branches{/branch}","tags_url":"https://api.github.com/repos/OpenGridMap/pgis/tags","blobs_url":"https://api.github.com/repos/OpenGridMap/pgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenGridMap/pgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenGridMap/pgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenGridMap/pgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenGridMap/pgis/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenGridMap/pgis/languages","stargazers_url":"https://api.github.com/repos/OpenGridMap/pgis/stargazers","contributors_url":"https://api.github.com/repos/OpenGridMap/pgis/contributors","subscribers_url":"https://api.github.com/repos/OpenGridMap/pgis/subscribers","subscription_url":"https://api.github.com/repos/OpenGridMap/pgis/subscription","commits_url":"https://api.github.com/repos/OpenGridMap/pgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenGridMap/pgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenGridMap/pgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenGridMap/pgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenGridMap/pgis/contents/{+path}","compare_url":"https://api.github.com/repos/OpenGridMap/pgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenGridMap/pgis/merges","archive_url":"https://api.github.com/repos/OpenGridMap/pgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenGridMap/pgis/downloads","issues_url":"https://api.github.com/repos/OpenGridMap/pgis/issues{/number}","pulls_url":"https://api.github.com/repos/OpenGridMap/pgis/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenGridMap/pgis/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenGridMap/pgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenGridMap/pgis/labels{/name}","releases_url":"https://api.github.com/repos/OpenGridMap/pgis/releases{/id}","deployments_url":"https://api.github.com/repos/OpenGridMap/pgis/deployments","created_at":"2015-02-25T07:04:47Z","updated_at":"2016-01-18T16:52:53Z","pushed_at":"2016-05-16T18:56:13Z","git_url":"git://github.com/OpenGridMap/pgis.git","ssh_url":"git@github.com:OpenGridMap/pgis.git","clone_url":"https://github.com/OpenGridMap/pgis.git","svn_url":"https://github.com/OpenGridMap/pgis","homepage":"","size":1447,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59"},"html":{"href":"https://github.com/OpenGridMap/pgis/pull/59"},"issue":{"href":"https://api.github.com/repos/OpenGridMap/pgis/issues/59"},"comments":{"href":"https://api.github.com/repos/OpenGridMap/pgis/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenGridMap/pgis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenGridMap/pgis/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/OpenGridMap/pgis/statuses/d7d5a955e2eca56185930d116c103b8ea6db4744"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":113,"deletions":30,"changed_files":7}}