{"action":"created","comment":{"url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/comments/27733312","id":27733312,"diff_hunk":"@@ -27,6 +27,18 @@\n     end\n   end\n \n+  context \".gem_available?\" do","path":"spec/lib/spree_sitemap/spree_defaults_spec.rb","position":4,"original_position":4,"commit_id":"177982078521edb41ac0d2eaff1e97c4f0170f41","original_commit_id":"177982078521edb41ac0d2eaff1e97c4f0170f41","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2015-04-03T14:54:21Z","updated_at":"2015-04-03T14:54:21Z","html_url":"https://github.com/spree-contrib/spree_sitemap/pull/25#discussion_r27733312","pull_request_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/comments/27733312"},"html":{"href":"https://github.com/spree-contrib/spree_sitemap/pull/25#discussion_r27733312"},"pull_request":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25","id":32593450,"html_url":"https://github.com/spree-contrib/spree_sitemap/pull/25","diff_url":"https://github.com/spree-contrib/spree_sitemap/pull/25.diff","patch_url":"https://github.com/spree-contrib/spree_sitemap/pull/25.patch","issue_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/25","number":25,"state":"open","locked":false,"title":"missing method gem_available? added to make code work with latest spree 3.1","user":{"login":"RaVbaker","id":56023,"avatar_url":"https://avatars.githubusercontent.com/u/56023?v=3","gravatar_id":"","url":"https://api.github.com/users/RaVbaker","html_url":"https://github.com/RaVbaker","followers_url":"https://api.github.com/users/RaVbaker/followers","following_url":"https://api.github.com/users/RaVbaker/following{/other_user}","gists_url":"https://api.github.com/users/RaVbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/RaVbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaVbaker/subscriptions","organizations_url":"https://api.github.com/users/RaVbaker/orgs","repos_url":"https://api.github.com/users/RaVbaker/repos","events_url":"https://api.github.com/users/RaVbaker/events{/privacy}","received_events_url":"https://api.github.com/users/RaVbaker/received_events","type":"User","site_admin":false},"body":"In Spree PR https://github.com/spree/spree/pull/5920 method `gem_available?` was removed from BaseHelper. Since spre_sitemap uses it to detect features we need it back. \r\n\r\nI added it in this PR with appropriate tests. ","created_at":"2015-04-03T14:54:19Z","updated_at":"2015-04-03T14:54:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dad2f52929438ace860192ec962935a9ec3dcaf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25/commits","review_comments_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25/comments","review_comment_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/25/comments","statuses_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/statuses/177982078521edb41ac0d2eaff1e97c4f0170f41","head":{"label":"RaVbaker:missing_gem_available_method_added","ref":"missing_gem_available_method_added","sha":"177982078521edb41ac0d2eaff1e97c4f0170f41","user":{"login":"RaVbaker","id":56023,"avatar_url":"https://avatars.githubusercontent.com/u/56023?v=3","gravatar_id":"","url":"https://api.github.com/users/RaVbaker","html_url":"https://github.com/RaVbaker","followers_url":"https://api.github.com/users/RaVbaker/followers","following_url":"https://api.github.com/users/RaVbaker/following{/other_user}","gists_url":"https://api.github.com/users/RaVbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/RaVbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaVbaker/subscriptions","organizations_url":"https://api.github.com/users/RaVbaker/orgs","repos_url":"https://api.github.com/users/RaVbaker/repos","events_url":"https://api.github.com/users/RaVbaker/events{/privacy}","received_events_url":"https://api.github.com/users/RaVbaker/received_events","type":"User","site_admin":false},"repo":{"id":33363049,"name":"spree_sitemap","full_name":"RaVbaker/spree_sitemap","owner":{"login":"RaVbaker","id":56023,"avatar_url":"https://avatars.githubusercontent.com/u/56023?v=3","gravatar_id":"","url":"https://api.github.com/users/RaVbaker","html_url":"https://github.com/RaVbaker","followers_url":"https://api.github.com/users/RaVbaker/followers","following_url":"https://api.github.com/users/RaVbaker/following{/other_user}","gists_url":"https://api.github.com/users/RaVbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/RaVbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaVbaker/subscriptions","organizations_url":"https://api.github.com/users/RaVbaker/orgs","repos_url":"https://api.github.com/users/RaVbaker/repos","events_url":"https://api.github.com/users/RaVbaker/events{/privacy}","received_events_url":"https://api.github.com/users/RaVbaker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RaVbaker/spree_sitemap","description":"Sitemap Generator for Spree Commerce.","fork":true,"url":"https://api.github.com/repos/RaVbaker/spree_sitemap","forks_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/forks","keys_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/teams","hooks_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/hooks","issue_events_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/issues/events{/number}","events_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/events","assignees_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/assignees{/user}","branches_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/branches{/branch}","tags_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/tags","blobs_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/git/refs{/sha}","trees_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/statuses/{sha}","languages_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/languages","stargazers_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/stargazers","contributors_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/contributors","subscribers_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/subscribers","subscription_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/subscription","commits_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/commits{/sha}","git_commits_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/git/commits{/sha}","comments_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/comments{/number}","issue_comment_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/issues/comments{/number}","contents_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/contents/{+path}","compare_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/merges","archive_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/downloads","issues_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/issues{/number}","pulls_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/pulls{/number}","milestones_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/milestones{/number}","notifications_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/labels{/name}","releases_url":"https://api.github.com/repos/RaVbaker/spree_sitemap/releases{/id}","created_at":"2015-04-03T12:51:12Z","updated_at":"2015-04-03T12:51:12Z","pushed_at":"2015-04-03T14:52:31Z","git_url":"git://github.com/RaVbaker/spree_sitemap.git","ssh_url":"git@github.com:RaVbaker/spree_sitemap.git","clone_url":"https://github.com/RaVbaker/spree_sitemap.git","svn_url":"https://github.com/RaVbaker/spree_sitemap","homepage":"http://spreecommerce.com","size":414,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"spree-contrib:master","ref":"master","sha":"2c6542951f2a273b0e53dcf9e1a0b1fb420c8746","user":{"login":"spree-contrib","id":6852220,"avatar_url":"https://avatars.githubusercontent.com/u/6852220?v=3","gravatar_id":"","url":"https://api.github.com/users/spree-contrib","html_url":"https://github.com/spree-contrib","followers_url":"https://api.github.com/users/spree-contrib/followers","following_url":"https://api.github.com/users/spree-contrib/following{/other_user}","gists_url":"https://api.github.com/users/spree-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/spree-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree-contrib/subscriptions","organizations_url":"https://api.github.com/users/spree-contrib/orgs","repos_url":"https://api.github.com/users/spree-contrib/repos","events_url":"https://api.github.com/users/spree-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/spree-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":9631304,"name":"spree_sitemap","full_name":"spree-contrib/spree_sitemap","owner":{"login":"spree-contrib","id":6852220,"avatar_url":"https://avatars.githubusercontent.com/u/6852220?v=3","gravatar_id":"","url":"https://api.github.com/users/spree-contrib","html_url":"https://github.com/spree-contrib","followers_url":"https://api.github.com/users/spree-contrib/followers","following_url":"https://api.github.com/users/spree-contrib/following{/other_user}","gists_url":"https://api.github.com/users/spree-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/spree-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree-contrib/subscriptions","organizations_url":"https://api.github.com/users/spree-contrib/orgs","repos_url":"https://api.github.com/users/spree-contrib/repos","events_url":"https://api.github.com/users/spree-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/spree-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spree-contrib/spree_sitemap","description":"Sitemap Generator for Spree Commerce.","fork":false,"url":"https://api.github.com/repos/spree-contrib/spree_sitemap","forks_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/forks","keys_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/teams","hooks_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/hooks","issue_events_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/events{/number}","events_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/events","assignees_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/assignees{/user}","branches_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/branches{/branch}","tags_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/tags","blobs_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/git/refs{/sha}","trees_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/statuses/{sha}","languages_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/languages","stargazers_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/stargazers","contributors_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/contributors","subscribers_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/subscribers","subscription_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/subscription","commits_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/commits{/sha}","git_commits_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/git/commits{/sha}","comments_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/comments{/number}","issue_comment_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/comments{/number}","contents_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/contents/{+path}","compare_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/merges","archive_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/downloads","issues_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues{/number}","pulls_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls{/number}","milestones_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/milestones{/number}","notifications_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/labels{/name}","releases_url":"https://api.github.com/repos/spree-contrib/spree_sitemap/releases{/id}","created_at":"2013-04-23T19:23:54Z","updated_at":"2015-02-22T08:19:52Z","pushed_at":"2015-04-03T14:54:20Z","git_url":"git://github.com/spree-contrib/spree_sitemap.git","ssh_url":"git@github.com:spree-contrib/spree_sitemap.git","clone_url":"https://github.com/spree-contrib/spree_sitemap.git","svn_url":"https://github.com/spree-contrib/spree_sitemap","homepage":"http://spreecommerce.com","size":414,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":3,"forks":39,"open_issues":3,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25"},"html":{"href":"https://github.com/spree-contrib/spree_sitemap/pull/25"},"issue":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/25"},"comments":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/spree-contrib/spree_sitemap/statuses/177982078521edb41ac0d2eaff1e97c4f0170f41"}}}}