Rakefile in abak-flow-1.0.3 vs Rakefile in abak-flow-1.0.4
- old
+ new
@@ -1,26 +1,18 @@
require "bundler/gem_tasks"
-
-require "yard"
-require "yard-tomdoc"
require "cane/rake_task"
require "rspec/core/rake_task"
desc "Ready check"
-task default: [:quality, :coverage, :doc]
+task default: [:quality, :coverage]
RSpec::Core::RakeTask.new(:coverage) do |rspec|
- ENV["COVERAGE"] = "true"
+ ENV["C"] = "true"
end
Cane::RakeTask.new(:quality) do |cane|
cane.abc_max = 15
cane.abc_glob = cane.style_glob = cane.doc_glob = "{lib}/abak-flow/*.rb"
cane.style_exclude = %w({lib}/abak-flow/request.rb)
cane.style_measure = 120
cane.parallel = false
-end
-
-YARD::Rake::YardocTask.new(:doc) do |yard|
- yard.files = %w({apps,models,lib}/**/*.rb)
- yard.options = %w(--embed-mixins --protected --plugin tomdoc)
end
\ No newline at end of file