{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48","id":32181476,"html_url":"https://github.com/janko-m/sinatra-activerecord/pull/48","diff_url":"https://github.com/janko-m/sinatra-activerecord/pull/48.diff","patch_url":"https://github.com/janko-m/sinatra-activerecord/pull/48.patch","issue_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/48","number":48,"state":"open","locked":false,"title":"issues#47 Allow DATABASE_URL to take precedence","user":{"login":"bradrobertson","id":190353,"avatar_url":"https://avatars.githubusercontent.com/u/190353?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrobertson","html_url":"https://github.com/bradrobertson","followers_url":"https://api.github.com/users/bradrobertson/followers","following_url":"https://api.github.com/users/bradrobertson/following{/other_user}","gists_url":"https://api.github.com/users/bradrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrobertson/subscriptions","organizations_url":"https://api.github.com/users/bradrobertson/orgs","repos_url":"https://api.github.com/users/bradrobertson/repos","events_url":"https://api.github.com/users/bradrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/bradrobertson/received_events","type":"User","site_admin":false},"body":"As mentioned, tests have been omitted. Pretty simple fix.","created_at":"2015-03-29T13:18:00Z","updated_at":"2015-03-29T13:18:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48/commits","review_comments_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48/comments","review_comment_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/comments{/number}","comments_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/48/comments","statuses_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/statuses/6a409d1eab61c484b3047fdb37a3548619886324","head":{"label":"bradrobertson:master","ref":"master","sha":"6a409d1eab61c484b3047fdb37a3548619886324","user":{"login":"bradrobertson","id":190353,"avatar_url":"https://avatars.githubusercontent.com/u/190353?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrobertson","html_url":"https://github.com/bradrobertson","followers_url":"https://api.github.com/users/bradrobertson/followers","following_url":"https://api.github.com/users/bradrobertson/following{/other_user}","gists_url":"https://api.github.com/users/bradrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrobertson/subscriptions","organizations_url":"https://api.github.com/users/bradrobertson/orgs","repos_url":"https://api.github.com/users/bradrobertson/repos","events_url":"https://api.github.com/users/bradrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/bradrobertson/received_events","type":"User","site_admin":false},"repo":{"id":33073280,"name":"sinatra-activerecord","full_name":"bradrobertson/sinatra-activerecord","owner":{"login":"bradrobertson","id":190353,"avatar_url":"https://avatars.githubusercontent.com/u/190353?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrobertson","html_url":"https://github.com/bradrobertson","followers_url":"https://api.github.com/users/bradrobertson/followers","following_url":"https://api.github.com/users/bradrobertson/following{/other_user}","gists_url":"https://api.github.com/users/bradrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrobertson/subscriptions","organizations_url":"https://api.github.com/users/bradrobertson/orgs","repos_url":"https://api.github.com/users/bradrobertson/repos","events_url":"https://api.github.com/users/bradrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/bradrobertson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradrobertson/sinatra-activerecord","description":"Extends Sinatra with ActiveRecord helper methods and Rake tasks.","fork":true,"url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord","forks_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/forks","keys_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/teams","hooks_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/hooks","issue_events_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/issues/events{/number}","events_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/events","assignees_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/assignees{/user}","branches_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/branches{/branch}","tags_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/tags","blobs_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/statuses/{sha}","languages_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/languages","stargazers_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/stargazers","contributors_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/contributors","subscribers_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/subscribers","subscription_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/subscription","commits_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/contents/{+path}","compare_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/merges","archive_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/downloads","issues_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/issues{/number}","pulls_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/pulls{/number}","milestones_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/milestones{/number}","notifications_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/labels{/name}","releases_url":"https://api.github.com/repos/bradrobertson/sinatra-activerecord/releases{/id}","created_at":"2015-03-29T13:10:30Z","updated_at":"2015-03-29T13:16:42Z","pushed_at":"2015-03-29T13:16:42Z","git_url":"git://github.com/bradrobertson/sinatra-activerecord.git","ssh_url":"git@github.com:bradrobertson/sinatra-activerecord.git","clone_url":"https://github.com/bradrobertson/sinatra-activerecord.git","svn_url":"https://github.com/bradrobertson/sinatra-activerecord","homepage":"","size":828,"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":"janko-m:master","ref":"master","sha":"cc89a1e660bc09e36d68941e8f53401bc61be52a","user":{"login":"janko-m","id":795488,"avatar_url":"https://avatars.githubusercontent.com/u/795488?v=3","gravatar_id":"","url":"https://api.github.com/users/janko-m","html_url":"https://github.com/janko-m","followers_url":"https://api.github.com/users/janko-m/followers","following_url":"https://api.github.com/users/janko-m/following{/other_user}","gists_url":"https://api.github.com/users/janko-m/gists{/gist_id}","starred_url":"https://api.github.com/users/janko-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janko-m/subscriptions","organizations_url":"https://api.github.com/users/janko-m/orgs","repos_url":"https://api.github.com/users/janko-m/repos","events_url":"https://api.github.com/users/janko-m/events{/privacy}","received_events_url":"https://api.github.com/users/janko-m/received_events","type":"User","site_admin":false},"repo":{"id":4396535,"name":"sinatra-activerecord","full_name":"janko-m/sinatra-activerecord","owner":{"login":"janko-m","id":795488,"avatar_url":"https://avatars.githubusercontent.com/u/795488?v=3","gravatar_id":"","url":"https://api.github.com/users/janko-m","html_url":"https://github.com/janko-m","followers_url":"https://api.github.com/users/janko-m/followers","following_url":"https://api.github.com/users/janko-m/following{/other_user}","gists_url":"https://api.github.com/users/janko-m/gists{/gist_id}","starred_url":"https://api.github.com/users/janko-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janko-m/subscriptions","organizations_url":"https://api.github.com/users/janko-m/orgs","repos_url":"https://api.github.com/users/janko-m/repos","events_url":"https://api.github.com/users/janko-m/events{/privacy}","received_events_url":"https://api.github.com/users/janko-m/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janko-m/sinatra-activerecord","description":"Extends Sinatra with ActiveRecord helper methods and Rake tasks.","fork":true,"url":"https://api.github.com/repos/janko-m/sinatra-activerecord","forks_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/forks","keys_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/teams","hooks_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/hooks","issue_events_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/events{/number}","events_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/events","assignees_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/assignees{/user}","branches_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/branches{/branch}","tags_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/tags","blobs_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/statuses/{sha}","languages_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/languages","stargazers_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/stargazers","contributors_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/contributors","subscribers_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/subscribers","subscription_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/subscription","commits_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/contents/{+path}","compare_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/merges","archive_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/downloads","issues_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues{/number}","pulls_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls{/number}","milestones_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/milestones{/number}","notifications_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/labels{/name}","releases_url":"https://api.github.com/repos/janko-m/sinatra-activerecord/releases{/id}","created_at":"2012-05-21T17:51:38Z","updated_at":"2015-03-23T20:09:23Z","pushed_at":"2015-02-04T15:09:57Z","git_url":"git://github.com/janko-m/sinatra-activerecord.git","ssh_url":"git@github.com:janko-m/sinatra-activerecord.git","clone_url":"https://github.com/janko-m/sinatra-activerecord.git","svn_url":"https://github.com/janko-m/sinatra-activerecord","homepage":"","size":828,"stargazers_count":381,"watchers_count":381,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":2,"forks":45,"open_issues":2,"watchers":381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48"},"html":{"href":"https://github.com/janko-m/sinatra-activerecord/pull/48"},"issue":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/48"},"comments":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/janko-m/sinatra-activerecord/statuses/6a409d1eab61c484b3047fdb37a3548619886324"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}