From e9cb010f09dfdb153526ac8061e87923b3a0f972 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Mon, 18 May 2015 15:50:10 +0300 Subject: [PATCH] fix rubocop warnings --- lib/CHANGELOG.md | 2 ++ lib/github_changelog_generator/fetcher.rb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/CHANGELOG.md b/lib/CHANGELOG.md index 745eb59..cfdcefc 100644 --- a/lib/CHANGELOG.md +++ b/lib/CHANGELOG.md @@ -6,6 +6,8 @@ **Merged pull requests:** +- this pr will be closed and shouldn't appear in changelog [\#7](https://github.com/skywinder/changelog_test/pull/7) ([skywinder](https://github.com/skywinder)) + - This PR SHOULD NOT appear in change log! [\#6](https://github.com/skywinder/changelog_test/pull/6) ([skywinder](https://github.com/skywinder)) - Add automatically generated change log file. [\#5](https://github.com/skywinder/changelog_test/pull/5) ([skywinder](https://github.com/skywinder)) diff --git a/lib/github_changelog_generator/fetcher.rb b/lib/github_changelog_generator/fetcher.rb index 3ee31b3..00fbb7a 100644 --- a/lib/github_changelog_generator/fetcher.rb +++ b/lib/github_changelog_generator/fetcher.rb @@ -26,12 +26,12 @@ module GitHubChangelogGenerator @project = @options[:project] @github_token = fetch_github_token @tag_times_hash = {} - github_options = {per_page: PER_PAGE_NUMBER} + github_options = { per_page: PER_PAGE_NUMBER } github_options[:oauth_token] = @github_token unless @github_token.nil? github_options[:endpoint] = options[:github_endpoint] unless options[:github_endpoint].nil? github_options[:site] = options[:github_endpoint] unless options[:github_site].nil? - @github = check_github_response{Github.new github_options} + @github = check_github_response { Github.new github_options } end # Returns GitHub token. First try to use variable, provided by --token option,