{"action":"created","comment":{"url":"https://api.github.com/repos/symengine/symengine.rb/pulls/comments/64555843","id":64555843,"diff_hunk":"@@ -0,0 +1,24 @@\n+require 'spec_helper'\n+\n+describe SymEngine do\n+  describe SymEngine::Complex do\n+    describe '.new' do\n+      context 'with a Ruby Complex object as input' do\n+        it 'returns an instance of SymEngine::Complex class' do\n+          a = Complex(2, 3)\n+          a = SymEngine::sympify(a)\n+          expect(a).to be_a SymEngine::Complex\n+          expect(a.to_s).to eq('2 + 3*I')\n+        end\n+      end\n+      context 'with a Ruby Integer as input' do\n+        it 'returns an instance of SymEngine::Integer class' do\n+          a = Complex(2, 0);\n+          a = SymEngine::sympify(a)\n+          expect(a).to be_a SymEngine::Integer","path":"spec/complex_spec.rb","position":18,"original_position":18,"commit_id":"cb283838627f61dc28604cae0523528fe457021e","original_commit_id":"cb283838627f61dc28604cae0523528fe457021e","user":{"login":"abinashmeher999","id":6918379,"avatar_url":"https://avatars.githubusercontent.com/u/6918379?v=3","gravatar_id":"","url":"https://api.github.com/users/abinashmeher999","html_url":"https://github.com/abinashmeher999","followers_url":"https://api.github.com/users/abinashmeher999/followers","following_url":"https://api.github.com/users/abinashmeher999/following{/other_user}","gists_url":"https://api.github.com/users/abinashmeher999/gists{/gist_id}","starred_url":"https://api.github.com/users/abinashmeher999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinashmeher999/subscriptions","organizations_url":"https://api.github.com/users/abinashmeher999/orgs","repos_url":"https://api.github.com/users/abinashmeher999/repos","events_url":"https://api.github.com/users/abinashmeher999/events{/privacy}","received_events_url":"https://api.github.com/users/abinashmeher999/received_events","type":"User","site_admin":false},"body":"Yes. I pointed that out because the description of the test didn't match with what you were asserting.","created_at":"2016-05-25T11:24:57Z","updated_at":"2016-05-25T11:24:57Z","html_url":"https://github.com/symengine/symengine.rb/pull/39#discussion_r64555843","pull_request_url":"https://api.github.com/repos/symengine/symengine.rb/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/comments/64555843"},"html":{"href":"https://github.com/symengine/symengine.rb/pull/39#discussion_r64555843"},"pull_request":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/symengine/symengine.rb/pulls/39","id":71163149,"html_url":"https://github.com/symengine/symengine.rb/pull/39","diff_url":"https://github.com/symengine/symengine.rb/pull/39.diff","patch_url":"https://github.com/symengine/symengine.rb/pull/39.patch","issue_url":"https://api.github.com/repos/symengine/symengine.rb/issues/39","number":39,"state":"open","locked":false,"title":"[WIP] Complex class","user":{"login":"abinashmeher999","id":6918379,"avatar_url":"https://avatars.githubusercontent.com/u/6918379?v=3","gravatar_id":"","url":"https://api.github.com/users/abinashmeher999","html_url":"https://github.com/abinashmeher999","followers_url":"https://api.github.com/users/abinashmeher999/followers","following_url":"https://api.github.com/users/abinashmeher999/following{/other_user}","gists_url":"https://api.github.com/users/abinashmeher999/gists{/gist_id}","starred_url":"https://api.github.com/users/abinashmeher999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinashmeher999/subscriptions","organizations_url":"https://api.github.com/users/abinashmeher999/orgs","repos_url":"https://api.github.com/users/abinashmeher999/repos","events_url":"https://api.github.com/users/abinashmeher999/events{/privacy}","received_events_url":"https://api.github.com/users/abinashmeher999/received_events","type":"User","site_admin":false},"body":"@rajithv Please open up a WIP PR from now on whenever you start working on something. That way if you run into a problem, all the conversations can happen there.","created_at":"2016-05-24T06:19:10Z","updated_at":"2016-05-25T11:24:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42c3d4b0b51be61673e0312eae3301c0141e7fea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symengine/symengine.rb/pulls/39/commits","review_comments_url":"https://api.github.com/repos/symengine/symengine.rb/pulls/39/comments","review_comment_url":"https://api.github.com/repos/symengine/symengine.rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symengine/symengine.rb/issues/39/comments","statuses_url":"https://api.github.com/repos/symengine/symengine.rb/statuses/cb283838627f61dc28604cae0523528fe457021e","head":{"label":"rajithv:complex","ref":"complex","sha":"cb283838627f61dc28604cae0523528fe457021e","user":{"login":"rajithv","id":1919055,"avatar_url":"https://avatars.githubusercontent.com/u/1919055?v=3","gravatar_id":"","url":"https://api.github.com/users/rajithv","html_url":"https://github.com/rajithv","followers_url":"https://api.github.com/users/rajithv/followers","following_url":"https://api.github.com/users/rajithv/following{/other_user}","gists_url":"https://api.github.com/users/rajithv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajithv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajithv/subscriptions","organizations_url":"https://api.github.com/users/rajithv/orgs","repos_url":"https://api.github.com/users/rajithv/repos","events_url":"https://api.github.com/users/rajithv/events{/privacy}","received_events_url":"https://api.github.com/users/rajithv/received_events","type":"User","site_admin":false},"repo":{"id":51740728,"name":"symengine.rb","full_name":"rajithv/symengine.rb","owner":{"login":"rajithv","id":1919055,"avatar_url":"https://avatars.githubusercontent.com/u/1919055?v=3","gravatar_id":"","url":"https://api.github.com/users/rajithv","html_url":"https://github.com/rajithv","followers_url":"https://api.github.com/users/rajithv/followers","following_url":"https://api.github.com/users/rajithv/following{/other_user}","gists_url":"https://api.github.com/users/rajithv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajithv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajithv/subscriptions","organizations_url":"https://api.github.com/users/rajithv/orgs","repos_url":"https://api.github.com/users/rajithv/repos","events_url":"https://api.github.com/users/rajithv/events{/privacy}","received_events_url":"https://api.github.com/users/rajithv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rajithv/symengine.rb","description":"Ruby wrappers for SymEngine","fork":true,"url":"https://api.github.com/repos/rajithv/symengine.rb","forks_url":"https://api.github.com/repos/rajithv/symengine.rb/forks","keys_url":"https://api.github.com/repos/rajithv/symengine.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rajithv/symengine.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rajithv/symengine.rb/teams","hooks_url":"https://api.github.com/repos/rajithv/symengine.rb/hooks","issue_events_url":"https://api.github.com/repos/rajithv/symengine.rb/issues/events{/number}","events_url":"https://api.github.com/repos/rajithv/symengine.rb/events","assignees_url":"https://api.github.com/repos/rajithv/symengine.rb/assignees{/user}","branches_url":"https://api.github.com/repos/rajithv/symengine.rb/branches{/branch}","tags_url":"https://api.github.com/repos/rajithv/symengine.rb/tags","blobs_url":"https://api.github.com/repos/rajithv/symengine.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rajithv/symengine.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rajithv/symengine.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/rajithv/symengine.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rajithv/symengine.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/rajithv/symengine.rb/languages","stargazers_url":"https://api.github.com/repos/rajithv/symengine.rb/stargazers","contributors_url":"https://api.github.com/repos/rajithv/symengine.rb/contributors","subscribers_url":"https://api.github.com/repos/rajithv/symengine.rb/subscribers","subscription_url":"https://api.github.com/repos/rajithv/symengine.rb/subscription","commits_url":"https://api.github.com/repos/rajithv/symengine.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/rajithv/symengine.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/rajithv/symengine.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/rajithv/symengine.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/rajithv/symengine.rb/contents/{+path}","compare_url":"https://api.github.com/repos/rajithv/symengine.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rajithv/symengine.rb/merges","archive_url":"https://api.github.com/repos/rajithv/symengine.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rajithv/symengine.rb/downloads","issues_url":"https://api.github.com/repos/rajithv/symengine.rb/issues{/number}","pulls_url":"https://api.github.com/repos/rajithv/symengine.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/rajithv/symengine.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/rajithv/symengine.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rajithv/symengine.rb/labels{/name}","releases_url":"https://api.github.com/repos/rajithv/symengine.rb/releases{/id}","deployments_url":"https://api.github.com/repos/rajithv/symengine.rb/deployments","created_at":"2016-02-15T08:21:49Z","updated_at":"2016-02-15T08:21:50Z","pushed_at":"2016-05-25T10:24:43Z","git_url":"git://github.com/rajithv/symengine.rb.git","ssh_url":"git@github.com:rajithv/symengine.rb.git","clone_url":"https://github.com/rajithv/symengine.rb.git","svn_url":"https://github.com/rajithv/symengine.rb","homepage":"","size":144,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"symengine:master","ref":"master","sha":"7ea8a63135b1b806dceab3be1a85c34d6dfd31a0","user":{"login":"symengine","id":11509221,"avatar_url":"https://avatars.githubusercontent.com/u/11509221?v=3","gravatar_id":"","url":"https://api.github.com/users/symengine","html_url":"https://github.com/symengine","followers_url":"https://api.github.com/users/symengine/followers","following_url":"https://api.github.com/users/symengine/following{/other_user}","gists_url":"https://api.github.com/users/symengine/gists{/gist_id}","starred_url":"https://api.github.com/users/symengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symengine/subscriptions","organizations_url":"https://api.github.com/users/symengine/orgs","repos_url":"https://api.github.com/users/symengine/repos","events_url":"https://api.github.com/users/symengine/events{/privacy}","received_events_url":"https://api.github.com/users/symengine/received_events","type":"Organization","site_admin":false},"repo":{"id":41341895,"name":"symengine.rb","full_name":"symengine/symengine.rb","owner":{"login":"symengine","id":11509221,"avatar_url":"https://avatars.githubusercontent.com/u/11509221?v=3","gravatar_id":"","url":"https://api.github.com/users/symengine","html_url":"https://github.com/symengine","followers_url":"https://api.github.com/users/symengine/followers","following_url":"https://api.github.com/users/symengine/following{/other_user}","gists_url":"https://api.github.com/users/symengine/gists{/gist_id}","starred_url":"https://api.github.com/users/symengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symengine/subscriptions","organizations_url":"https://api.github.com/users/symengine/orgs","repos_url":"https://api.github.com/users/symengine/repos","events_url":"https://api.github.com/users/symengine/events{/privacy}","received_events_url":"https://api.github.com/users/symengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symengine/symengine.rb","description":"Ruby wrappers for SymEngine","fork":false,"url":"https://api.github.com/repos/symengine/symengine.rb","forks_url":"https://api.github.com/repos/symengine/symengine.rb/forks","keys_url":"https://api.github.com/repos/symengine/symengine.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symengine/symengine.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symengine/symengine.rb/teams","hooks_url":"https://api.github.com/repos/symengine/symengine.rb/hooks","issue_events_url":"https://api.github.com/repos/symengine/symengine.rb/issues/events{/number}","events_url":"https://api.github.com/repos/symengine/symengine.rb/events","assignees_url":"https://api.github.com/repos/symengine/symengine.rb/assignees{/user}","branches_url":"https://api.github.com/repos/symengine/symengine.rb/branches{/branch}","tags_url":"https://api.github.com/repos/symengine/symengine.rb/tags","blobs_url":"https://api.github.com/repos/symengine/symengine.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symengine/symengine.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symengine/symengine.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/symengine/symengine.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symengine/symengine.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/symengine/symengine.rb/languages","stargazers_url":"https://api.github.com/repos/symengine/symengine.rb/stargazers","contributors_url":"https://api.github.com/repos/symengine/symengine.rb/contributors","subscribers_url":"https://api.github.com/repos/symengine/symengine.rb/subscribers","subscription_url":"https://api.github.com/repos/symengine/symengine.rb/subscription","commits_url":"https://api.github.com/repos/symengine/symengine.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/symengine/symengine.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/symengine/symengine.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/symengine/symengine.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/symengine/symengine.rb/contents/{+path}","compare_url":"https://api.github.com/repos/symengine/symengine.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symengine/symengine.rb/merges","archive_url":"https://api.github.com/repos/symengine/symengine.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symengine/symengine.rb/downloads","issues_url":"https://api.github.com/repos/symengine/symengine.rb/issues{/number}","pulls_url":"https://api.github.com/repos/symengine/symengine.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/symengine/symengine.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/symengine/symengine.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symengine/symengine.rb/labels{/name}","releases_url":"https://api.github.com/repos/symengine/symengine.rb/releases{/id}","deployments_url":"https://api.github.com/repos/symengine/symengine.rb/deployments","created_at":"2015-08-25T03:56:20Z","updated_at":"2016-04-24T11:55:57Z","pushed_at":"2016-05-25T10:24:45Z","git_url":"git://github.com/symengine/symengine.rb.git","ssh_url":"git@github.com:symengine/symengine.rb.git","clone_url":"https://github.com/symengine/symengine.rb.git","svn_url":"https://github.com/symengine/symengine.rb","homepage":"","size":127,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":15,"forks":9,"open_issues":15,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/39"},"html":{"href":"https://github.com/symengine/symengine.rb/pull/39"},"issue":{"href":"https://api.github.com/repos/symengine/symengine.rb/issues/39"},"comments":{"href":"https://api.github.com/repos/symengine/symengine.rb/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symengine/symengine.rb/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/symengine/symengine.rb/statuses/cb283838627f61dc28604cae0523528fe457021e"}}}}
{"actor":{"display_login":"abinashmeher999"}}