{"action":"created","comment":{"url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/comments/54329887","id":54329887,"diff_hunk":"@@ -159,6 +159,38 @@\n     end\n   end\n   \n+  context \"::magic\" do\n+    it \"creates a matrix with numbers from 1 to n^n(n squared)\" do","path":"spec/shortcuts_spec.rb","position":5,"original_position":5,"commit_id":"da83dbc022f31d3c554733a7544b8c6cc5d40a9d","original_commit_id":"da83dbc022f31d3c554733a7544b8c6cc5d40a9d","user":{"login":"Arafatk","id":11155207,"avatar_url":"https://avatars.githubusercontent.com/u/11155207?v=3","gravatar_id":"","url":"https://api.github.com/users/Arafatk","html_url":"https://github.com/Arafatk","followers_url":"https://api.github.com/users/Arafatk/followers","following_url":"https://api.github.com/users/Arafatk/following{/other_user}","gists_url":"https://api.github.com/users/Arafatk/gists{/gist_id}","starred_url":"https://api.github.com/users/Arafatk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arafatk/subscriptions","organizations_url":"https://api.github.com/users/Arafatk/orgs","repos_url":"https://api.github.com/users/Arafatk/repos","events_url":"https://api.github.com/users/Arafatk/events{/privacy}","received_events_url":"https://api.github.com/users/Arafatk/received_events","type":"User","site_admin":false},"body":"@shahsaurabh0605 I believe the other data types are  `:int16,:int32,:int64` .  So Adding something similar to   \r\n`data_types=[:int8,:int16,:int32,:int64]`\r\n    `data_types.each do |dtype|` will help you run the spec tests for all data types. ","created_at":"2016-02-27T07:29:11Z","updated_at":"2016-02-27T07:29:11Z","html_url":"https://github.com/SciRuby/nmatrix/pull/467#discussion_r54329887","pull_request_url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467","_links":{"self":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/comments/54329887"},"html":{"href":"https://github.com/SciRuby/nmatrix/pull/467#discussion_r54329887"},"pull_request":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467"}}},"pull_request":{"url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467","id":59957930,"html_url":"https://github.com/SciRuby/nmatrix/pull/467","diff_url":"https://github.com/SciRuby/nmatrix/pull/467.diff","patch_url":"https://github.com/SciRuby/nmatrix/pull/467.patch","issue_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/467","number":467,"state":"open","locked":false,"title":"Issue #466 Add NMatrix#magic function","user":{"login":"shahsaurabh0605","id":11133421,"avatar_url":"https://avatars.githubusercontent.com/u/11133421?v=3","gravatar_id":"","url":"https://api.github.com/users/shahsaurabh0605","html_url":"https://github.com/shahsaurabh0605","followers_url":"https://api.github.com/users/shahsaurabh0605/followers","following_url":"https://api.github.com/users/shahsaurabh0605/following{/other_user}","gists_url":"https://api.github.com/users/shahsaurabh0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shahsaurabh0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahsaurabh0605/subscriptions","organizations_url":"https://api.github.com/users/shahsaurabh0605/orgs","repos_url":"https://api.github.com/users/shahsaurabh0605/repos","events_url":"https://api.github.com/users/shahsaurabh0605/events{/privacy}","received_events_url":"https://api.github.com/users/shahsaurabh0605/received_events","type":"User","site_admin":false},"body":"Implemented the magic function as described in the issue [#466](https://github.com/SciRuby/nmatrix/issues/466).","created_at":"2016-02-19T14:44:40Z","updated_at":"2016-02-27T07:29:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f39075926803b39e0eabb75d7afd40b1c9a8e90d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467/commits","review_comments_url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467/comments","review_comment_url":"https://api.github.com/repos/SciRuby/nmatrix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/467/comments","statuses_url":"https://api.github.com/repos/SciRuby/nmatrix/statuses/da83dbc022f31d3c554733a7544b8c6cc5d40a9d","head":{"label":"shahsaurabh0605:diverged","ref":"diverged","sha":"da83dbc022f31d3c554733a7544b8c6cc5d40a9d","user":{"login":"shahsaurabh0605","id":11133421,"avatar_url":"https://avatars.githubusercontent.com/u/11133421?v=3","gravatar_id":"","url":"https://api.github.com/users/shahsaurabh0605","html_url":"https://github.com/shahsaurabh0605","followers_url":"https://api.github.com/users/shahsaurabh0605/followers","following_url":"https://api.github.com/users/shahsaurabh0605/following{/other_user}","gists_url":"https://api.github.com/users/shahsaurabh0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shahsaurabh0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahsaurabh0605/subscriptions","organizations_url":"https://api.github.com/users/shahsaurabh0605/orgs","repos_url":"https://api.github.com/users/shahsaurabh0605/repos","events_url":"https://api.github.com/users/shahsaurabh0605/events{/privacy}","received_events_url":"https://api.github.com/users/shahsaurabh0605/received_events","type":"User","site_admin":false},"repo":{"id":50672057,"name":"nmatrix","full_name":"shahsaurabh0605/nmatrix","owner":{"login":"shahsaurabh0605","id":11133421,"avatar_url":"https://avatars.githubusercontent.com/u/11133421?v=3","gravatar_id":"","url":"https://api.github.com/users/shahsaurabh0605","html_url":"https://github.com/shahsaurabh0605","followers_url":"https://api.github.com/users/shahsaurabh0605/followers","following_url":"https://api.github.com/users/shahsaurabh0605/following{/other_user}","gists_url":"https://api.github.com/users/shahsaurabh0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shahsaurabh0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahsaurabh0605/subscriptions","organizations_url":"https://api.github.com/users/shahsaurabh0605/orgs","repos_url":"https://api.github.com/users/shahsaurabh0605/repos","events_url":"https://api.github.com/users/shahsaurabh0605/events{/privacy}","received_events_url":"https://api.github.com/users/shahsaurabh0605/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shahsaurabh0605/nmatrix","description":"Dense and sparse linear algebra library for Ruby via SciRuby","fork":true,"url":"https://api.github.com/repos/shahsaurabh0605/nmatrix","forks_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/forks","keys_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/teams","hooks_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/hooks","issue_events_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/issues/events{/number}","events_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/events","assignees_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/assignees{/user}","branches_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/branches{/branch}","tags_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/tags","blobs_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/statuses/{sha}","languages_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/languages","stargazers_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/stargazers","contributors_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/contributors","subscribers_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/subscribers","subscription_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/subscription","commits_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/issues/comments{/number}","contents_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/contents/{+path}","compare_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/merges","archive_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/downloads","issues_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/issues{/number}","pulls_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/pulls{/number}","milestones_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/milestones{/number}","notifications_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/labels{/name}","releases_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/releases{/id}","deployments_url":"https://api.github.com/repos/shahsaurabh0605/nmatrix/deployments","created_at":"2016-01-29T15:43:04Z","updated_at":"2016-01-29T15:43:06Z","pushed_at":"2016-02-23T14:18:30Z","git_url":"git://github.com/shahsaurabh0605/nmatrix.git","ssh_url":"git@github.com:shahsaurabh0605/nmatrix.git","clone_url":"https://github.com/shahsaurabh0605/nmatrix.git","svn_url":"https://github.com/shahsaurabh0605/nmatrix","homepage":"","size":7590,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":"SciRuby:master","ref":"master","sha":"4637d225801b7946440390b1b56c82d0223ef273","user":{"login":"SciRuby","id":550805,"avatar_url":"https://avatars.githubusercontent.com/u/550805?v=3","gravatar_id":"","url":"https://api.github.com/users/SciRuby","html_url":"https://github.com/SciRuby","followers_url":"https://api.github.com/users/SciRuby/followers","following_url":"https://api.github.com/users/SciRuby/following{/other_user}","gists_url":"https://api.github.com/users/SciRuby/gists{/gist_id}","starred_url":"https://api.github.com/users/SciRuby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciRuby/subscriptions","organizations_url":"https://api.github.com/users/SciRuby/orgs","repos_url":"https://api.github.com/users/SciRuby/repos","events_url":"https://api.github.com/users/SciRuby/events{/privacy}","received_events_url":"https://api.github.com/users/SciRuby/received_events","type":"Organization","site_admin":false},"repo":{"id":3988087,"name":"nmatrix","full_name":"SciRuby/nmatrix","owner":{"login":"SciRuby","id":550805,"avatar_url":"https://avatars.githubusercontent.com/u/550805?v=3","gravatar_id":"","url":"https://api.github.com/users/SciRuby","html_url":"https://github.com/SciRuby","followers_url":"https://api.github.com/users/SciRuby/followers","following_url":"https://api.github.com/users/SciRuby/following{/other_user}","gists_url":"https://api.github.com/users/SciRuby/gists{/gist_id}","starred_url":"https://api.github.com/users/SciRuby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciRuby/subscriptions","organizations_url":"https://api.github.com/users/SciRuby/orgs","repos_url":"https://api.github.com/users/SciRuby/repos","events_url":"https://api.github.com/users/SciRuby/events{/privacy}","received_events_url":"https://api.github.com/users/SciRuby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciRuby/nmatrix","description":"Dense and sparse linear algebra library for Ruby via SciRuby","fork":true,"url":"https://api.github.com/repos/SciRuby/nmatrix","forks_url":"https://api.github.com/repos/SciRuby/nmatrix/forks","keys_url":"https://api.github.com/repos/SciRuby/nmatrix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciRuby/nmatrix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciRuby/nmatrix/teams","hooks_url":"https://api.github.com/repos/SciRuby/nmatrix/hooks","issue_events_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/events{/number}","events_url":"https://api.github.com/repos/SciRuby/nmatrix/events","assignees_url":"https://api.github.com/repos/SciRuby/nmatrix/assignees{/user}","branches_url":"https://api.github.com/repos/SciRuby/nmatrix/branches{/branch}","tags_url":"https://api.github.com/repos/SciRuby/nmatrix/tags","blobs_url":"https://api.github.com/repos/SciRuby/nmatrix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciRuby/nmatrix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciRuby/nmatrix/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciRuby/nmatrix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciRuby/nmatrix/statuses/{sha}","languages_url":"https://api.github.com/repos/SciRuby/nmatrix/languages","stargazers_url":"https://api.github.com/repos/SciRuby/nmatrix/stargazers","contributors_url":"https://api.github.com/repos/SciRuby/nmatrix/contributors","subscribers_url":"https://api.github.com/repos/SciRuby/nmatrix/subscribers","subscription_url":"https://api.github.com/repos/SciRuby/nmatrix/subscription","commits_url":"https://api.github.com/repos/SciRuby/nmatrix/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciRuby/nmatrix/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciRuby/nmatrix/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciRuby/nmatrix/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciRuby/nmatrix/contents/{+path}","compare_url":"https://api.github.com/repos/SciRuby/nmatrix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciRuby/nmatrix/merges","archive_url":"https://api.github.com/repos/SciRuby/nmatrix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciRuby/nmatrix/downloads","issues_url":"https://api.github.com/repos/SciRuby/nmatrix/issues{/number}","pulls_url":"https://api.github.com/repos/SciRuby/nmatrix/pulls{/number}","milestones_url":"https://api.github.com/repos/SciRuby/nmatrix/milestones{/number}","notifications_url":"https://api.github.com/repos/SciRuby/nmatrix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciRuby/nmatrix/labels{/name}","releases_url":"https://api.github.com/repos/SciRuby/nmatrix/releases{/id}","deployments_url":"https://api.github.com/repos/SciRuby/nmatrix/deployments","created_at":"2012-04-10T23:05:34Z","updated_at":"2016-02-25T09:51:47Z","pushed_at":"2016-02-26T19:42:06Z","git_url":"git://github.com/SciRuby/nmatrix.git","ssh_url":"git@github.com:SciRuby/nmatrix.git","clone_url":"https://github.com/SciRuby/nmatrix.git","svn_url":"https://github.com/SciRuby/nmatrix","homepage":"","size":8059,"stargazers_count":295,"watchers_count":295,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":67,"forks":93,"open_issues":67,"watchers":295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467"},"html":{"href":"https://github.com/SciRuby/nmatrix/pull/467"},"issue":{"href":"https://api.github.com/repos/SciRuby/nmatrix/issues/467"},"comments":{"href":"https://api.github.com/repos/SciRuby/nmatrix/issues/467/comments"},"review_comments":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467/comments"},"review_comment":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciRuby/nmatrix/pulls/467/commits"},"statuses":{"href":"https://api.github.com/repos/SciRuby/nmatrix/statuses/da83dbc022f31d3c554733a7544b8c6cc5d40a9d"}}}}