{"action":"created","comment":{"url":"https://api.github.com/repos/iigethr/mies/pulls/comments/26868917","id":26868917,"diff_hunk":"@@ -0,0 +1,16 @@\n+module Admin::SlugGenerator\n+  extend ActiveSupport::Concern\n+\n+  # Slug Algorithm\n+  def generate_rand_slug(size = 8)\n+    charset = %w{n 1 u 2 m 3 e 4 r 5 o 6 l 7 o 8 g 9 y 0}\n+    (0...size).map{ charset.to_a[rand(charset.size)] }.join\n+  end\n+\n+  # Slug Generator\n+  def generate_slug\n+    begin","path":"app/models/concerns/admin/slug_generator.rb","position":12,"original_position":12,"commit_id":"c9e5499b5733afa63cb701457efc154f26b548bc","original_commit_id":"c9e5499b5733afa63cb701457efc154f26b548bc","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":"Redundant `begin` block detected.","created_at":"2015-03-20T19:24:26Z","updated_at":"2015-03-20T19:24:26Z","html_url":"https://github.com/iigethr/mies/pull/5#discussion_r26868917","pull_request_url":"https://api.github.com/repos/iigethr/mies/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/iigethr/mies/pulls/comments/26868917"},"html":{"href":"https://github.com/iigethr/mies/pull/5#discussion_r26868917"},"pull_request":{"href":"https://api.github.com/repos/iigethr/mies/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/iigethr/mies/pulls/5","id":31644162,"html_url":"https://github.com/iigethr/mies/pull/5","diff_url":"https://github.com/iigethr/mies/pull/5.diff","patch_url":"https://github.com/iigethr/mies/pull/5.patch","issue_url":"https://api.github.com/repos/iigethr/mies/issues/5","number":5,"state":"closed","locked":false,"title":"Development","user":{"login":"tonydefaria","id":724828,"avatar_url":"https://avatars.githubusercontent.com/u/724828?v=3","gravatar_id":"","url":"https://api.github.com/users/tonydefaria","html_url":"https://github.com/tonydefaria","followers_url":"https://api.github.com/users/tonydefaria/followers","following_url":"https://api.github.com/users/tonydefaria/following{/other_user}","gists_url":"https://api.github.com/users/tonydefaria/gists{/gist_id}","starred_url":"https://api.github.com/users/tonydefaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonydefaria/subscriptions","organizations_url":"https://api.github.com/users/tonydefaria/orgs","repos_url":"https://api.github.com/users/tonydefaria/repos","events_url":"https://api.github.com/users/tonydefaria/events{/privacy}","received_events_url":"https://api.github.com/users/tonydefaria/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-20T19:24:14Z","updated_at":"2015-03-20T19:24:26Z","closed_at":"2015-03-20T19:24:19Z","merged_at":"2015-03-20T19:24:19Z","merge_commit_sha":"14bd8ed66f3f8c22464dbb72f87c1567e67ab1f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iigethr/mies/pulls/5/commits","review_comments_url":"https://api.github.com/repos/iigethr/mies/pulls/5/comments","review_comment_url":"https://api.github.com/repos/iigethr/mies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iigethr/mies/issues/5/comments","statuses_url":"https://api.github.com/repos/iigethr/mies/statuses/c9e5499b5733afa63cb701457efc154f26b548bc","head":{"label":"iigethr:development","ref":"development","sha":"c9e5499b5733afa63cb701457efc154f26b548bc","user":{"login":"iigethr","id":11134934,"avatar_url":"https://avatars.githubusercontent.com/u/11134934?v=3","gravatar_id":"","url":"https://api.github.com/users/iigethr","html_url":"https://github.com/iigethr","followers_url":"https://api.github.com/users/iigethr/followers","following_url":"https://api.github.com/users/iigethr/following{/other_user}","gists_url":"https://api.github.com/users/iigethr/gists{/gist_id}","starred_url":"https://api.github.com/users/iigethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iigethr/subscriptions","organizations_url":"https://api.github.com/users/iigethr/orgs","repos_url":"https://api.github.com/users/iigethr/repos","events_url":"https://api.github.com/users/iigethr/events{/privacy}","received_events_url":"https://api.github.com/users/iigethr/received_events","type":"Organization","site_admin":false},"repo":{"id":32167588,"name":"mies","full_name":"iigethr/mies","owner":{"login":"iigethr","id":11134934,"avatar_url":"https://avatars.githubusercontent.com/u/11134934?v=3","gravatar_id":"","url":"https://api.github.com/users/iigethr","html_url":"https://github.com/iigethr","followers_url":"https://api.github.com/users/iigethr/followers","following_url":"https://api.github.com/users/iigethr/following{/other_user}","gists_url":"https://api.github.com/users/iigethr/gists{/gist_id}","starred_url":"https://api.github.com/users/iigethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iigethr/subscriptions","organizations_url":"https://api.github.com/users/iigethr/orgs","repos_url":"https://api.github.com/users/iigethr/repos","events_url":"https://api.github.com/users/iigethr/events{/privacy}","received_events_url":"https://api.github.com/users/iigethr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iigethr/mies","description":"Startup Box for Ruby on Rails Projects","fork":false,"url":"https://api.github.com/repos/iigethr/mies","forks_url":"https://api.github.com/repos/iigethr/mies/forks","keys_url":"https://api.github.com/repos/iigethr/mies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iigethr/mies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iigethr/mies/teams","hooks_url":"https://api.github.com/repos/iigethr/mies/hooks","issue_events_url":"https://api.github.com/repos/iigethr/mies/issues/events{/number}","events_url":"https://api.github.com/repos/iigethr/mies/events","assignees_url":"https://api.github.com/repos/iigethr/mies/assignees{/user}","branches_url":"https://api.github.com/repos/iigethr/mies/branches{/branch}","tags_url":"https://api.github.com/repos/iigethr/mies/tags","blobs_url":"https://api.github.com/repos/iigethr/mies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iigethr/mies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iigethr/mies/git/refs{/sha}","trees_url":"https://api.github.com/repos/iigethr/mies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iigethr/mies/statuses/{sha}","languages_url":"https://api.github.com/repos/iigethr/mies/languages","stargazers_url":"https://api.github.com/repos/iigethr/mies/stargazers","contributors_url":"https://api.github.com/repos/iigethr/mies/contributors","subscribers_url":"https://api.github.com/repos/iigethr/mies/subscribers","subscription_url":"https://api.github.com/repos/iigethr/mies/subscription","commits_url":"https://api.github.com/repos/iigethr/mies/commits{/sha}","git_commits_url":"https://api.github.com/repos/iigethr/mies/git/commits{/sha}","comments_url":"https://api.github.com/repos/iigethr/mies/comments{/number}","issue_comment_url":"https://api.github.com/repos/iigethr/mies/issues/comments{/number}","contents_url":"https://api.github.com/repos/iigethr/mies/contents/{+path}","compare_url":"https://api.github.com/repos/iigethr/mies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iigethr/mies/merges","archive_url":"https://api.github.com/repos/iigethr/mies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iigethr/mies/downloads","issues_url":"https://api.github.com/repos/iigethr/mies/issues{/number}","pulls_url":"https://api.github.com/repos/iigethr/mies/pulls{/number}","milestones_url":"https://api.github.com/repos/iigethr/mies/milestones{/number}","notifications_url":"https://api.github.com/repos/iigethr/mies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iigethr/mies/labels{/name}","releases_url":"https://api.github.com/repos/iigethr/mies/releases{/id}","created_at":"2015-03-13T16:37:06Z","updated_at":"2015-03-13T17:07:16Z","pushed_at":"2015-03-20T19:24:19Z","git_url":"git://github.com/iigethr/mies.git","ssh_url":"git@github.com:iigethr/mies.git","clone_url":"https://github.com/iigethr/mies.git","svn_url":"https://github.com/iigethr/mies","homepage":null,"size":204,"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":"iigethr:staging","ref":"staging","sha":"f5e501cc90d90c4b595149b24f9a01f70805199c","user":{"login":"iigethr","id":11134934,"avatar_url":"https://avatars.githubusercontent.com/u/11134934?v=3","gravatar_id":"","url":"https://api.github.com/users/iigethr","html_url":"https://github.com/iigethr","followers_url":"https://api.github.com/users/iigethr/followers","following_url":"https://api.github.com/users/iigethr/following{/other_user}","gists_url":"https://api.github.com/users/iigethr/gists{/gist_id}","starred_url":"https://api.github.com/users/iigethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iigethr/subscriptions","organizations_url":"https://api.github.com/users/iigethr/orgs","repos_url":"https://api.github.com/users/iigethr/repos","events_url":"https://api.github.com/users/iigethr/events{/privacy}","received_events_url":"https://api.github.com/users/iigethr/received_events","type":"Organization","site_admin":false},"repo":{"id":32167588,"name":"mies","full_name":"iigethr/mies","owner":{"login":"iigethr","id":11134934,"avatar_url":"https://avatars.githubusercontent.com/u/11134934?v=3","gravatar_id":"","url":"https://api.github.com/users/iigethr","html_url":"https://github.com/iigethr","followers_url":"https://api.github.com/users/iigethr/followers","following_url":"https://api.github.com/users/iigethr/following{/other_user}","gists_url":"https://api.github.com/users/iigethr/gists{/gist_id}","starred_url":"https://api.github.com/users/iigethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iigethr/subscriptions","organizations_url":"https://api.github.com/users/iigethr/orgs","repos_url":"https://api.github.com/users/iigethr/repos","events_url":"https://api.github.com/users/iigethr/events{/privacy}","received_events_url":"https://api.github.com/users/iigethr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iigethr/mies","description":"Startup Box for Ruby on Rails Projects","fork":false,"url":"https://api.github.com/repos/iigethr/mies","forks_url":"https://api.github.com/repos/iigethr/mies/forks","keys_url":"https://api.github.com/repos/iigethr/mies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iigethr/mies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iigethr/mies/teams","hooks_url":"https://api.github.com/repos/iigethr/mies/hooks","issue_events_url":"https://api.github.com/repos/iigethr/mies/issues/events{/number}","events_url":"https://api.github.com/repos/iigethr/mies/events","assignees_url":"https://api.github.com/repos/iigethr/mies/assignees{/user}","branches_url":"https://api.github.com/repos/iigethr/mies/branches{/branch}","tags_url":"https://api.github.com/repos/iigethr/mies/tags","blobs_url":"https://api.github.com/repos/iigethr/mies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iigethr/mies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iigethr/mies/git/refs{/sha}","trees_url":"https://api.github.com/repos/iigethr/mies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iigethr/mies/statuses/{sha}","languages_url":"https://api.github.com/repos/iigethr/mies/languages","stargazers_url":"https://api.github.com/repos/iigethr/mies/stargazers","contributors_url":"https://api.github.com/repos/iigethr/mies/contributors","subscribers_url":"https://api.github.com/repos/iigethr/mies/subscribers","subscription_url":"https://api.github.com/repos/iigethr/mies/subscription","commits_url":"https://api.github.com/repos/iigethr/mies/commits{/sha}","git_commits_url":"https://api.github.com/repos/iigethr/mies/git/commits{/sha}","comments_url":"https://api.github.com/repos/iigethr/mies/comments{/number}","issue_comment_url":"https://api.github.com/repos/iigethr/mies/issues/comments{/number}","contents_url":"https://api.github.com/repos/iigethr/mies/contents/{+path}","compare_url":"https://api.github.com/repos/iigethr/mies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iigethr/mies/merges","archive_url":"https://api.github.com/repos/iigethr/mies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iigethr/mies/downloads","issues_url":"https://api.github.com/repos/iigethr/mies/issues{/number}","pulls_url":"https://api.github.com/repos/iigethr/mies/pulls{/number}","milestones_url":"https://api.github.com/repos/iigethr/mies/milestones{/number}","notifications_url":"https://api.github.com/repos/iigethr/mies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iigethr/mies/labels{/name}","releases_url":"https://api.github.com/repos/iigethr/mies/releases{/id}","created_at":"2015-03-13T16:37:06Z","updated_at":"2015-03-13T17:07:16Z","pushed_at":"2015-03-20T19:24:19Z","git_url":"git://github.com/iigethr/mies.git","ssh_url":"git@github.com:iigethr/mies.git","clone_url":"https://github.com/iigethr/mies.git","svn_url":"https://github.com/iigethr/mies","homepage":null,"size":204,"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/iigethr/mies/pulls/5"},"html":{"href":"https://github.com/iigethr/mies/pull/5"},"issue":{"href":"https://api.github.com/repos/iigethr/mies/issues/5"},"comments":{"href":"https://api.github.com/repos/iigethr/mies/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/iigethr/mies/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/iigethr/mies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iigethr/mies/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/iigethr/mies/statuses/c9e5499b5733afa63cb701457efc154f26b548bc"}}}}