{"action":"reopened","number":22562,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22562","id":53457236,"html_url":"https://github.com/rails/rails/pull/22562","diff_url":"https://github.com/rails/rails/pull/22562.diff","patch_url":"https://github.com/rails/rails/pull/22562.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/22562","number":22562,"state":"open","locked":false,"title":"Allow users to pass flags from database.yml","user":{"login":"sblackstone","id":131382,"avatar_url":"https://avatars.githubusercontent.com/u/131382?v=3","gravatar_id":"","url":"https://api.github.com/users/sblackstone","html_url":"https://github.com/sblackstone","followers_url":"https://api.github.com/users/sblackstone/followers","following_url":"https://api.github.com/users/sblackstone/following{/other_user}","gists_url":"https://api.github.com/users/sblackstone/gists{/gist_id}","starred_url":"https://api.github.com/users/sblackstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sblackstone/subscriptions","organizations_url":"https://api.github.com/users/sblackstone/orgs","repos_url":"https://api.github.com/users/sblackstone/repos","events_url":"https://api.github.com/users/sblackstone/events{/privacy}","received_events_url":"https://api.github.com/users/sblackstone/received_events","type":"User","site_admin":false},"body":"The MySQL 2 adapter currently clobbers any flags you pass via database.yml.\r\n\r\nThis short patch allows the user to include their own flags as an integer.\r\n\r\nThe MySQL2 gem master branch includes support for specifying flags as an array, however stable does not yet include this - so I did not include support for that here.","created_at":"2015-12-11T23:26:18Z","updated_at":"2015-12-15T02:49:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f828760b01d215a758107cb25a9f5ea938618137","assignee":{"login":"chancancode","id":55829,"avatar_url":"https://avatars.githubusercontent.com/u/55829?v=3","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/22562/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/22562/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/22562/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/c1b456db6ee2c2083db63c6b43057acfbbc41e48","head":{"label":"sblackstone:master","ref":"master","sha":"c1b456db6ee2c2083db63c6b43057acfbbc41e48","user":{"login":"sblackstone","id":131382,"avatar_url":"https://avatars.githubusercontent.com/u/131382?v=3","gravatar_id":"","url":"https://api.github.com/users/sblackstone","html_url":"https://github.com/sblackstone","followers_url":"https://api.github.com/users/sblackstone/followers","following_url":"https://api.github.com/users/sblackstone/following{/other_user}","gists_url":"https://api.github.com/users/sblackstone/gists{/gist_id}","starred_url":"https://api.github.com/users/sblackstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sblackstone/subscriptions","organizations_url":"https://api.github.com/users/sblackstone/orgs","repos_url":"https://api.github.com/users/sblackstone/repos","events_url":"https://api.github.com/users/sblackstone/events{/privacy}","received_events_url":"https://api.github.com/users/sblackstone/received_events","type":"User","site_admin":false},"repo":{"id":29205599,"name":"rails","full_name":"sblackstone/rails","owner":{"login":"sblackstone","id":131382,"avatar_url":"https://avatars.githubusercontent.com/u/131382?v=3","gravatar_id":"","url":"https://api.github.com/users/sblackstone","html_url":"https://github.com/sblackstone","followers_url":"https://api.github.com/users/sblackstone/followers","following_url":"https://api.github.com/users/sblackstone/following{/other_user}","gists_url":"https://api.github.com/users/sblackstone/gists{/gist_id}","starred_url":"https://api.github.com/users/sblackstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sblackstone/subscriptions","organizations_url":"https://api.github.com/users/sblackstone/orgs","repos_url":"https://api.github.com/users/sblackstone/repos","events_url":"https://api.github.com/users/sblackstone/events{/privacy}","received_events_url":"https://api.github.com/users/sblackstone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sblackstone/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/sblackstone/rails","forks_url":"https://api.github.com/repos/sblackstone/rails/forks","keys_url":"https://api.github.com/repos/sblackstone/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sblackstone/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sblackstone/rails/teams","hooks_url":"https://api.github.com/repos/sblackstone/rails/hooks","issue_events_url":"https://api.github.com/repos/sblackstone/rails/issues/events{/number}","events_url":"https://api.github.com/repos/sblackstone/rails/events","assignees_url":"https://api.github.com/repos/sblackstone/rails/assignees{/user}","branches_url":"https://api.github.com/repos/sblackstone/rails/branches{/branch}","tags_url":"https://api.github.com/repos/sblackstone/rails/tags","blobs_url":"https://api.github.com/repos/sblackstone/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sblackstone/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sblackstone/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/sblackstone/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sblackstone/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/sblackstone/rails/languages","stargazers_url":"https://api.github.com/repos/sblackstone/rails/stargazers","contributors_url":"https://api.github.com/repos/sblackstone/rails/contributors","subscribers_url":"https://api.github.com/repos/sblackstone/rails/subscribers","subscription_url":"https://api.github.com/repos/sblackstone/rails/subscription","commits_url":"https://api.github.com/repos/sblackstone/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/sblackstone/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/sblackstone/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/sblackstone/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/sblackstone/rails/contents/{+path}","compare_url":"https://api.github.com/repos/sblackstone/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sblackstone/rails/merges","archive_url":"https://api.github.com/repos/sblackstone/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sblackstone/rails/downloads","issues_url":"https://api.github.com/repos/sblackstone/rails/issues{/number}","pulls_url":"https://api.github.com/repos/sblackstone/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/sblackstone/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/sblackstone/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sblackstone/rails/labels{/name}","releases_url":"https://api.github.com/repos/sblackstone/rails/releases{/id}","created_at":"2015-01-13T18:58:13Z","updated_at":"2015-01-13T18:58:37Z","pushed_at":"2015-12-15T02:32:04Z","git_url":"git://github.com/sblackstone/rails.git","ssh_url":"git@github.com:sblackstone/rails.git","clone_url":"https://github.com/sblackstone/rails.git","svn_url":"https://github.com/sblackstone/rails","homepage":"http://rubyonrails.org","size":118558,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"87e44814679625b4d8093aea253fe49e23f2c1b4","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2015-12-15T02:34:35Z","pushed_at":"2015-12-15T02:09:15Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":322504,"stargazers_count":28720,"watchers_count":28720,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11642,"mirror_url":null,"open_issues_count":881,"forks":11642,"open_issues":881,"watchers":28720,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/22562"},"html":{"href":"https://github.com/rails/rails/pull/22562"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/22562"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/22562/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/22562/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/22562/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/c1b456db6ee2c2083db63c6b43057acfbbc41e48"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":4,"review_comments":1,"commits":6,"additions":9,"deletions":2,"changed_files":2}}