Skip to content

Commit

Permalink
Use Ruby 1.9+ hash syntax.
Browse files Browse the repository at this point in the history
rubocop: Style/HashSyntax
  • Loading branch information
xwmx committed Sep 16, 2015
1 parent ffb9005 commit 8e8a0b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Expand Up @@ -32,12 +32,6 @@ Style/Documentation:
Style/FileName:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues.
Style/HashSyntax:
EnforcedStyle: hash_rockets

# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -18,7 +18,7 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end

task :default => :test
task default: :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
Expand Down

0 comments on commit 8e8a0b9

Please sign in to comment.