{"action":"created","comment":{"url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/comments/63387864","id":63387864,"diff_hunk":"@@ -0,0 +1,71 @@\n+class SimplifySubscriptions < ActiveRecord::Migration\n+  def change\n+    add_column :product_natures, :subscribing, :boolean, null: false, default: false\n+    add_reference :product_natures, :subscription_nature, index: true\n+    add_column :product_natures, :subscription_years_count, :integer, null: false, default: 0\n+    add_column :product_natures, :subscription_months_count, :integer, null: false, default: 0\n+    add_column :product_natures, :subscription_days_count, :integer, null: false, default: 0","path":"db/migrate/20160512061327_simplify_subscriptions.rb","position":7,"original_position":7,"commit_id":"03991c0307175479f7d343fda7b1a6e99486186d","original_commit_id":"03991c0307175479f7d343fda7b1a6e99486186d","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [92/80]","created_at":"2016-05-16T17:09:33Z","updated_at":"2016-05-16T17:09:33Z","html_url":"https://github.com/ekylibre/ekylibre/pull/640#discussion_r63387864","pull_request_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640","_links":{"self":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/comments/63387864"},"html":{"href":"https://github.com/ekylibre/ekylibre/pull/640#discussion_r63387864"},"pull_request":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640"}}},"pull_request":{"url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640","id":70227899,"html_url":"https://github.com/ekylibre/ekylibre/pull/640","diff_url":"https://github.com/ekylibre/ekylibre/pull/640.diff","patch_url":"https://github.com/ekylibre/ekylibre/pull/640.patch","issue_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/640","number":640,"state":"open","locked":false,"title":"Simplify and re-renable subscriptions","user":{"login":"burisu","id":240595,"avatar_url":"https://avatars.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-16T17:09:21Z","updated_at":"2016-05-16T17:09:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ekylibre/ekylibre/milestones/21","html_url":"https://github.com/ekylibre/ekylibre/milestones/2.0.0","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/milestones/21/labels","id":1353331,"number":21,"title":"2.0.0","description":"","creator":{"login":"burisu","id":240595,"avatar_url":"https://avatars.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":84,"state":"open","created_at":"2015-10-13T14:42:59Z","updated_at":"2016-05-16T17:09:21Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640/commits","review_comments_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640/comments","review_comment_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/640/comments","statuses_url":"https://api.github.com/repos/ekylibre/ekylibre/statuses/03991c0307175479f7d343fda7b1a6e99486186d","head":{"label":"ekylibre:subscriptions","ref":"subscriptions","sha":"03991c0307175479f7d343fda7b1a6e99486186d","user":{"login":"ekylibre","id":779136,"avatar_url":"https://avatars.githubusercontent.com/u/779136?v=3","gravatar_id":"","url":"https://api.github.com/users/ekylibre","html_url":"https://github.com/ekylibre","followers_url":"https://api.github.com/users/ekylibre/followers","following_url":"https://api.github.com/users/ekylibre/following{/other_user}","gists_url":"https://api.github.com/users/ekylibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ekylibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekylibre/subscriptions","organizations_url":"https://api.github.com/users/ekylibre/orgs","repos_url":"https://api.github.com/users/ekylibre/repos","events_url":"https://api.github.com/users/ekylibre/events{/privacy}","received_events_url":"https://api.github.com/users/ekylibre/received_events","type":"Organization","site_admin":false},"repo":{"id":2196186,"name":"ekylibre","full_name":"ekylibre/ekylibre","owner":{"login":"ekylibre","id":779136,"avatar_url":"https://avatars.githubusercontent.com/u/779136?v=3","gravatar_id":"","url":"https://api.github.com/users/ekylibre","html_url":"https://github.com/ekylibre","followers_url":"https://api.github.com/users/ekylibre/followers","following_url":"https://api.github.com/users/ekylibre/following{/other_user}","gists_url":"https://api.github.com/users/ekylibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ekylibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekylibre/subscriptions","organizations_url":"https://api.github.com/users/ekylibre/orgs","repos_url":"https://api.github.com/users/ekylibre/repos","events_url":"https://api.github.com/users/ekylibre/events{/privacy}","received_events_url":"https://api.github.com/users/ekylibre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ekylibre/ekylibre","description":"Connecting farms to the world","fork":false,"url":"https://api.github.com/repos/ekylibre/ekylibre","forks_url":"https://api.github.com/repos/ekylibre/ekylibre/forks","keys_url":"https://api.github.com/repos/ekylibre/ekylibre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekylibre/ekylibre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekylibre/ekylibre/teams","hooks_url":"https://api.github.com/repos/ekylibre/ekylibre/hooks","issue_events_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/events{/number}","events_url":"https://api.github.com/repos/ekylibre/ekylibre/events","assignees_url":"https://api.github.com/repos/ekylibre/ekylibre/assignees{/user}","branches_url":"https://api.github.com/repos/ekylibre/ekylibre/branches{/branch}","tags_url":"https://api.github.com/repos/ekylibre/ekylibre/tags","blobs_url":"https://api.github.com/repos/ekylibre/ekylibre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekylibre/ekylibre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekylibre/ekylibre/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekylibre/ekylibre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekylibre/ekylibre/statuses/{sha}","languages_url":"https://api.github.com/repos/ekylibre/ekylibre/languages","stargazers_url":"https://api.github.com/repos/ekylibre/ekylibre/stargazers","contributors_url":"https://api.github.com/repos/ekylibre/ekylibre/contributors","subscribers_url":"https://api.github.com/repos/ekylibre/ekylibre/subscribers","subscription_url":"https://api.github.com/repos/ekylibre/ekylibre/subscription","commits_url":"https://api.github.com/repos/ekylibre/ekylibre/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekylibre/ekylibre/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekylibre/ekylibre/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekylibre/ekylibre/contents/{+path}","compare_url":"https://api.github.com/repos/ekylibre/ekylibre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekylibre/ekylibre/merges","archive_url":"https://api.github.com/repos/ekylibre/ekylibre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekylibre/ekylibre/downloads","issues_url":"https://api.github.com/repos/ekylibre/ekylibre/issues{/number}","pulls_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls{/number}","milestones_url":"https://api.github.com/repos/ekylibre/ekylibre/milestones{/number}","notifications_url":"https://api.github.com/repos/ekylibre/ekylibre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/labels{/name}","releases_url":"https://api.github.com/repos/ekylibre/ekylibre/releases{/id}","deployments_url":"https://api.github.com/repos/ekylibre/ekylibre/deployments","created_at":"2011-08-12T09:03:48Z","updated_at":"2016-05-09T11:37:40Z","pushed_at":"2016-05-16T17:09:21Z","git_url":"git://github.com/ekylibre/ekylibre.git","ssh_url":"git@github.com:ekylibre/ekylibre.git","clone_url":"https://github.com/ekylibre/ekylibre.git","svn_url":"https://github.com/ekylibre/ekylibre","homepage":"https://ekylibre.com","size":167899,"stargazers_count":70,"watchers_count":70,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":117,"forks":35,"open_issues":117,"watchers":70,"default_branch":"master"}},"base":{"label":"ekylibre:master","ref":"master","sha":"dcdfed56fd29d8adb44f69db79c036fef7696202","user":{"login":"ekylibre","id":779136,"avatar_url":"https://avatars.githubusercontent.com/u/779136?v=3","gravatar_id":"","url":"https://api.github.com/users/ekylibre","html_url":"https://github.com/ekylibre","followers_url":"https://api.github.com/users/ekylibre/followers","following_url":"https://api.github.com/users/ekylibre/following{/other_user}","gists_url":"https://api.github.com/users/ekylibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ekylibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekylibre/subscriptions","organizations_url":"https://api.github.com/users/ekylibre/orgs","repos_url":"https://api.github.com/users/ekylibre/repos","events_url":"https://api.github.com/users/ekylibre/events{/privacy}","received_events_url":"https://api.github.com/users/ekylibre/received_events","type":"Organization","site_admin":false},"repo":{"id":2196186,"name":"ekylibre","full_name":"ekylibre/ekylibre","owner":{"login":"ekylibre","id":779136,"avatar_url":"https://avatars.githubusercontent.com/u/779136?v=3","gravatar_id":"","url":"https://api.github.com/users/ekylibre","html_url":"https://github.com/ekylibre","followers_url":"https://api.github.com/users/ekylibre/followers","following_url":"https://api.github.com/users/ekylibre/following{/other_user}","gists_url":"https://api.github.com/users/ekylibre/gists{/gist_id}","starred_url":"https://api.github.com/users/ekylibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekylibre/subscriptions","organizations_url":"https://api.github.com/users/ekylibre/orgs","repos_url":"https://api.github.com/users/ekylibre/repos","events_url":"https://api.github.com/users/ekylibre/events{/privacy}","received_events_url":"https://api.github.com/users/ekylibre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ekylibre/ekylibre","description":"Connecting farms to the world","fork":false,"url":"https://api.github.com/repos/ekylibre/ekylibre","forks_url":"https://api.github.com/repos/ekylibre/ekylibre/forks","keys_url":"https://api.github.com/repos/ekylibre/ekylibre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekylibre/ekylibre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekylibre/ekylibre/teams","hooks_url":"https://api.github.com/repos/ekylibre/ekylibre/hooks","issue_events_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/events{/number}","events_url":"https://api.github.com/repos/ekylibre/ekylibre/events","assignees_url":"https://api.github.com/repos/ekylibre/ekylibre/assignees{/user}","branches_url":"https://api.github.com/repos/ekylibre/ekylibre/branches{/branch}","tags_url":"https://api.github.com/repos/ekylibre/ekylibre/tags","blobs_url":"https://api.github.com/repos/ekylibre/ekylibre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekylibre/ekylibre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekylibre/ekylibre/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekylibre/ekylibre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekylibre/ekylibre/statuses/{sha}","languages_url":"https://api.github.com/repos/ekylibre/ekylibre/languages","stargazers_url":"https://api.github.com/repos/ekylibre/ekylibre/stargazers","contributors_url":"https://api.github.com/repos/ekylibre/ekylibre/contributors","subscribers_url":"https://api.github.com/repos/ekylibre/ekylibre/subscribers","subscription_url":"https://api.github.com/repos/ekylibre/ekylibre/subscription","commits_url":"https://api.github.com/repos/ekylibre/ekylibre/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekylibre/ekylibre/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekylibre/ekylibre/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekylibre/ekylibre/contents/{+path}","compare_url":"https://api.github.com/repos/ekylibre/ekylibre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekylibre/ekylibre/merges","archive_url":"https://api.github.com/repos/ekylibre/ekylibre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekylibre/ekylibre/downloads","issues_url":"https://api.github.com/repos/ekylibre/ekylibre/issues{/number}","pulls_url":"https://api.github.com/repos/ekylibre/ekylibre/pulls{/number}","milestones_url":"https://api.github.com/repos/ekylibre/ekylibre/milestones{/number}","notifications_url":"https://api.github.com/repos/ekylibre/ekylibre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/labels{/name}","releases_url":"https://api.github.com/repos/ekylibre/ekylibre/releases{/id}","deployments_url":"https://api.github.com/repos/ekylibre/ekylibre/deployments","created_at":"2011-08-12T09:03:48Z","updated_at":"2016-05-09T11:37:40Z","pushed_at":"2016-05-16T17:09:21Z","git_url":"git://github.com/ekylibre/ekylibre.git","ssh_url":"git@github.com:ekylibre/ekylibre.git","clone_url":"https://github.com/ekylibre/ekylibre.git","svn_url":"https://github.com/ekylibre/ekylibre","homepage":"https://ekylibre.com","size":167899,"stargazers_count":70,"watchers_count":70,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":117,"forks":35,"open_issues":117,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640"},"html":{"href":"https://github.com/ekylibre/ekylibre/pull/640"},"issue":{"href":"https://api.github.com/repos/ekylibre/ekylibre/issues/640"},"comments":{"href":"https://api.github.com/repos/ekylibre/ekylibre/issues/640/comments"},"review_comments":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640/comments"},"review_comment":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ekylibre/ekylibre/pulls/640/commits"},"statuses":{"href":"https://api.github.com/repos/ekylibre/ekylibre/statuses/03991c0307175479f7d343fda7b1a6e99486186d"}}}}