Rakefile in currency_select-2.0.0 vs Rakefile in currency_select-3.0.0
- old
+ new
@@ -10,5 +10,10 @@
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "currency_select #{version}"
rdoc.rdoc_files.include('README.md')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+desc 'Runs RuboCop for checking the Ruby files.'
+task :rubocop do
+ sh 'rubocop lib/ rails/ spec/ currency_select.gemspec Gemfile Rakefile'
+end