{"action":"created","comment":{"url":"https://api.github.com/repos/metaicg/fatbunny/pulls/comments/67524377","id":67524377,"diff_hunk":"@@ -0,0 +1,44 @@\n+require 'spec_helper'\n+require 'fatbunny/marshallers/json_marshaller'\n+require 'json'\n+\n+RSpec.describe FatBunny::JsonMarshaller do\n+\n+  subject { FatBunny::JsonMarshaller }\n+\n+  describe \".marshall\" do\n+    let(:ruby_object) { {'a' => 123, 'b' => \"a string\"} }\n+\n+    it \"returns a JSON object, i.e., a string\" do\n+      expect(subject.marshall(ruby_object)).to be_instance_of(String)\n+    end\n+\n+    it \"returns an equivalent JSON object\" do\n+      json = subject.marshall(ruby_object)\n+\n+      expect(JSON.load(json)).to eq(ruby_object)","path":"spec/unit/fatbunny/marshallers/json_marshaller_spec.rb","position":19,"original_position":19,"commit_id":"4151849c17e049577c7e6289f7cdc3a766665537","original_commit_id":"106f6915989e2c6d6e4d7060bc0069e02ba56a72","user":{"login":"jcmfernandes","id":1144866,"avatar_url":"https://avatars.githubusercontent.com/u/1144866?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmfernandes","html_url":"https://github.com/jcmfernandes","followers_url":"https://api.github.com/users/jcmfernandes/followers","following_url":"https://api.github.com/users/jcmfernandes/following{/other_user}","gists_url":"https://api.github.com/users/jcmfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmfernandes/subscriptions","organizations_url":"https://api.github.com/users/jcmfernandes/orgs","repos_url":"https://api.github.com/users/jcmfernandes/repos","events_url":"https://api.github.com/users/jcmfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/jcmfernandes/received_events","type":"User","site_admin":false},"body":"Read https://github.com/metaicg/fatbunny/pull/4#discussion_r67523209","created_at":"2016-06-17T15:02:37Z","updated_at":"2016-06-17T15:02:37Z","html_url":"https://github.com/metaicg/fatbunny/pull/4#discussion_r67524377","pull_request_url":"https://api.github.com/repos/metaicg/fatbunny/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/comments/67524377"},"html":{"href":"https://github.com/metaicg/fatbunny/pull/4#discussion_r67524377"},"pull_request":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/metaicg/fatbunny/pulls/4","id":71982791,"html_url":"https://github.com/metaicg/fatbunny/pull/4","diff_url":"https://github.com/metaicg/fatbunny/pull/4.diff","patch_url":"https://github.com/metaicg/fatbunny/pull/4.patch","issue_url":"https://api.github.com/repos/metaicg/fatbunny/issues/4","number":4,"state":"open","locked":false,"title":"Add message emitter and RPC system","user":{"login":"jcmfernandes","id":1144866,"avatar_url":"https://avatars.githubusercontent.com/u/1144866?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmfernandes","html_url":"https://github.com/jcmfernandes","followers_url":"https://api.github.com/users/jcmfernandes/followers","following_url":"https://api.github.com/users/jcmfernandes/following{/other_user}","gists_url":"https://api.github.com/users/jcmfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmfernandes/subscriptions","organizations_url":"https://api.github.com/users/jcmfernandes/orgs","repos_url":"https://api.github.com/users/jcmfernandes/repos","events_url":"https://api.github.com/users/jcmfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/jcmfernandes/received_events","type":"User","site_admin":false},"body":"Closes #1\r\nCloses #2\r\nCloses #3","created_at":"2016-05-31T09:19:24Z","updated_at":"2016-06-17T15:02:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8deb01ba0e79adf2b748b5be7564ba86e8eb6fb8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/metaicg/fatbunny/pulls/4/commits","review_comments_url":"https://api.github.com/repos/metaicg/fatbunny/pulls/4/comments","review_comment_url":"https://api.github.com/repos/metaicg/fatbunny/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metaicg/fatbunny/issues/4/comments","statuses_url":"https://api.github.com/repos/metaicg/fatbunny/statuses/4151849c17e049577c7e6289f7cdc3a766665537","head":{"label":"metaicg:1-2-3-base-setup","ref":"1-2-3-base-setup","sha":"4151849c17e049577c7e6289f7cdc3a766665537","user":{"login":"metaicg","id":18534251,"avatar_url":"https://avatars.githubusercontent.com/u/18534251?v=3","gravatar_id":"","url":"https://api.github.com/users/metaicg","html_url":"https://github.com/metaicg","followers_url":"https://api.github.com/users/metaicg/followers","following_url":"https://api.github.com/users/metaicg/following{/other_user}","gists_url":"https://api.github.com/users/metaicg/gists{/gist_id}","starred_url":"https://api.github.com/users/metaicg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaicg/subscriptions","organizations_url":"https://api.github.com/users/metaicg/orgs","repos_url":"https://api.github.com/users/metaicg/repos","events_url":"https://api.github.com/users/metaicg/events{/privacy}","received_events_url":"https://api.github.com/users/metaicg/received_events","type":"Organization","site_admin":false},"repo":{"id":59917819,"name":"fatbunny","full_name":"metaicg/fatbunny","owner":{"login":"metaicg","id":18534251,"avatar_url":"https://avatars.githubusercontent.com/u/18534251?v=3","gravatar_id":"","url":"https://api.github.com/users/metaicg","html_url":"https://github.com/metaicg","followers_url":"https://api.github.com/users/metaicg/followers","following_url":"https://api.github.com/users/metaicg/following{/other_user}","gists_url":"https://api.github.com/users/metaicg/gists{/gist_id}","starred_url":"https://api.github.com/users/metaicg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaicg/subscriptions","organizations_url":"https://api.github.com/users/metaicg/orgs","repos_url":"https://api.github.com/users/metaicg/repos","events_url":"https://api.github.com/users/metaicg/events{/privacy}","received_events_url":"https://api.github.com/users/metaicg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metaicg/fatbunny","description":"A wrapper around Ruby's excellent bunny gem.","fork":false,"url":"https://api.github.com/repos/metaicg/fatbunny","forks_url":"https://api.github.com/repos/metaicg/fatbunny/forks","keys_url":"https://api.github.com/repos/metaicg/fatbunny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metaicg/fatbunny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metaicg/fatbunny/teams","hooks_url":"https://api.github.com/repos/metaicg/fatbunny/hooks","issue_events_url":"https://api.github.com/repos/metaicg/fatbunny/issues/events{/number}","events_url":"https://api.github.com/repos/metaicg/fatbunny/events","assignees_url":"https://api.github.com/repos/metaicg/fatbunny/assignees{/user}","branches_url":"https://api.github.com/repos/metaicg/fatbunny/branches{/branch}","tags_url":"https://api.github.com/repos/metaicg/fatbunny/tags","blobs_url":"https://api.github.com/repos/metaicg/fatbunny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metaicg/fatbunny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metaicg/fatbunny/git/refs{/sha}","trees_url":"https://api.github.com/repos/metaicg/fatbunny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metaicg/fatbunny/statuses/{sha}","languages_url":"https://api.github.com/repos/metaicg/fatbunny/languages","stargazers_url":"https://api.github.com/repos/metaicg/fatbunny/stargazers","contributors_url":"https://api.github.com/repos/metaicg/fatbunny/contributors","subscribers_url":"https://api.github.com/repos/metaicg/fatbunny/subscribers","subscription_url":"https://api.github.com/repos/metaicg/fatbunny/subscription","commits_url":"https://api.github.com/repos/metaicg/fatbunny/commits{/sha}","git_commits_url":"https://api.github.com/repos/metaicg/fatbunny/git/commits{/sha}","comments_url":"https://api.github.com/repos/metaicg/fatbunny/comments{/number}","issue_comment_url":"https://api.github.com/repos/metaicg/fatbunny/issues/comments{/number}","contents_url":"https://api.github.com/repos/metaicg/fatbunny/contents/{+path}","compare_url":"https://api.github.com/repos/metaicg/fatbunny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metaicg/fatbunny/merges","archive_url":"https://api.github.com/repos/metaicg/fatbunny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metaicg/fatbunny/downloads","issues_url":"https://api.github.com/repos/metaicg/fatbunny/issues{/number}","pulls_url":"https://api.github.com/repos/metaicg/fatbunny/pulls{/number}","milestones_url":"https://api.github.com/repos/metaicg/fatbunny/milestones{/number}","notifications_url":"https://api.github.com/repos/metaicg/fatbunny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metaicg/fatbunny/labels{/name}","releases_url":"https://api.github.com/repos/metaicg/fatbunny/releases{/id}","deployments_url":"https://api.github.com/repos/metaicg/fatbunny/deployments","created_at":"2016-05-28T23:01:46Z","updated_at":"2016-06-01T10:35:31Z","pushed_at":"2016-05-31T09:19:25Z","git_url":"git://github.com/metaicg/fatbunny.git","ssh_url":"git@github.com:metaicg/fatbunny.git","clone_url":"https://github.com/metaicg/fatbunny.git","svn_url":"https://github.com/metaicg/fatbunny","homepage":"","size":15,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"metaicg:master","ref":"master","sha":"aa7bd897da473b86079b764153646a8cd2855973","user":{"login":"metaicg","id":18534251,"avatar_url":"https://avatars.githubusercontent.com/u/18534251?v=3","gravatar_id":"","url":"https://api.github.com/users/metaicg","html_url":"https://github.com/metaicg","followers_url":"https://api.github.com/users/metaicg/followers","following_url":"https://api.github.com/users/metaicg/following{/other_user}","gists_url":"https://api.github.com/users/metaicg/gists{/gist_id}","starred_url":"https://api.github.com/users/metaicg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaicg/subscriptions","organizations_url":"https://api.github.com/users/metaicg/orgs","repos_url":"https://api.github.com/users/metaicg/repos","events_url":"https://api.github.com/users/metaicg/events{/privacy}","received_events_url":"https://api.github.com/users/metaicg/received_events","type":"Organization","site_admin":false},"repo":{"id":59917819,"name":"fatbunny","full_name":"metaicg/fatbunny","owner":{"login":"metaicg","id":18534251,"avatar_url":"https://avatars.githubusercontent.com/u/18534251?v=3","gravatar_id":"","url":"https://api.github.com/users/metaicg","html_url":"https://github.com/metaicg","followers_url":"https://api.github.com/users/metaicg/followers","following_url":"https://api.github.com/users/metaicg/following{/other_user}","gists_url":"https://api.github.com/users/metaicg/gists{/gist_id}","starred_url":"https://api.github.com/users/metaicg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaicg/subscriptions","organizations_url":"https://api.github.com/users/metaicg/orgs","repos_url":"https://api.github.com/users/metaicg/repos","events_url":"https://api.github.com/users/metaicg/events{/privacy}","received_events_url":"https://api.github.com/users/metaicg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metaicg/fatbunny","description":"A wrapper around Ruby's excellent bunny gem.","fork":false,"url":"https://api.github.com/repos/metaicg/fatbunny","forks_url":"https://api.github.com/repos/metaicg/fatbunny/forks","keys_url":"https://api.github.com/repos/metaicg/fatbunny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metaicg/fatbunny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metaicg/fatbunny/teams","hooks_url":"https://api.github.com/repos/metaicg/fatbunny/hooks","issue_events_url":"https://api.github.com/repos/metaicg/fatbunny/issues/events{/number}","events_url":"https://api.github.com/repos/metaicg/fatbunny/events","assignees_url":"https://api.github.com/repos/metaicg/fatbunny/assignees{/user}","branches_url":"https://api.github.com/repos/metaicg/fatbunny/branches{/branch}","tags_url":"https://api.github.com/repos/metaicg/fatbunny/tags","blobs_url":"https://api.github.com/repos/metaicg/fatbunny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metaicg/fatbunny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metaicg/fatbunny/git/refs{/sha}","trees_url":"https://api.github.com/repos/metaicg/fatbunny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metaicg/fatbunny/statuses/{sha}","languages_url":"https://api.github.com/repos/metaicg/fatbunny/languages","stargazers_url":"https://api.github.com/repos/metaicg/fatbunny/stargazers","contributors_url":"https://api.github.com/repos/metaicg/fatbunny/contributors","subscribers_url":"https://api.github.com/repos/metaicg/fatbunny/subscribers","subscription_url":"https://api.github.com/repos/metaicg/fatbunny/subscription","commits_url":"https://api.github.com/repos/metaicg/fatbunny/commits{/sha}","git_commits_url":"https://api.github.com/repos/metaicg/fatbunny/git/commits{/sha}","comments_url":"https://api.github.com/repos/metaicg/fatbunny/comments{/number}","issue_comment_url":"https://api.github.com/repos/metaicg/fatbunny/issues/comments{/number}","contents_url":"https://api.github.com/repos/metaicg/fatbunny/contents/{+path}","compare_url":"https://api.github.com/repos/metaicg/fatbunny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metaicg/fatbunny/merges","archive_url":"https://api.github.com/repos/metaicg/fatbunny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metaicg/fatbunny/downloads","issues_url":"https://api.github.com/repos/metaicg/fatbunny/issues{/number}","pulls_url":"https://api.github.com/repos/metaicg/fatbunny/pulls{/number}","milestones_url":"https://api.github.com/repos/metaicg/fatbunny/milestones{/number}","notifications_url":"https://api.github.com/repos/metaicg/fatbunny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metaicg/fatbunny/labels{/name}","releases_url":"https://api.github.com/repos/metaicg/fatbunny/releases{/id}","deployments_url":"https://api.github.com/repos/metaicg/fatbunny/deployments","created_at":"2016-05-28T23:01:46Z","updated_at":"2016-06-01T10:35:31Z","pushed_at":"2016-05-31T09:19:25Z","git_url":"git://github.com/metaicg/fatbunny.git","ssh_url":"git@github.com:metaicg/fatbunny.git","clone_url":"https://github.com/metaicg/fatbunny.git","svn_url":"https://github.com/metaicg/fatbunny","homepage":"","size":15,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/4"},"html":{"href":"https://github.com/metaicg/fatbunny/pull/4"},"issue":{"href":"https://api.github.com/repos/metaicg/fatbunny/issues/4"},"comments":{"href":"https://api.github.com/repos/metaicg/fatbunny/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metaicg/fatbunny/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/metaicg/fatbunny/statuses/4151849c17e049577c7e6289f7cdc3a766665537"}}}}
{"actor":{"display_login":"jcmfernandes"}}