{"action":"created","issue":{"url":"https://api.github.com/repos/jgnatch/mountain_view/issues/27","labels_url":"https://api.github.com/repos/jgnatch/mountain_view/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jgnatch/mountain_view/issues/27/comments","events_url":"https://api.github.com/repos/jgnatch/mountain_view/issues/27/events","html_url":"https://github.com/jgnatch/mountain_view/pull/27","id":112095208,"number":27,"title":"Ability to add component meta","user":{"login":"GustavoCaso","id":4672858,"avatar_url":"https://avatars.githubusercontent.com/u/4672858?v=3","gravatar_id":"","url":"https://api.github.com/users/GustavoCaso","html_url":"https://github.com/GustavoCaso","followers_url":"https://api.github.com/users/GustavoCaso/followers","following_url":"https://api.github.com/users/GustavoCaso/following{/other_user}","gists_url":"https://api.github.com/users/GustavoCaso/gists{/gist_id}","starred_url":"https://api.github.com/users/GustavoCaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GustavoCaso/subscriptions","organizations_url":"https://api.github.com/users/GustavoCaso/orgs","repos_url":"https://api.github.com/users/GustavoCaso/repos","events_url":"https://api.github.com/users/GustavoCaso/events{/privacy}","received_events_url":"https://api.github.com/users/GustavoCaso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-19T08:15:45Z","updated_at":"2015-11-02T07:48:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jgnatch/mountain_view/pulls/27","html_url":"https://github.com/jgnatch/mountain_view/pull/27","diff_url":"https://github.com/jgnatch/mountain_view/pull/27.diff","patch_url":"https://github.com/jgnatch/mountain_view/pull/27.patch"},"body":"This pull request is related with the #24 issue.\r\n\r\nThis will let user to add meta information about the component, in their `#{component}.yml` file.\r\nI didn't know the best way of configuring this so I changed a liitle the structure of the `yml` file, now you need to have `stubs` that would be an array of components.\r\n\r\nThere could be some problems for supporting previous components, so I added a extra check on the display of the component, to check it follow the correct format `stubs_correct_format?` so that way if in the future we change the format the user will know. Also if the user have previous stubs it will show the correct format to him thanks to this method `stub_example`, it will show an example component `yml` file.\r\n\r\nI will wait for your feedback"},"comment":{"url":"https://api.github.com/repos/jgnatch/mountain_view/issues/comments/152944792","html_url":"https://github.com/jgnatch/mountain_view/pull/27#issuecomment-152944792","issue_url":"https://api.github.com/repos/jgnatch/mountain_view/issues/27","id":152944792,"user":{"login":"GustavoCaso","id":4672858,"avatar_url":"https://avatars.githubusercontent.com/u/4672858?v=3","gravatar_id":"","url":"https://api.github.com/users/GustavoCaso","html_url":"https://github.com/GustavoCaso","followers_url":"https://api.github.com/users/GustavoCaso/followers","following_url":"https://api.github.com/users/GustavoCaso/following{/other_user}","gists_url":"https://api.github.com/users/GustavoCaso/gists{/gist_id}","starred_url":"https://api.github.com/users/GustavoCaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GustavoCaso/subscriptions","organizations_url":"https://api.github.com/users/GustavoCaso/orgs","repos_url":"https://api.github.com/users/GustavoCaso/repos","events_url":"https://api.github.com/users/GustavoCaso/events{/privacy}","received_events_url":"https://api.github.com/users/GustavoCaso/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T07:48:39Z","updated_at":"2015-11-02T07:48:39Z","body":"@kitop I have no idea such helper exists, the problem is using `srtip_heredoc` will place the `example_stubs` just below the `:stubs:` array and we don't want that.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4672858/10876605/5d64cbb2-813e-11e5-8484-2411789ad4b4.png)\r\n\r\nA part from this is there anything else you would do differently.\r\n\r\nI will wait for your feedback @kitop  "}}