Skip to content

Commit

Permalink
Fix #22 Update rubocop gem
Browse files Browse the repository at this point in the history
  • Loading branch information
jhx committed Sep 27, 2014
1 parent 41a7446 commit 49628b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This is the configuration used to check the rubocop source code.

AllCops:
Includes:
Include:
- !ruby/regexp /\.gemspec$/
- Gemfile
- Rakefile
Excludes: []
- '**/Rakefile'
Exclude: []

Documentation:
Enabled: false
Expand All @@ -18,3 +18,6 @@ FileName:

HashSyntax:
EnforcedStyle: hash_rockets

Lint/UnusedBlockArgument:
Enabled: false
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ task :default => [:rubocop, :spec]
#------------------------------------------------------ ruby lint/style checks
desc 'Runs rubocop lint tool against the gem.'
task :rubocop do
Rubocop::RakeTask.new(:rubocop) do |task|
RuboCop::RakeTask.new(:rubocop) do |task|
# task.fail_on_error = true
end
end # task
2 changes: 1 addition & 1 deletion qtip2-jquery-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rails', '~> 3.2.14'
spec.add_development_dependency 'rake', '~> 10.1.0'
spec.add_development_dependency 'rspec-rails', '~> 2.14.0'
spec.add_development_dependency 'rubocop', '~> 0.19.0'
spec.add_development_dependency 'rubocop', '~> 0.26.1'
spec.add_development_dependency 'semantic', '~> 1.3.0'
spec.add_development_dependency 'sqlite3', '~> 1.3.8'
end

0 comments on commit 49628b3

Please sign in to comment.