{"action":"created","issue":{"url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/5","repository_url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers","labels_url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/5/comments","events_url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/5/events","html_url":"https://github.com/Hirevo/epitech-c-cpp-headers/issues/5","id":303830397,"number":5,"title":"Bug with header description when generated from the filename","user":{"login":"MrYannKee","id":26308036,"avatar_url":"https://avatars0.githubusercontent.com/u/26308036?v=4","gravatar_id":"","url":"https://api.github.com/users/MrYannKee","html_url":"https://github.com/MrYannKee","followers_url":"https://api.github.com/users/MrYannKee/followers","following_url":"https://api.github.com/users/MrYannKee/following{/other_user}","gists_url":"https://api.github.com/users/MrYannKee/gists{/gist_id}","starred_url":"https://api.github.com/users/MrYannKee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrYannKee/subscriptions","organizations_url":"https://api.github.com/users/MrYannKee/orgs","repos_url":"https://api.github.com/users/MrYannKee/repos","events_url":"https://api.github.com/users/MrYannKee/events{/privacy}","received_events_url":"https://api.github.com/users/MrYannKee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T12:48:13Z","updated_at":"2018-03-11T15:34:24Z","closed_at":null,"author_association":"NONE","body":"## Description\r\nWhen leaving the description field blank, if the filename contains the same characters as the file extension, it cuts the filename in an unexpected way.\r\n\r\n## Examples\r\n### Example 1\r\nFile name: `particle_manager.c`\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** partile_manager.\r\n*/\r\n```\r\nExpected result:\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** particle_manager\r\n*/\r\n```\r\n### Example 2\r\nFile name: `this_is_a_test.h`\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** tis_is_a_test.\r\n*/\r\n```\r\nExpected result:\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** this_is_a_test\r\n*/\r\n```\r\n### Example 3\r\nFile name: `this_cpp_file.cpp`\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** this__file.cp\r\n*/\r\n```\r\nExpected result:\r\n```\r\n/*\r\n** EPITECH PROJECT, 2018\r\n** project\r\n** File description:\r\n** this_cpp_file\r\n*/\r\n```"},"comment":{"url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/comments/372124230","html_url":"https://github.com/Hirevo/epitech-c-cpp-headers/issues/5#issuecomment-372124230","issue_url":"https://api.github.com/repos/Hirevo/epitech-c-cpp-headers/issues/5","id":372124230,"user":{"login":"Hirevo","id":4294633,"avatar_url":"https://avatars1.githubusercontent.com/u/4294633?v=4","gravatar_id":"","url":"https://api.github.com/users/Hirevo","html_url":"https://github.com/Hirevo","followers_url":"https://api.github.com/users/Hirevo/followers","following_url":"https://api.github.com/users/Hirevo/following{/other_user}","gists_url":"https://api.github.com/users/Hirevo/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirevo/subscriptions","organizations_url":"https://api.github.com/users/Hirevo/orgs","repos_url":"https://api.github.com/users/Hirevo/repos","events_url":"https://api.github.com/users/Hirevo/events{/privacy}","received_events_url":"https://api.github.com/users/Hirevo/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T15:34:24Z","updated_at":"2018-03-11T15:34:24Z","author_association":"OWNER","body":"Hello,\r\n\r\nSorry for the delay, I've got quite a lot of things to do these past few weeks.\r\nThanks a lot for reporting the issue.\r\nI see that you managed to fix it in PR #6.\r\nThis bug was introduced in the last update and you now use the same method than I used to generate the class names from the filename.\r\nThanks again for the bug report and I'll approve your PR.\r\n\r\nHave a nice day."}}
{"actor":{"display_login":"Hirevo"}}