{"action":"created","issue":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/65","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/65/comments","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/65/events","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/65","id":63503314,"number":65,"title":"[WIP] Added isEnabledEnvironment to config","user":{"login":"trabus","id":324797,"avatar_url":"https://avatars.githubusercontent.com/u/324797?v=3","gravatar_id":"","url":"https://api.github.com/users/trabus","html_url":"https://github.com/trabus","followers_url":"https://api.github.com/users/trabus/followers","following_url":"https://api.github.com/users/trabus/following{/other_user}","gists_url":"https://api.github.com/users/trabus/gists{/gist_id}","starred_url":"https://api.github.com/users/trabus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trabus/subscriptions","organizations_url":"https://api.github.com/users/trabus/orgs","repos_url":"https://api.github.com/users/trabus/repos","events_url":"https://api.github.com/users/trabus/events{/privacy}","received_events_url":"https://api.github.com/users/trabus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-22T07:35:28Z","updated_at":"2015-03-31T21:20:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/65","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/65","diff_url":"https://github.com/samselikoff/ember-cli-mirage/pull/65.diff","patch_url":"https://github.com/samselikoff/ember-cli-mirage/pull/65.patch"},"body":"Fixes #52 by adding `isEnabledEnvironment` to the config, and only builds if `usingProxy` or `isEnabledEnvironment` are true. Also fixed the config so it isn't called multiple times in the `shouldIncludeFiles` method, as it was being called without the environment being passed, and was coming back with the environment as undefined most of the times it was called.\r\n\r\nI still need to add tests, will do so tomorrow."},"comment":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/comments/88254387","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/65#issuecomment-88254387","issue_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/65","id":88254387,"user":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars.githubusercontent.com/u/2922250?v=3","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T21:20:53Z","updated_at":"2015-03-31T21:20:53Z","body":"@trabus what do you think about this? I think I want to upgrade to 0.2.x because rimraf is causing headaches"}}