{"action":"created","issue":{"url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/45","labels_url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/45/comments","events_url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/45/events","html_url":"https://github.com/BrandyMint/grape-swagger-rails/pull/45","id":54974384,"number":45,"title":"remove grape-swagger version","user":{"login":"tian-xiaobo","id":10395157,"avatar_url":"https://avatars.githubusercontent.com/u/10395157?v=3","gravatar_id":"","url":"https://api.github.com/users/tian-xiaobo","html_url":"https://github.com/tian-xiaobo","followers_url":"https://api.github.com/users/tian-xiaobo/followers","following_url":"https://api.github.com/users/tian-xiaobo/following{/other_user}","gists_url":"https://api.github.com/users/tian-xiaobo/gists{/gist_id}","starred_url":"https://api.github.com/users/tian-xiaobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tian-xiaobo/subscriptions","organizations_url":"https://api.github.com/users/tian-xiaobo/orgs","repos_url":"https://api.github.com/users/tian-xiaobo/repos","events_url":"https://api.github.com/users/tian-xiaobo/events{/privacy}","received_events_url":"https://api.github.com/users/tian-xiaobo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T03:48:45Z","updated_at":"2015-01-31T02:21:35Z","closed_at":"2015-01-29T08:44:24Z","pull_request":{"url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/pulls/45","html_url":"https://github.com/BrandyMint/grape-swagger-rails/pull/45","diff_url":"https://github.com/BrandyMint/grape-swagger-rails/pull/45.diff","patch_url":"https://github.com/BrandyMint/grape-swagger-rails/pull/45.patch"},"body":"Fix NameError (uninitialized class variable @@hide_format in #Class:0x00000006debf88):\r\nsee https://github.com/tim-vandecasteele/grape-swagger/issues/60"},"comment":{"url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/comments/72300255","html_url":"https://github.com/BrandyMint/grape-swagger-rails/pull/45#issuecomment-72300255","issue_url":"https://api.github.com/repos/BrandyMint/grape-swagger-rails/issues/45","id":72300255,"user":{"login":"gnapse","id":15199,"avatar_url":"https://avatars.githubusercontent.com/u/15199?v=3","gravatar_id":"","url":"https://api.github.com/users/gnapse","html_url":"https://github.com/gnapse","followers_url":"https://api.github.com/users/gnapse/followers","following_url":"https://api.github.com/users/gnapse/following{/other_user}","gists_url":"https://api.github.com/users/gnapse/gists{/gist_id}","starred_url":"https://api.github.com/users/gnapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnapse/subscriptions","organizations_url":"https://api.github.com/users/gnapse/orgs","repos_url":"https://api.github.com/users/gnapse/repos","events_url":"https://api.github.com/users/gnapse/events{/privacy}","received_events_url":"https://api.github.com/users/gnapse/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T02:21:35Z","updated_at":"2015-01-31T02:21:35Z","body":"I'm saying that the last released version of the gem as of today ([0.0.10](https://rubygems.org/gems/grape-swagger-rails/versions/0.0.10)) has the following dependency:\r\n\r\n```\r\ngrape-swagger ~> 0.7.2\r\n```\r\n\r\nAnd with this dependency, the following error occurs:\r\n\r\n```\r\nFix NameError (uninitialized class variable @@hide_format in #Class:0x00000006debf88):\r\n```\r\n\r\nThat error is caused by the `grape-swagger` gem, but was fixed in more recent versions. However, when using this repo from rubygems the error still occurs because of that dependency stated above.\r\n\r\nThe funny thing is that this repo's gemspec already has the dependency updated to `>= 0.72` instead of `~> 0.7.2`, but that's only on the master branch, and apparently there has been no new releases since that change. So bottomline is, a new release of this gem would solve the problem. Otherwise, everyone using it should point the Gemfile to github instead of to the standard in rubygems. Instead of this\r\n\r\n```ruby\r\ngem 'grape-swagger-rails'\r\n```\r\n\r\nWe need to put this:\r\n\r\n```ruby\r\ngem 'grape-swagger-rails', github: 'BrandyMint/grape-swagger-rails'\r\n```\r\n"}}