{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/jackc/surus/pulls/20","id":50740188,"html_url":"https://github.com/jackc/surus/pull/20","diff_url":"https://github.com/jackc/surus/pull/20.diff","patch_url":"https://github.com/jackc/surus/pull/20.patch","issue_url":"https://api.github.com/repos/jackc/surus/issues/20","number":20,"state":"open","locked":false,"title":"Jruby 9000 Compat + Code styling cleanup + Refactor Serializer","user":{"login":"ddrmanxbxfr","id":445401,"avatar_url":"https://avatars.githubusercontent.com/u/445401?v=3","gravatar_id":"","url":"https://api.github.com/users/ddrmanxbxfr","html_url":"https://github.com/ddrmanxbxfr","followers_url":"https://api.github.com/users/ddrmanxbxfr/followers","following_url":"https://api.github.com/users/ddrmanxbxfr/following{/other_user}","gists_url":"https://api.github.com/users/ddrmanxbxfr/gists{/gist_id}","starred_url":"https://api.github.com/users/ddrmanxbxfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddrmanxbxfr/subscriptions","organizations_url":"https://api.github.com/users/ddrmanxbxfr/orgs","repos_url":"https://api.github.com/users/ddrmanxbxfr/repos","events_url":"https://api.github.com/users/ddrmanxbxfr/events{/privacy}","received_events_url":"https://api.github.com/users/ddrmanxbxfr/received_events","type":"User","site_admin":false},"body":"Hi JackC,\r\n\r\nIn this PR i've made the following improvements :\r\n  1. Add Rubocop to the project and make it 100% fully compliant to the ruby style guide.\r\n  2. Add JRUBY Travis CI Settings + Fix the broken unit tests (Default serializer on jruby is jrjackson)\r\n  3. Refactor a few methods in lib/surus/hstore/serializer.rb to make it easier to read.\r\n  4. All the string usage only that doesn't involve interpolation are now ' instead of \".\r\n\r\nTests should now be running on both jruby main versions + rubocop run.\r\n\r\nThanks for looking into it!","created_at":"2015-11-15T05:31:52Z","updated_at":"2015-11-15T05:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jackc/surus/pulls/20/commits","review_comments_url":"https://api.github.com/repos/jackc/surus/pulls/20/comments","review_comment_url":"https://api.github.com/repos/jackc/surus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackc/surus/issues/20/comments","statuses_url":"https://api.github.com/repos/jackc/surus/statuses/f16e233a52546707e312ff190afa48136646dc4d","head":{"label":"ddrmanxbxfr:CodeStylingCleanup","ref":"CodeStylingCleanup","sha":"f16e233a52546707e312ff190afa48136646dc4d","user":{"login":"ddrmanxbxfr","id":445401,"avatar_url":"https://avatars.githubusercontent.com/u/445401?v=3","gravatar_id":"","url":"https://api.github.com/users/ddrmanxbxfr","html_url":"https://github.com/ddrmanxbxfr","followers_url":"https://api.github.com/users/ddrmanxbxfr/followers","following_url":"https://api.github.com/users/ddrmanxbxfr/following{/other_user}","gists_url":"https://api.github.com/users/ddrmanxbxfr/gists{/gist_id}","starred_url":"https://api.github.com/users/ddrmanxbxfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddrmanxbxfr/subscriptions","organizations_url":"https://api.github.com/users/ddrmanxbxfr/orgs","repos_url":"https://api.github.com/users/ddrmanxbxfr/repos","events_url":"https://api.github.com/users/ddrmanxbxfr/events{/privacy}","received_events_url":"https://api.github.com/users/ddrmanxbxfr/received_events","type":"User","site_admin":false},"repo":{"id":46200142,"name":"surus","full_name":"ddrmanxbxfr/surus","owner":{"login":"ddrmanxbxfr","id":445401,"avatar_url":"https://avatars.githubusercontent.com/u/445401?v=3","gravatar_id":"","url":"https://api.github.com/users/ddrmanxbxfr","html_url":"https://github.com/ddrmanxbxfr","followers_url":"https://api.github.com/users/ddrmanxbxfr/followers","following_url":"https://api.github.com/users/ddrmanxbxfr/following{/other_user}","gists_url":"https://api.github.com/users/ddrmanxbxfr/gists{/gist_id}","starred_url":"https://api.github.com/users/ddrmanxbxfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddrmanxbxfr/subscriptions","organizations_url":"https://api.github.com/users/ddrmanxbxfr/orgs","repos_url":"https://api.github.com/users/ddrmanxbxfr/repos","events_url":"https://api.github.com/users/ddrmanxbxfr/events{/privacy}","received_events_url":"https://api.github.com/users/ddrmanxbxfr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ddrmanxbxfr/surus","description":"PostgreSQL extensions for ActiveRecord","fork":true,"url":"https://api.github.com/repos/ddrmanxbxfr/surus","forks_url":"https://api.github.com/repos/ddrmanxbxfr/surus/forks","keys_url":"https://api.github.com/repos/ddrmanxbxfr/surus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ddrmanxbxfr/surus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ddrmanxbxfr/surus/teams","hooks_url":"https://api.github.com/repos/ddrmanxbxfr/surus/hooks","issue_events_url":"https://api.github.com/repos/ddrmanxbxfr/surus/issues/events{/number}","events_url":"https://api.github.com/repos/ddrmanxbxfr/surus/events","assignees_url":"https://api.github.com/repos/ddrmanxbxfr/surus/assignees{/user}","branches_url":"https://api.github.com/repos/ddrmanxbxfr/surus/branches{/branch}","tags_url":"https://api.github.com/repos/ddrmanxbxfr/surus/tags","blobs_url":"https://api.github.com/repos/ddrmanxbxfr/surus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ddrmanxbxfr/surus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ddrmanxbxfr/surus/git/refs{/sha}","trees_url":"https://api.github.com/repos/ddrmanxbxfr/surus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ddrmanxbxfr/surus/statuses/{sha}","languages_url":"https://api.github.com/repos/ddrmanxbxfr/surus/languages","stargazers_url":"https://api.github.com/repos/ddrmanxbxfr/surus/stargazers","contributors_url":"https://api.github.com/repos/ddrmanxbxfr/surus/contributors","subscribers_url":"https://api.github.com/repos/ddrmanxbxfr/surus/subscribers","subscription_url":"https://api.github.com/repos/ddrmanxbxfr/surus/subscription","commits_url":"https://api.github.com/repos/ddrmanxbxfr/surus/commits{/sha}","git_commits_url":"https://api.github.com/repos/ddrmanxbxfr/surus/git/commits{/sha}","comments_url":"https://api.github.com/repos/ddrmanxbxfr/surus/comments{/number}","issue_comment_url":"https://api.github.com/repos/ddrmanxbxfr/surus/issues/comments{/number}","contents_url":"https://api.github.com/repos/ddrmanxbxfr/surus/contents/{+path}","compare_url":"https://api.github.com/repos/ddrmanxbxfr/surus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ddrmanxbxfr/surus/merges","archive_url":"https://api.github.com/repos/ddrmanxbxfr/surus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ddrmanxbxfr/surus/downloads","issues_url":"https://api.github.com/repos/ddrmanxbxfr/surus/issues{/number}","pulls_url":"https://api.github.com/repos/ddrmanxbxfr/surus/pulls{/number}","milestones_url":"https://api.github.com/repos/ddrmanxbxfr/surus/milestones{/number}","notifications_url":"https://api.github.com/repos/ddrmanxbxfr/surus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ddrmanxbxfr/surus/labels{/name}","releases_url":"https://api.github.com/repos/ddrmanxbxfr/surus/releases{/id}","created_at":"2015-11-15T01:56:54Z","updated_at":"2015-11-15T01:56:55Z","pushed_at":"2015-11-15T05:28:13Z","git_url":"git://github.com/ddrmanxbxfr/surus.git","ssh_url":"git@github.com:ddrmanxbxfr/surus.git","clone_url":"https://github.com/ddrmanxbxfr/surus.git","svn_url":"https://github.com/ddrmanxbxfr/surus","homepage":"","size":338,"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":"jackc:master","ref":"master","sha":"55db7d4ff60c3cd832e092a4b3d478cfffc5d7df","user":{"login":"jackc","id":94130,"avatar_url":"https://avatars.githubusercontent.com/u/94130?v=3","gravatar_id":"","url":"https://api.github.com/users/jackc","html_url":"https://github.com/jackc","followers_url":"https://api.github.com/users/jackc/followers","following_url":"https://api.github.com/users/jackc/following{/other_user}","gists_url":"https://api.github.com/users/jackc/gists{/gist_id}","starred_url":"https://api.github.com/users/jackc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackc/subscriptions","organizations_url":"https://api.github.com/users/jackc/orgs","repos_url":"https://api.github.com/users/jackc/repos","events_url":"https://api.github.com/users/jackc/events{/privacy}","received_events_url":"https://api.github.com/users/jackc/received_events","type":"User","site_admin":false},"repo":{"id":3321682,"name":"surus","full_name":"jackc/surus","owner":{"login":"jackc","id":94130,"avatar_url":"https://avatars.githubusercontent.com/u/94130?v=3","gravatar_id":"","url":"https://api.github.com/users/jackc","html_url":"https://github.com/jackc","followers_url":"https://api.github.com/users/jackc/followers","following_url":"https://api.github.com/users/jackc/following{/other_user}","gists_url":"https://api.github.com/users/jackc/gists{/gist_id}","starred_url":"https://api.github.com/users/jackc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackc/subscriptions","organizations_url":"https://api.github.com/users/jackc/orgs","repos_url":"https://api.github.com/users/jackc/repos","events_url":"https://api.github.com/users/jackc/events{/privacy}","received_events_url":"https://api.github.com/users/jackc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackc/surus","description":"PostgreSQL extensions for ActiveRecord","fork":false,"url":"https://api.github.com/repos/jackc/surus","forks_url":"https://api.github.com/repos/jackc/surus/forks","keys_url":"https://api.github.com/repos/jackc/surus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackc/surus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackc/surus/teams","hooks_url":"https://api.github.com/repos/jackc/surus/hooks","issue_events_url":"https://api.github.com/repos/jackc/surus/issues/events{/number}","events_url":"https://api.github.com/repos/jackc/surus/events","assignees_url":"https://api.github.com/repos/jackc/surus/assignees{/user}","branches_url":"https://api.github.com/repos/jackc/surus/branches{/branch}","tags_url":"https://api.github.com/repos/jackc/surus/tags","blobs_url":"https://api.github.com/repos/jackc/surus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackc/surus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackc/surus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackc/surus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackc/surus/statuses/{sha}","languages_url":"https://api.github.com/repos/jackc/surus/languages","stargazers_url":"https://api.github.com/repos/jackc/surus/stargazers","contributors_url":"https://api.github.com/repos/jackc/surus/contributors","subscribers_url":"https://api.github.com/repos/jackc/surus/subscribers","subscription_url":"https://api.github.com/repos/jackc/surus/subscription","commits_url":"https://api.github.com/repos/jackc/surus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackc/surus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackc/surus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackc/surus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackc/surus/contents/{+path}","compare_url":"https://api.github.com/repos/jackc/surus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackc/surus/merges","archive_url":"https://api.github.com/repos/jackc/surus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackc/surus/downloads","issues_url":"https://api.github.com/repos/jackc/surus/issues{/number}","pulls_url":"https://api.github.com/repos/jackc/surus/pulls{/number}","milestones_url":"https://api.github.com/repos/jackc/surus/milestones{/number}","notifications_url":"https://api.github.com/repos/jackc/surus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackc/surus/labels{/name}","releases_url":"https://api.github.com/repos/jackc/surus/releases{/id}","created_at":"2012-02-01T03:48:45Z","updated_at":"2015-11-05T04:43:56Z","pushed_at":"2015-09-03T18:09:36Z","git_url":"git://github.com/jackc/surus.git","ssh_url":"git@github.com:jackc/surus.git","clone_url":"https://github.com/jackc/surus.git","svn_url":"https://github.com/jackc/surus","homepage":"","size":338,"stargazers_count":281,"watchers_count":281,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":2,"forks":26,"open_issues":2,"watchers":281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackc/surus/pulls/20"},"html":{"href":"https://github.com/jackc/surus/pull/20"},"issue":{"href":"https://api.github.com/repos/jackc/surus/issues/20"},"comments":{"href":"https://api.github.com/repos/jackc/surus/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/jackc/surus/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/jackc/surus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackc/surus/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/jackc/surus/statuses/f16e233a52546707e312ff190afa48136646dc4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":809,"deletions":753,"changed_files":37}}