{"action":"created","comment":{"url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/comments/32367777","id":32367777,"diff_hunk":"@@ -0,0 +1,9 @@\n+# This migration comes from spree_gateway (originally 20131112133401)\n+class MigrateStripePreferences < ActiveRecord::Migration\n+  def up\n+    Spree::Preference.where(\"#{ActiveRecord::Base.connection.quote_column_name(\"key\")} LIKE 'spree/gateway/stripe_gateway/login%'\").each do |pref|\n+      pref.key = pref.key.gsub('login', 'secret_key')","path":"db/migrate/20150613011232_migrate_stripe_preferences.spree_gateway.rb","position":5,"original_position":5,"commit_id":"c2e3457b696c3064b7561816072c9af3e19d7435","original_commit_id":"c2e3457b696c3064b7561816072c9af3e19d7435","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-13T04:41:47Z","updated_at":"2015-06-13T04:41:47Z","html_url":"https://github.com/gessgallardo/gessgallardo/pull/1#discussion_r32367777","pull_request_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/comments/32367777"},"html":{"href":"https://github.com/gessgallardo/gessgallardo/pull/1#discussion_r32367777"},"pull_request":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1","id":37619166,"html_url":"https://github.com/gessgallardo/gessgallardo/pull/1","diff_url":"https://github.com/gessgallardo/gessgallardo/pull/1.diff","patch_url":"https://github.com/gessgallardo/gessgallardo/pull/1.patch","issue_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/1","number":1,"state":"closed","locked":false,"title":"Spree","user":{"login":"gessgallardo","id":4984652,"avatar_url":"https://avatars.githubusercontent.com/u/4984652?v=3","gravatar_id":"","url":"https://api.github.com/users/gessgallardo","html_url":"https://github.com/gessgallardo","followers_url":"https://api.github.com/users/gessgallardo/followers","following_url":"https://api.github.com/users/gessgallardo/following{/other_user}","gists_url":"https://api.github.com/users/gessgallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gessgallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gessgallardo/subscriptions","organizations_url":"https://api.github.com/users/gessgallardo/orgs","repos_url":"https://api.github.com/users/gessgallardo/repos","events_url":"https://api.github.com/users/gessgallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gessgallardo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-13T04:41:14Z","updated_at":"2015-06-13T04:41:48Z","closed_at":"2015-06-13T04:41:34Z","merged_at":"2015-06-13T04:41:34Z","merge_commit_sha":"a1427f157df1283bea8f4f2dcc9072ca729175a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/1/comments","statuses_url":"https://api.github.com/repos/gessgallardo/gessgallardo/statuses/c2e3457b696c3064b7561816072c9af3e19d7435","head":{"label":"gessgallardo:spree","ref":"spree","sha":"c2e3457b696c3064b7561816072c9af3e19d7435","user":{"login":"gessgallardo","id":4984652,"avatar_url":"https://avatars.githubusercontent.com/u/4984652?v=3","gravatar_id":"","url":"https://api.github.com/users/gessgallardo","html_url":"https://github.com/gessgallardo","followers_url":"https://api.github.com/users/gessgallardo/followers","following_url":"https://api.github.com/users/gessgallardo/following{/other_user}","gists_url":"https://api.github.com/users/gessgallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gessgallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gessgallardo/subscriptions","organizations_url":"https://api.github.com/users/gessgallardo/orgs","repos_url":"https://api.github.com/users/gessgallardo/repos","events_url":"https://api.github.com/users/gessgallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gessgallardo/received_events","type":"User","site_admin":false},"repo":{"id":30783398,"name":"gessgallardo","full_name":"gessgallardo/gessgallardo","owner":{"login":"gessgallardo","id":4984652,"avatar_url":"https://avatars.githubusercontent.com/u/4984652?v=3","gravatar_id":"","url":"https://api.github.com/users/gessgallardo","html_url":"https://github.com/gessgallardo","followers_url":"https://api.github.com/users/gessgallardo/followers","following_url":"https://api.github.com/users/gessgallardo/following{/other_user}","gists_url":"https://api.github.com/users/gessgallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gessgallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gessgallardo/subscriptions","organizations_url":"https://api.github.com/users/gessgallardo/orgs","repos_url":"https://api.github.com/users/gessgallardo/repos","events_url":"https://api.github.com/users/gessgallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gessgallardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gessgallardo/gessgallardo","description":"gessgallardo","fork":false,"url":"https://api.github.com/repos/gessgallardo/gessgallardo","forks_url":"https://api.github.com/repos/gessgallardo/gessgallardo/forks","keys_url":"https://api.github.com/repos/gessgallardo/gessgallardo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gessgallardo/gessgallardo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gessgallardo/gessgallardo/teams","hooks_url":"https://api.github.com/repos/gessgallardo/gessgallardo/hooks","issue_events_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/events{/number}","events_url":"https://api.github.com/repos/gessgallardo/gessgallardo/events","assignees_url":"https://api.github.com/repos/gessgallardo/gessgallardo/assignees{/user}","branches_url":"https://api.github.com/repos/gessgallardo/gessgallardo/branches{/branch}","tags_url":"https://api.github.com/repos/gessgallardo/gessgallardo/tags","blobs_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gessgallardo/gessgallardo/statuses/{sha}","languages_url":"https://api.github.com/repos/gessgallardo/gessgallardo/languages","stargazers_url":"https://api.github.com/repos/gessgallardo/gessgallardo/stargazers","contributors_url":"https://api.github.com/repos/gessgallardo/gessgallardo/contributors","subscribers_url":"https://api.github.com/repos/gessgallardo/gessgallardo/subscribers","subscription_url":"https://api.github.com/repos/gessgallardo/gessgallardo/subscription","commits_url":"https://api.github.com/repos/gessgallardo/gessgallardo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gessgallardo/gessgallardo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gessgallardo/gessgallardo/contents/{+path}","compare_url":"https://api.github.com/repos/gessgallardo/gessgallardo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gessgallardo/gessgallardo/merges","archive_url":"https://api.github.com/repos/gessgallardo/gessgallardo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gessgallardo/gessgallardo/downloads","issues_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues{/number}","pulls_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls{/number}","milestones_url":"https://api.github.com/repos/gessgallardo/gessgallardo/milestones{/number}","notifications_url":"https://api.github.com/repos/gessgallardo/gessgallardo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gessgallardo/gessgallardo/labels{/name}","releases_url":"https://api.github.com/repos/gessgallardo/gessgallardo/releases{/id}","created_at":"2015-02-14T01:22:17Z","updated_at":"2015-06-13T04:41:36Z","pushed_at":"2015-06-13T04:41:34Z","git_url":"git://github.com/gessgallardo/gessgallardo.git","ssh_url":"git@github.com:gessgallardo/gessgallardo.git","clone_url":"https://github.com/gessgallardo/gessgallardo.git","svn_url":"https://github.com/gessgallardo/gessgallardo","homepage":null,"size":3580,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"gessgallardo:master","ref":"master","sha":"35d3c366041e2f9cc60cf35ecb264b153933a95a","user":{"login":"gessgallardo","id":4984652,"avatar_url":"https://avatars.githubusercontent.com/u/4984652?v=3","gravatar_id":"","url":"https://api.github.com/users/gessgallardo","html_url":"https://github.com/gessgallardo","followers_url":"https://api.github.com/users/gessgallardo/followers","following_url":"https://api.github.com/users/gessgallardo/following{/other_user}","gists_url":"https://api.github.com/users/gessgallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gessgallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gessgallardo/subscriptions","organizations_url":"https://api.github.com/users/gessgallardo/orgs","repos_url":"https://api.github.com/users/gessgallardo/repos","events_url":"https://api.github.com/users/gessgallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gessgallardo/received_events","type":"User","site_admin":false},"repo":{"id":30783398,"name":"gessgallardo","full_name":"gessgallardo/gessgallardo","owner":{"login":"gessgallardo","id":4984652,"avatar_url":"https://avatars.githubusercontent.com/u/4984652?v=3","gravatar_id":"","url":"https://api.github.com/users/gessgallardo","html_url":"https://github.com/gessgallardo","followers_url":"https://api.github.com/users/gessgallardo/followers","following_url":"https://api.github.com/users/gessgallardo/following{/other_user}","gists_url":"https://api.github.com/users/gessgallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gessgallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gessgallardo/subscriptions","organizations_url":"https://api.github.com/users/gessgallardo/orgs","repos_url":"https://api.github.com/users/gessgallardo/repos","events_url":"https://api.github.com/users/gessgallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gessgallardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gessgallardo/gessgallardo","description":"gessgallardo","fork":false,"url":"https://api.github.com/repos/gessgallardo/gessgallardo","forks_url":"https://api.github.com/repos/gessgallardo/gessgallardo/forks","keys_url":"https://api.github.com/repos/gessgallardo/gessgallardo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gessgallardo/gessgallardo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gessgallardo/gessgallardo/teams","hooks_url":"https://api.github.com/repos/gessgallardo/gessgallardo/hooks","issue_events_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/events{/number}","events_url":"https://api.github.com/repos/gessgallardo/gessgallardo/events","assignees_url":"https://api.github.com/repos/gessgallardo/gessgallardo/assignees{/user}","branches_url":"https://api.github.com/repos/gessgallardo/gessgallardo/branches{/branch}","tags_url":"https://api.github.com/repos/gessgallardo/gessgallardo/tags","blobs_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gessgallardo/gessgallardo/statuses/{sha}","languages_url":"https://api.github.com/repos/gessgallardo/gessgallardo/languages","stargazers_url":"https://api.github.com/repos/gessgallardo/gessgallardo/stargazers","contributors_url":"https://api.github.com/repos/gessgallardo/gessgallardo/contributors","subscribers_url":"https://api.github.com/repos/gessgallardo/gessgallardo/subscribers","subscription_url":"https://api.github.com/repos/gessgallardo/gessgallardo/subscription","commits_url":"https://api.github.com/repos/gessgallardo/gessgallardo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gessgallardo/gessgallardo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gessgallardo/gessgallardo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gessgallardo/gessgallardo/contents/{+path}","compare_url":"https://api.github.com/repos/gessgallardo/gessgallardo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gessgallardo/gessgallardo/merges","archive_url":"https://api.github.com/repos/gessgallardo/gessgallardo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gessgallardo/gessgallardo/downloads","issues_url":"https://api.github.com/repos/gessgallardo/gessgallardo/issues{/number}","pulls_url":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls{/number}","milestones_url":"https://api.github.com/repos/gessgallardo/gessgallardo/milestones{/number}","notifications_url":"https://api.github.com/repos/gessgallardo/gessgallardo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gessgallardo/gessgallardo/labels{/name}","releases_url":"https://api.github.com/repos/gessgallardo/gessgallardo/releases{/id}","created_at":"2015-02-14T01:22:17Z","updated_at":"2015-06-13T04:41:36Z","pushed_at":"2015-06-13T04:41:34Z","git_url":"git://github.com/gessgallardo/gessgallardo.git","ssh_url":"git@github.com:gessgallardo/gessgallardo.git","clone_url":"https://github.com/gessgallardo/gessgallardo.git","svn_url":"https://github.com/gessgallardo/gessgallardo","homepage":null,"size":3580,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1"},"html":{"href":"https://github.com/gessgallardo/gessgallardo/pull/1"},"issue":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/1"},"comments":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gessgallardo/gessgallardo/statuses/c2e3457b696c3064b7561816072c9af3e19d7435"}}}}