Sha256: be588725887ac3565eeaed6756588bdaa92c15bbdc5998338ae8dc7b4432406a

Contents?: true

Size: 1.28 KB

Versions: 11

Compression:

Stored size: 1.28 KB

Contents

namespace :bake do
  namespace :code_quality do
    desc 'Deprecated - Runs all code quality checks'
    task :all do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc 'Deprecated - check for trailing spaces'
    task :trailing_spaces do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc %(Deprecated - check for legacy 'it "should blah"' style specs)
    task :shoulds do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc 'Deprecated - check for debugger statements'
    task :debugger do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc 'Deprecated - check for binding.pry statements'
    task :pry do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc 'Deprecated - check for console.log'
    task :console_log do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end

    desc 'Deprecated - check for Time.now; should use Time.now.utc or Time.current'
    task :time_check do
      RakeNBake::Baker.log_warn "This has been deprecated, use the rubocop task instead"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rake-n-bake-3.1.2 tasks/code_quality.rake
rake-n-bake-3.1.1 tasks/code_quality.rake
rake-n-bake-3.1.0 tasks/code_quality.rake
rake-n-bake-3.0.0 tasks/code_quality.rake
rake-n-bake-2.1.4 tasks/code_quality.rake
rake-n-bake-2.1.3 tasks/code_quality.rake
rake-n-bake-2.1.2 tasks/code_quality.rake
rake-n-bake-2.1.1 tasks/code_quality.rake
rake-n-bake-2.1.0 tasks/code_quality.rake
rake-n-bake-2.0.1 tasks/code_quality.rake
rake-n-bake-2.0.0 tasks/code_quality.rake