Rakefile in danger-todoist-1.1.0 vs Rakefile in danger-todoist-1.2.0
- old
+ new
@@ -1,23 +1,23 @@
-require 'bundler/gem_tasks'
-require 'rspec/core/rake_task'
-require 'rubocop/rake_task'
+require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+require "rubocop/rake_task"
RSpec::Core::RakeTask.new(:specs)
task default: :specs
task :spec do
- Rake::Task['specs'].invoke
- Rake::Task['rubocop'].invoke
- Rake::Task['spec_docs'].invoke
+ Rake::Task["specs"].invoke
+ Rake::Task["rubocop"].invoke
+ Rake::Task["spec_docs"].invoke
end
-desc 'Run RuboCop on the lib/specs directory'
+desc "Run RuboCop on the lib/specs directory"
RuboCop::RakeTask.new(:rubocop) do |task|
- task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
+ task.patterns = ["lib/**/*.rb", "spec/**/*.rb"]
end
-desc 'Ensure that the plugin passes `danger plugins lint`'
+desc "Ensure that the plugin passes `danger plugins lint`"
task :spec_docs do
- sh 'bundle exec danger plugins lint'
+ sh "bundle exec danger plugins lint"
end