Sha256: 4501964aa2856cd408784507dc30e038b01c127f3975b4f5ff791bfcb47594a2

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rubocop"
require "yard"

task :rubocop do
  status = RuboCop::CLI.new.run(["--display-cop-names"])
  raise "failed with status #{status}" unless status.zero?
end

task :test do
  $LOAD_PATH.unshift(File.expand_path("../test", __FILE__))

  FileList["test/**/*.rb"].each do |test_file|
    require "./#{test_file}"
  end

  raise unless Minitest.run
end

task :doc do
  YARD::CLI::Yardoc.run("--no-private", "lib/**/*.rb", "-", "README.md", "LICENSE.txt")
end

task :default => [:rubocop, :test]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
speculation-0.4.2 Rakefile
speculation-0.4.0 Rakefile
speculation-0.3.1 Rakefile