From faf2ddd5526132f4a4be075c30ad0e04844aa826 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 27 Oct 2017 08:49:52 +0200 Subject: [PATCH] Linting --- github_changelog_generator.gemspec | 10 +++++----- lib/github_changelog_generator/parser.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/github_changelog_generator.gemspec b/github_changelog_generator.gemspec index 40c748b..709959b 100644 --- a/github_changelog_generator.gemspec +++ b/github_changelog_generator.gemspec @@ -24,11 +24,11 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_runtime_dependency "rake", ">= 10.0" - spec.add_runtime_dependency "rainbow", ">= 2.2.1" - spec.add_runtime_dependency("octokit", ["~> 4.6"]) - spec.add_runtime_dependency("faraday-http-cache") spec.add_runtime_dependency("activesupport") - spec.add_runtime_dependency("retriable", ["~> 3.0"]) + spec.add_runtime_dependency("faraday-http-cache") spec.add_runtime_dependency("multi_json") + spec.add_runtime_dependency("octokit", ["~> 4.6"]) + spec.add_runtime_dependency "rainbow", ">= 2.2.1" + spec.add_runtime_dependency "rake", ">= 10.0" + spec.add_runtime_dependency("retriable", ["~> 3.0"]) end diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index 4e9fbbb..48b97c6 100755 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -109,7 +109,7 @@ module GitHubChangelogGenerator opts.on("--include-labels x,y,z", Array, "Only issues with the specified labels will be included in the changelog.") do |list| options[:include_labels] = list end - opts.on("--exclude-labels x,y,z", Array, 'Issues with the specified labels will be always excluded from changelog. Default is \'duplicate,question,invalid,wontfix\'') do |list| + opts.on("--exclude-labels x,y,z", Array, "Issues with the specified labels will be always excluded from changelog. Default is 'duplicate,question,invalid,wontfix'") do |list| options[:exclude_labels] = list end opts.on("--bug-labels x,y,z", Array, 'Issues with the specified labels will be always added to "Fixed bugs" section. Default is \'bug,Bug\'') do |list|