{"action":"created","comment":{"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments/28528038","id":28528038,"diff_hunk":"@@ -2,30 +2,40 @@\n # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).\n #\n # Examples:\n-#\n #   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n #   Mayor.create(name: 'Emanuel', city: cities.first)\n \n require 'faker'\n+# seeding this month's data...\n \n-5.times do\n+Stripe.api_key = \"sk_test_PTVRgvgpatfQZVMkHSVlTqLs\"\n \n-  Customer.create(\n-    name: Faker::Name.name,\n-    stripe_id: Faker::Code.isbn,\n-    email: Faker::Internet.email)\n+1000.times do\n+  Stripe::Charge.create(\n+    :amount => 400,\n+    :currency => \"usd\",","path":"db/seeds.rb","position":21,"original_position":21,"commit_id":"4296a31470b3f06c82333958f98d0c0923e10990","original_commit_id":"4296a31470b3f06c82333958f98d0c0923e10990","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":"Use the new Ruby 1.9 hash syntax.","created_at":"2015-04-16T16:55:40Z","updated_at":"2015-04-16T16:55:40Z","html_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/4#discussion_r28528038","pull_request_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments/28528038"},"html":{"href":"https://github.com/erikgrueter/Stripe-Analytics/pull/4#discussion_r28528038"},"pull_request":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4","id":33470489,"html_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/4","diff_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/4.diff","patch_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/4.patch","issue_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/4","number":4,"state":"open","locked":false,"title":"Stripe integration","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-16T16:49:05Z","updated_at":"2015-04-16T16:55:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea7853530d2b2aec876215791760cfe98ef26827","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4/commits","review_comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4/comments","review_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/4/comments","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/4296a31470b3f06c82333958f98d0c0923e10990","head":{"label":"erikgrueter:stripe_integration","ref":"stripe_integration","sha":"4296a31470b3f06c82333958f98d0c0923e10990","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"repo":{"id":32895497,"name":"Stripe-Analytics","full_name":"erikgrueter/Stripe-Analytics","owner":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikgrueter/Stripe-Analytics","description":"A Revenue Tracker for Software As A Service (SaaS companies) ","fork":false,"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics","forks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/forks","keys_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/teams","hooks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/hooks","issue_events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/events{/number}","events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/events","assignees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/assignees{/user}","branches_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/branches{/branch}","tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/tags","blobs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/languages","stargazers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/stargazers","contributors_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contributors","subscribers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscribers","subscription_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscription","commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contents/{+path}","compare_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/merges","archive_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/downloads","issues_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues{/number}","pulls_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/labels{/name}","releases_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/releases{/id}","created_at":"2015-03-25T22:50:24Z","updated_at":"2015-04-14T17:42:20Z","pushed_at":"2015-04-16T16:55:32Z","git_url":"git://github.com/erikgrueter/Stripe-Analytics.git","ssh_url":"git@github.com:erikgrueter/Stripe-Analytics.git","clone_url":"https://github.com/erikgrueter/Stripe-Analytics.git","svn_url":"https://github.com/erikgrueter/Stripe-Analytics","homepage":null,"size":472,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"erikgrueter:master","ref":"master","sha":"6dd9a356a079efe4273f6a0519208a9375873eb9","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"repo":{"id":32895497,"name":"Stripe-Analytics","full_name":"erikgrueter/Stripe-Analytics","owner":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikgrueter/Stripe-Analytics","description":"A Revenue Tracker for Software As A Service (SaaS companies) ","fork":false,"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics","forks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/forks","keys_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/teams","hooks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/hooks","issue_events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/events{/number}","events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/events","assignees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/assignees{/user}","branches_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/branches{/branch}","tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/tags","blobs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/languages","stargazers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/stargazers","contributors_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contributors","subscribers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscribers","subscription_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscription","commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contents/{+path}","compare_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/merges","archive_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/downloads","issues_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues{/number}","pulls_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/labels{/name}","releases_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/releases{/id}","created_at":"2015-03-25T22:50:24Z","updated_at":"2015-04-14T17:42:20Z","pushed_at":"2015-04-16T16:55:32Z","git_url":"git://github.com/erikgrueter/Stripe-Analytics.git","ssh_url":"git@github.com:erikgrueter/Stripe-Analytics.git","clone_url":"https://github.com/erikgrueter/Stripe-Analytics.git","svn_url":"https://github.com/erikgrueter/Stripe-Analytics","homepage":null,"size":472,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4"},"html":{"href":"https://github.com/erikgrueter/Stripe-Analytics/pull/4"},"issue":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/4"},"comments":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/4296a31470b3f06c82333958f98d0c0923e10990"}}}}