GitHub PullRequestReviewCommentEvent at 2014-08-27 16:17:08
Repository: csv2hash
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/comments/16786184","id":16786184,"diff_hunk":"@@ -0,0 +1,21 @@\n+require_relative 'abstract'\n+\n+require 'csv'\n+\n+module Csv2hash\n+  module Adapter\n+    class CsvAdapter < Abstract\n+\n+      attr_accessor :file_path\n+\n+      def initialize file_path\n+        self.file_path = file_path\n+      end\n+\n+      def source\n+        CSV.read self.file_path","path":"lib/csv2hash/adapters/csv_adapter.rb","position":16,"original_position":16,"commit_id":"9d399e1da91ccac2e769a87354335af306928d71","original_commit_id":"9d399e1da91ccac2e769a87354335af306928d71","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=2","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","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 `self` detected.","created_at":"2014-08-27T16:17:08Z","updated_at":"2014-08-27T16:17:08Z","html_url":"https://github.com/FinalCAD/csv2hash/pull/7#discussion_r16786184","pull_request_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/comments/16786184"},"html":{"href":"https://github.com/FinalCAD/csv2hash/pull/7#discussion_r16786184"},"pull_request":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7","id":20384408,"html_url":"https://github.com/FinalCAD/csv2hash/pull/7","diff_url":"https://github.com/FinalCAD/csv2hash/pull/7.diff","patch_url":"https://github.com/FinalCAD/csv2hash/pull/7.patch","issue_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/7","number":7,"state":"open","locked":false,"title":"Adapters","user":{"login":"joel","id":5789,"avatar_url":"https://avatars.githubusercontent.com/u/5789?v=2","gravatar_id":"5d3f7d8e534a892e3029a3f3b9761de5","url":"https://api.github.com/users/joel","html_url":"https://github.com/joel","followers_url":"https://api.github.com/users/joel/followers","following_url":"https://api.github.com/users/joel/following{/other_user}","gists_url":"https://api.github.com/users/joel/gists{/gist_id}","starred_url":"https://api.github.com/users/joel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joel/subscriptions","organizations_url":"https://api.github.com/users/joel/orgs","repos_url":"https://api.github.com/users/joel/repos","events_url":"https://api.github.com/users/joel/events{/privacy}","received_events_url":"https://api.github.com/users/joel/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-08-27T16:16:54Z","updated_at":"2014-08-27T16:17:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9b6c1a769685651c2f2e9f78afc12830c791c18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7/commits","review_comments_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7/comments","review_comment_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/comments/{number}","comments_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/7/comments","statuses_url":"https://api.github.com/repos/FinalCAD/csv2hash/statuses/9d399e1da91ccac2e769a87354335af306928d71","head":{"label":"FinalCAD:adapters","ref":"adapters","sha":"9d399e1da91ccac2e769a87354335af306928d71","user":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=2","gravatar_id":null,"url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"repo":{"id":14782136,"name":"csv2hash","full_name":"FinalCAD/csv2hash","owner":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=2","gravatar_id":null,"url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FinalCAD/csv2hash","description":"Library for map Csv to Hash based on configuration","fork":false,"url":"https://api.github.com/repos/FinalCAD/csv2hash","forks_url":"https://api.github.com/repos/FinalCAD/csv2hash/forks","keys_url":"https://api.github.com/repos/FinalCAD/csv2hash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalCAD/csv2hash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalCAD/csv2hash/teams","hooks_url":"https://api.github.com/repos/FinalCAD/csv2hash/hooks","issue_events_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/events{/number}","events_url":"https://api.github.com/repos/FinalCAD/csv2hash/events","assignees_url":"https://api.github.com/repos/FinalCAD/csv2hash/assignees{/user}","branches_url":"https://api.github.com/repos/FinalCAD/csv2hash/branches{/branch}","tags_url":"https://api.github.com/repos/FinalCAD/csv2hash/tags","blobs_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalCAD/csv2hash/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalCAD/csv2hash/languages","stargazers_url":"https://api.github.com/repos/FinalCAD/csv2hash/stargazers","contributors_url":"https://api.github.com/repos/FinalCAD/csv2hash/contributors","subscribers_url":"https://api.github.com/repos/FinalCAD/csv2hash/subscribers","subscription_url":"https://api.github.com/repos/FinalCAD/csv2hash/subscription","commits_url":"https://api.github.com/repos/FinalCAD/csv2hash/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalCAD/csv2hash/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/comments/{number}","contents_url":"https://api.github.com/repos/FinalCAD/csv2hash/contents/{+path}","compare_url":"https://api.github.com/repos/FinalCAD/csv2hash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalCAD/csv2hash/merges","archive_url":"https://api.github.com/repos/FinalCAD/csv2hash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalCAD/csv2hash/downloads","issues_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues{/number}","pulls_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalCAD/csv2hash/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalCAD/csv2hash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalCAD/csv2hash/labels{/name}","releases_url":"https://api.github.com/repos/FinalCAD/csv2hash/releases{/id}","created_at":"2013-11-28T16:49:02Z","updated_at":"2014-06-05T15:22:50Z","pushed_at":"2014-08-27T16:16:40Z","git_url":"git://github.com/FinalCAD/csv2hash.git","ssh_url":"git@github.com:FinalCAD/csv2hash.git","clone_url":"https://github.com/FinalCAD/csv2hash.git","svn_url":"https://github.com/FinalCAD/csv2hash","homepage":"","size":364,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":4,"default_branch":"master"}},"base":{"label":"FinalCAD:master","ref":"master","sha":"af6ce443aa7cba25c820b26c8b67007784fb879d","user":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=2","gravatar_id":null,"url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"repo":{"id":14782136,"name":"csv2hash","full_name":"FinalCAD/csv2hash","owner":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=2","gravatar_id":null,"url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FinalCAD/csv2hash","description":"Library for map Csv to Hash based on configuration","fork":false,"url":"https://api.github.com/repos/FinalCAD/csv2hash","forks_url":"https://api.github.com/repos/FinalCAD/csv2hash/forks","keys_url":"https://api.github.com/repos/FinalCAD/csv2hash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalCAD/csv2hash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalCAD/csv2hash/teams","hooks_url":"https://api.github.com/repos/FinalCAD/csv2hash/hooks","issue_events_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/events{/number}","events_url":"https://api.github.com/repos/FinalCAD/csv2hash/events","assignees_url":"https://api.github.com/repos/FinalCAD/csv2hash/assignees{/user}","branches_url":"https://api.github.com/repos/FinalCAD/csv2hash/branches{/branch}","tags_url":"https://api.github.com/repos/FinalCAD/csv2hash/tags","blobs_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalCAD/csv2hash/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalCAD/csv2hash/languages","stargazers_url":"https://api.github.com/repos/FinalCAD/csv2hash/stargazers","contributors_url":"https://api.github.com/repos/FinalCAD/csv2hash/contributors","subscribers_url":"https://api.github.com/repos/FinalCAD/csv2hash/subscribers","subscription_url":"https://api.github.com/repos/FinalCAD/csv2hash/subscription","commits_url":"https://api.github.com/repos/FinalCAD/csv2hash/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalCAD/csv2hash/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalCAD/csv2hash/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues/comments/{number}","contents_url":"https://api.github.com/repos/FinalCAD/csv2hash/contents/{+path}","compare_url":"https://api.github.com/repos/FinalCAD/csv2hash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalCAD/csv2hash/merges","archive_url":"https://api.github.com/repos/FinalCAD/csv2hash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalCAD/csv2hash/downloads","issues_url":"https://api.github.com/repos/FinalCAD/csv2hash/issues{/number}","pulls_url":"https://api.github.com/repos/FinalCAD/csv2hash/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalCAD/csv2hash/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalCAD/csv2hash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalCAD/csv2hash/labels{/name}","releases_url":"https://api.github.com/repos/FinalCAD/csv2hash/releases{/id}","created_at":"2013-11-28T16:49:02Z","updated_at":"2014-06-05T15:22:50Z","pushed_at":"2014-08-27T16:16:40Z","git_url":"git://github.com/FinalCAD/csv2hash.git","ssh_url":"git@github.com:FinalCAD/csv2hash.git","clone_url":"https://github.com/FinalCAD/csv2hash.git","svn_url":"https://github.com/FinalCAD/csv2hash","homepage":"","size":364,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7"},"html":{"href":"https://github.com/FinalCAD/csv2hash/pull/7"},"issue":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/issues/7"},"comments":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/FinalCAD/csv2hash/statuses/9d399e1da91ccac2e769a87354335af306928d71"}}}}