Sha256: c162f4ba02d60fdbd1acce1f3e4f79e97460be3c764e3aa34c4c610da5498c73

Contents?: true

Size: 622 Bytes

Versions: 4

Compression:

Stored size: 622 Bytes

Contents

# frozen_string_literal: true

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')

require 'rubycritic_small_badge'
require 'rubycritic/rake_task'

RubyCriticSmallBadge.configure do |config|
  config.minimum_score = ENV.fetch('RUBYCRITICLIMIT', 90.0)
end

RubyCritic::RakeTask.new do |task|
  task.options = %(--custom-format RubyCriticSmallBadge::Report
--minimum-score #{RubyCriticSmallBadge.config.minimum_score}
--format html --format console)
  task.paths = FileList['lib/**/*.rb']
end

# If you want to make this the default task
task default: :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rabbitmq_client-0.0.3 Rakefile
rabbitmq_client-0.0.2 Rakefile
rabbitmq_client-0.0.1 Rakefile
rabbitmq_client-0.0.0.pre Rakefile