Sha256: b14f1b0e0c4747eec60780b2530334355c4298dbd88aca34a7f5f41a4fd6ec90

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"

Dir.glob("#{File.expand_path(__dir__)}/lib/tasks/**/*.rake").each { |f| import f }

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

require "yard"
YARD::Rake::YardocTask.new do |t|
  t.files   = %w[lib/stub_requests/**/*.rb"]
  t.options = %w[
    --no-private
    --markup=markdown
    --markup-provider=redcarpet
    --readme README.md
  ]
end

task default: :spec

task :release do
  sh("gem bump --tag --release --push")
  sh("./update_docs.sh")
  Rake::Task["changelog"].invoke
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stub_requests-0.1.7 Rakefile
stub_requests-0.1.6 Rakefile