{"action":"closed","issue":{"url":"https://api.github.com/repos/LoyaltyNZ/hoodoo/issues/94","repository_url":"https://api.github.com/repos/LoyaltyNZ/hoodoo","labels_url":"https://api.github.com/repos/LoyaltyNZ/hoodoo/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/LoyaltyNZ/hoodoo/issues/94/comments","events_url":"https://api.github.com/repos/LoyaltyNZ/hoodoo/issues/94/events","html_url":"https://github.com/LoyaltyNZ/hoodoo/issues/94","id":111295826,"number":94,"title":"Hoodoo better error messages when active_support is not installed (Trello import)","user":{"login":"pond","id":188364,"avatar_url":"https://avatars.githubusercontent.com/u/188364?v=3","gravatar_id":"","url":"https://api.github.com/users/pond","html_url":"https://github.com/pond","followers_url":"https://api.github.com/users/pond/followers","following_url":"https://api.github.com/users/pond/following{/other_user}","gists_url":"https://api.github.com/users/pond/gists{/gist_id}","starred_url":"https://api.github.com/users/pond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pond/subscriptions","organizations_url":"https://api.github.com/users/pond/orgs","repos_url":"https://api.github.com/users/pond/repos","events_url":"https://api.github.com/users/pond/events{/privacy}","received_events_url":"https://api.github.com/users/pond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LoyaltyNZ/hoodoo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-13T23:59:13Z","updated_at":"2016-03-18T00:58:59Z","closed_at":"2016-03-18T00:58:59Z","body":"Currently in `Hoodoo::Services::Discovery::ByConvention`, `active_support/inflector` is required but there is also a `rescue LoadError` in this class. This means that if `active_support` is not installed then this file will fail to load but without an error message. Then when attempting to use the Hoodoo client in its default state:\r\n\r\n```ruby\r\nclient = Hoodoo::Client.new(base_uri: 'https://api.loyaltyblue.co.nz', caller_id: c_id, caller_secret: c_s)\r\n```\r\n\r\n...one is returned the confusing error:\r\n\r\n```\r\nuninitialized constant Hoodoo::Services::Discovery::ByConvention\r\n```\r\n\r\nWould be awesome if this situation would hint at the fact that we are just missing active support.\r\n\r\n[David Mitchell]"}}