Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Bump ChefSpec and Rubocop dependencies, fix deprecation warnings in R…
Browse files Browse the repository at this point in the history
…uboCop excludes
  • Loading branch information
bflad committed Jun 9, 2014
1 parent 30f6bc6 commit da71ddb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ AllCops:
- Guardfile
- Rakefile
Exclude:
- test/**
- vendor/**
- ruby/**
- test/**/*
- vendor/**/*
- ruby/**/*

AlignParameters:
Enabled: false
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ group :test, :integration do
end

group :test do
gem 'chefspec', '~> 3.4'
gem 'chefspec', '~> 4.0'
gem 'foodcritic', '~> 3.0.3'
gem 'rubocop', '~> 0.20'
gem 'rubocop', '~> 0.23'
end

group :integration do
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace :style do
begin
require 'rubocop/rake_task'
desc 'Run Ruby style checks'
Rubocop::RakeTask.new(:ruby)
RuboCop::RakeTask.new(:ruby)
rescue LoadError
puts '>>>>> Rubocop gem not loaded, omitting tasks' unless ENV['CI']
end
Expand Down

0 comments on commit da71ddb

Please sign in to comment.