Sha256: 224a27547cdfd2ba27da8881f9dd4779222b3ee0e612e1f45390515b2e2c44ef

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 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 release --tag --push")
  Rake::Task["changelog"].invoke
  sh("./update_docs.sh")
  sh("gem bump")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stub_requests-0.1.9 Rakefile
stub_requests-0.1.8 Rakefile