diff --git a/.rubocop-disables.yml b/.rubocop-disables.yml index a9742d2..9e3741a 100644 --- a/.rubocop-disables.yml +++ b/.rubocop-disables.yml @@ -200,11 +200,10 @@ Style/Lambda: Layout/LeadingCommentSpace: Enabled: false -# TODO -# Offense count: 218 -# Configuration parameters: AllowURI. Metrics/LineLength: - Max: 340 + Exclude: + - 'spec/**/*.rb' + - 'Rakefile' # TODO # Offense count: 28 diff --git a/Rakefile b/Rakefile index f804fdb..39b9873 100644 --- a/Rakefile +++ b/Rakefile @@ -70,8 +70,8 @@ namespace :all do task :build => ['ruby:build'] + \ WindowsPlatforms.map {|p| "windows:#{p}:build"} - desc "Create tag v#{RestClient::VERSION} and for all platforms build and push " \ - "rest-client #{RestClient::VERSION} to Rubygems" + desc "Create tag v#{RestClient::VERSION} and for all platforms build and " \ + "push rest-client #{RestClient::VERSION} to Rubygems" task :release => ['build', 'ruby:release'] + \ WindowsPlatforms.map {|p| "windows:#{p}:push"}