{"action":"created","issue":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/354","repository_url":"https://api.github.com/repos/skywinder/github-changelog-generator","labels_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/354/comments","events_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/354/events","html_url":"https://github.com/skywinder/github-changelog-generator/pull/354","id":141687455,"number":354,"title":"Parse options file options into arrays, integers, flags, and other","user":{"login":"olleolleolle","id":211,"avatar_url":"https://avatars.githubusercontent.com/u/211?v=3","gravatar_id":"","url":"https://api.github.com/users/olleolleolle","html_url":"https://github.com/olleolleolle","followers_url":"https://api.github.com/users/olleolleolle/followers","following_url":"https://api.github.com/users/olleolleolle/following{/other_user}","gists_url":"https://api.github.com/users/olleolleolle/gists{/gist_id}","starred_url":"https://api.github.com/users/olleolleolle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olleolleolle/subscriptions","organizations_url":"https://api.github.com/users/olleolleolle/orgs","repos_url":"https://api.github.com/users/olleolleolle/repos","events_url":"https://api.github.com/users/olleolleolle/events{/privacy}","received_events_url":"https://api.github.com/users/olleolleolle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"skywinder","id":3356474,"avatar_url":"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id":"","url":"https://api.github.com/users/skywinder","html_url":"https://github.com/skywinder","followers_url":"https://api.github.com/users/skywinder/followers","following_url":"https://api.github.com/users/skywinder/following{/other_user}","gists_url":"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url":"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywinder/subscriptions","organizations_url":"https://api.github.com/users/skywinder/orgs","repos_url":"https://api.github.com/users/skywinder/repos","events_url":"https://api.github.com/users/skywinder/events{/privacy}","received_events_url":"https://api.github.com/users/skywinder/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-17T19:42:02Z","updated_at":"2016-03-18T07:39:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/pulls/354","html_url":"https://github.com/skywinder/github-changelog-generator/pull/354","diff_url":"https://github.com/skywinder/github-changelog-generator/pull/354.diff","patch_url":"https://github.com/skywinder/github-changelog-generator/pull/354.patch"},"body":"The file-based `.github_changelog_generator` options support has been less than perfect. This PR wants to do the same options translation that happens in the OptionParser in the `parser.rb` file, for the file-based settings.\r\n\r\n- Respect each option's type (Array, Integer, flag, anything), according to #327 \r\n- Rename each given setting to its option, according to #312.\r\n\r\n- Q: Do we need better parsing of the array values than `#split(\",\")`? Answer: [no, this is what OptionParser's Array coercion does](http://ruby-doc.org/stdlib-2.3.0/libdoc/optparse/rdoc/OptionParser.html#class-OptionParser-label-Type+Coercion)\r\n"},"comment":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/comments/198240969","html_url":"https://github.com/skywinder/github-changelog-generator/pull/354#issuecomment-198240969","issue_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/354","id":198240969,"user":{"login":"skywinder","id":3356474,"avatar_url":"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id":"","url":"https://api.github.com/users/skywinder","html_url":"https://github.com/skywinder","followers_url":"https://api.github.com/users/skywinder/followers","following_url":"https://api.github.com/users/skywinder/following{/other_user}","gists_url":"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url":"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywinder/subscriptions","organizations_url":"https://api.github.com/users/skywinder/orgs","repos_url":"https://api.github.com/users/skywinder/repos","events_url":"https://api.github.com/users/skywinder/events{/privacy}","received_events_url":"https://api.github.com/users/skywinder/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T07:39:45Z","updated_at":"2016-03-18T07:39:45Z","body":"Very nice refactoring, @olleolleolle! :gem: \r\nDo you know, is there any way to add support of dictionaries also? It will help to implement #316"}}