{"action":"created","issue":{"url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/359","repository_url":"https://api.github.com/repos/zipmark/rspec_api_documentation","labels_url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/359/comments","events_url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/359/events","html_url":"https://github.com/zipmark/rspec_api_documentation/pull/359","id":262851938,"node_id":"MDExOlB1bGxSZXF1ZXN0MTQ0NzE3NDYx","number":359,"title":"Change Json classnames to JSON","user":{"login":"llenodo","id":906411,"node_id":"MDQ6VXNlcjkwNjQxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/906411?v=4","gravatar_id":"","url":"https://api.github.com/users/llenodo","html_url":"https://github.com/llenodo","followers_url":"https://api.github.com/users/llenodo/followers","following_url":"https://api.github.com/users/llenodo/following{/other_user}","gists_url":"https://api.github.com/users/llenodo/gists{/gist_id}","starred_url":"https://api.github.com/users/llenodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llenodo/subscriptions","organizations_url":"https://api.github.com/users/llenodo/orgs","repos_url":"https://api.github.com/users/llenodo/repos","events_url":"https://api.github.com/users/llenodo/events{/privacy}","received_events_url":"https://api.github.com/users/llenodo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-04T16:31:32Z","updated_at":"2018-06-06T20:44:06Z","closed_at":"2018-04-14T17:38:55Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zipmark/rspec_api_documentation/pulls/359","html_url":"https://github.com/zipmark/rspec_api_documentation/pull/359","diff_url":"https://github.com/zipmark/rspec_api_documentation/pull/359.diff","patch_url":"https://github.com/zipmark/rspec_api_documentation/pull/359.patch"},"body":"When running the docs:generate command I was getting the following error:\r\n\r\n```\r\n/rspec_api_documentation-5.1.0/lib/rspec_api_documentation/api_documentation.rb:33:in `const_get': uninitialized constant RspecApiDocumentation::Writers::JSONWriter (NameError)\r\n```\r\n\r\nTurned out to be this line in `RspecApiDocumentation::ApiDocumentation`:\r\n\r\n```\r\nRspecApiDocumentation::Writers.const_get(\"#{format}_writer\".classify)\r\n```\r\n\r\napparently `\"json_writer\".classify` is now returning `JSONWriter` instead of `JsonWriter`, thus giving the uninitialized constant error\r\n"},"comment":{"url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/comments/395207476","html_url":"https://github.com/zipmark/rspec_api_documentation/pull/359#issuecomment-395207476","issue_url":"https://api.github.com/repos/zipmark/rspec_api_documentation/issues/359","id":395207476,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTIwNzQ3Ng==","user":{"login":"davidcpell","id":1223820,"node_id":"MDQ6VXNlcjEyMjM4MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1223820?v=4","gravatar_id":"","url":"https://api.github.com/users/davidcpell","html_url":"https://github.com/davidcpell","followers_url":"https://api.github.com/users/davidcpell/followers","following_url":"https://api.github.com/users/davidcpell/following{/other_user}","gists_url":"https://api.github.com/users/davidcpell/gists{/gist_id}","starred_url":"https://api.github.com/users/davidcpell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidcpell/subscriptions","organizations_url":"https://api.github.com/users/davidcpell/orgs","repos_url":"https://api.github.com/users/davidcpell/repos","events_url":"https://api.github.com/users/davidcpell/events{/privacy}","received_events_url":"https://api.github.com/users/davidcpell/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T20:44:06Z","updated_at":"2018-06-06T20:44:06Z","author_association":"NONE","body":"Just hit this problem, also using rails 5.2. The weird thing is that we were already on rails 5.2 and this happened after a `bundle update` that did _not_ affect Rails or ActiveSupport."}}
{"actor":{"display_login":"davidcpell"}}