Sha256: 76a3cbe154303d4c9c56ace07307741007cff8ab9d21b38cbbc5c4fd429ec72a
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop//rake_task' require 'yard' require 'yard/rake/yardoc_task' require 'code_statistics' RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) task default: :spec require 'version' require 'rake/version_task' Rake::VersionTask.new YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', '-', 'doc/**/*', 'spec/**/*_spec.rb'] t.options += ['-o', 'yardoc'] end YARD::Config.load_plugin('yard-rspec') namespace :yardoc do task :clobber do begin rm_r 'yardoc' rescue StandardError nil end begin rm_r '.yardoc' rescue StandardError nil end begin rm_r 'pkg' rescue StandardError nil end end end task clobber: 'yardoc:clobber' desc 'Run CVE security audit over bundle' task :audit do system('bundle audit') end desc 'Run dead line of code detection' task :debride do system('debride -w .debride_whitelist .') end desc 'Run SBOM CycloneDX Xml format file' task :sbom do system('cyclonedx-ruby -p .') end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
rack-rest-rspec-1.0.0 | Rakefile |
simple-annotations-1.0.0 | Rakefile |