Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #22 Update rubocop gem #23

Merged
merged 1 commit into from
Sep 24, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 github-css-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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