{"action":"created","issue":{"url":"https://api.github.com/repos/rom-rb/rom/issues/342","repository_url":"https://api.github.com/repos/rom-rb/rom","labels_url":"https://api.github.com/repos/rom-rb/rom/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/rom-rb/rom/issues/342/comments","events_url":"https://api.github.com/repos/rom-rb/rom/issues/342/events","html_url":"https://github.com/rom-rb/rom/pull/342","id":147254456,"number":342,"title":"Improve error when command is not defined","user":{"login":"thiagoa","id":746384,"avatar_url":"https://avatars.githubusercontent.com/u/746384?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagoa","html_url":"https://github.com/thiagoa","followers_url":"https://api.github.com/users/thiagoa/followers","following_url":"https://api.github.com/users/thiagoa/following{/other_user}","gists_url":"https://api.github.com/users/thiagoa/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagoa/subscriptions","organizations_url":"https://api.github.com/users/thiagoa/orgs","repos_url":"https://api.github.com/users/thiagoa/repos","events_url":"https://api.github.com/users/thiagoa/events{/privacy}","received_events_url":"https://api.github.com/users/thiagoa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-10T19:14:24Z","updated_at":"2016-04-10T19:30:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rom-rb/rom/pulls/342","html_url":"https://github.com/rom-rb/rom/pull/342","diff_url":"https://github.com/rom-rb/rom/pull/342.diff","patch_url":"https://github.com/rom-rb/rom/pull/342.patch"},"body":"This pull request is part of the following issue: rom-rb/rom#324\r\n\r\nI made the following changes:\r\n\r\n- Added tests for the new \"default value\" feature of `ROM::Registry#fetch`. The code is in `rom-support`, but the tests are in this repository. Here is the link for the pull request: https://github.com/rom-rb/rom-support/pull/6. To make this possible I temporarily pointed the `rom-support` gem reference to my `rom-support` fork, but this will get removed once the related pull request is OK.\r\n- I'm using the \"default value\" feature to throw a specialized error in case a command is not found under a relation."},"comment":{"url":"https://api.github.com/repos/rom-rb/rom/issues/comments/208048513","html_url":"https://github.com/rom-rb/rom/pull/342#issuecomment-208048513","issue_url":"https://api.github.com/repos/rom-rb/rom/issues/342","id":208048513,"user":{"login":"solnic","id":1066,"avatar_url":"https://avatars.githubusercontent.com/u/1066?v=3","gravatar_id":"","url":"https://api.github.com/users/solnic","html_url":"https://github.com/solnic","followers_url":"https://api.github.com/users/solnic/followers","following_url":"https://api.github.com/users/solnic/following{/other_user}","gists_url":"https://api.github.com/users/solnic/gists{/gist_id}","starred_url":"https://api.github.com/users/solnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solnic/subscriptions","organizations_url":"https://api.github.com/users/solnic/orgs","repos_url":"https://api.github.com/users/solnic/repos","events_url":"https://api.github.com/users/solnic/events{/privacy}","received_events_url":"https://api.github.com/users/solnic/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T19:30:19Z","updated_at":"2016-04-10T19:30:19Z","body":"Thanks for this. The specs should be moved to rom-support. Here we could only verify if command-specific registry has correct behavior."}}