From 63b3ee34655b3d571b8e481e6035d311dd2d5f70 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 24 Mar 2015 19:10:04 +0300 Subject: [PATCH] fix rubocop Style/HashSyntax cop --- .rubocop_rubyzip.yml | 6 ------ Rakefile | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.rubocop_rubyzip.yml b/.rubocop_rubyzip.yml index 89f490f7..ad495ea4 100644 --- a/.rubocop_rubyzip.yml +++ b/.rubocop_rubyzip.yml @@ -144,12 +144,6 @@ Style/FormatString: Style/GuardClause: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: SupportedStyles. -Style/HashSyntax: - EnforcedStyle: hash_rockets - # Offense count: 1 # Cop supports --auto-correct. Style/InfiniteLoop: diff --git a/Rakefile b/Rakefile index 368c28fa..44a9b287 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,7 @@ require 'bundler/gem_tasks' require 'rake/testtask' -task :default => :test +task default: :test Rake::TestTask.new(:test) do |test| test.libs << 'lib'