Sha256: 1bc3e0e69b3c8c00b0999fc14592db84639ee89ddc76e6eefe895404103e9ac2
Contents?: true
Size: 364 Bytes
Versions: 38
Compression:
Stored size: 364 Bytes
Contents
begin require 'cane/rake_task' require 'simplecov' desc 'Run cane to check quality metrics' Cane::RakeTask.new(:quality) do |cane| cane.abc_max = 10 cane.add_threshold SimpleCov.result.covered_percent, :>=, 99 cane.no_style = true cane.canefile = '.cane' end rescue LoadError warn 'cane not available, quality task not provided.' end
Version data entries
38 entries across 19 versions & 1 rubygems