{"action":"created","issue":{"url":"https://api.github.com/repos/serverspec/specinfra/issues/289","labels_url":"https://api.github.com/repos/serverspec/specinfra/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/serverspec/specinfra/issues/289/comments","events_url":"https://api.github.com/repos/serverspec/specinfra/issues/289/events","html_url":"https://github.com/serverspec/specinfra/pull/289","id":55028179,"number":289,"title":"Handle NameError exception if an invalid variable name reaches method_missing","user":{"login":"rbhitchcock","id":647423,"avatar_url":"https://avatars.githubusercontent.com/u/647423?v=3","gravatar_id":"","url":"https://api.github.com/users/rbhitchcock","html_url":"https://github.com/rbhitchcock","followers_url":"https://api.github.com/users/rbhitchcock/followers","following_url":"https://api.github.com/users/rbhitchcock/following{/other_user}","gists_url":"https://api.github.com/users/rbhitchcock/gists{/gist_id}","starred_url":"https://api.github.com/users/rbhitchcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbhitchcock/subscriptions","organizations_url":"https://api.github.com/users/rbhitchcock/orgs","repos_url":"https://api.github.com/users/rbhitchcock/repos","events_url":"https://api.github.com/users/rbhitchcock/events{/privacy}","received_events_url":"https://api.github.com/users/rbhitchcock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T14:51:22Z","updated_at":"2015-01-22T05:37:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/serverspec/specinfra/pulls/289","html_url":"https://github.com/serverspec/specinfra/pull/289","diff_url":"https://github.com/serverspec/specinfra/pull/289.diff","patch_url":"https://github.com/serverspec/specinfra/pull/289.patch"},"body":"When using sprockets and specinfra together, our project would occasionally run into problems when compiling assets due to specinfra attempting to create an instance variable with an invalid name. While I'm not entirely sure *why* this behavior would occur, it was more straightforward to patch specinfra than go down the rabbit holes to determine what was causing the two libraries to occasionally not play nicely together.\r\n\r\nThis change simply wraps the calls to ```#set_instance_variable``` and ```#get_instance_variable``` in a begin/rescue block. Please let me know if you would prefer to have this fixed in a different way, and I'll be happy to update.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/serverspec/specinfra/issues/comments/70973958","html_url":"https://github.com/serverspec/specinfra/pull/289#issuecomment-70973958","issue_url":"https://api.github.com/repos/serverspec/specinfra/issues/289","id":70973958,"user":{"login":"mizzy","id":3620,"avatar_url":"https://avatars.githubusercontent.com/u/3620?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzy","html_url":"https://github.com/mizzy","followers_url":"https://api.github.com/users/mizzy/followers","following_url":"https://api.github.com/users/mizzy/following{/other_user}","gists_url":"https://api.github.com/users/mizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzy/subscriptions","organizations_url":"https://api.github.com/users/mizzy/orgs","repos_url":"https://api.github.com/users/mizzy/repos","events_url":"https://api.github.com/users/mizzy/events{/privacy}","received_events_url":"https://api.github.com/users/mizzy/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T05:37:45Z","updated_at":"2015-01-22T05:37:45Z","body":"Thanks."}}