Sha256: a12b6582a0244a9b0013c22d10ff40e2256caf4bc41e556d024a4a5cd95f41cd

Contents?: true

Size: 646 Bytes

Versions: 33

Compression:

Stored size: 646 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "net/http"
require "net/https"

RSpec::Core::RakeTask.new

begin
  require "rdoc/task"
rescue LoadError
  require "rdoc/rdoc"
  require "rake/rdoctask"
  RDoc::Task = Rake::RDocTask
end

begin
  require "rubocop/rake_task"
  RuboCop::RakeTask.new
rescue LoadError
  task(:rubocop) { $stderr.puts "RuboCop is disabled" }
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "SecureHeaders"
  rdoc.options << "--line-numbers"
  rdoc.rdoc_files.include("lib/**/*.rb")
end

task default: [:spec, :rubocop]

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
secure_headers-7.0.0 Rakefile
secure_headers-6.7.0 Rakefile
secure_headers-6.6.0 Rakefile
secure_headers-6.5.0 Rakefile
secure_headers-6.4.0 Rakefile
secure_headers-6.3.4 Rakefile
secure_headers-6.3.3 Rakefile
secure_headers-6.3.2 Rakefile
secure_headers-6.3.1 Rakefile
secure_headers-5.2.0 Rakefile
secure_headers-6.3.0 Rakefile
secure_headers-5.1.0 Rakefile
secure_headers-6.2.0 Rakefile
secure_headers-6.1.2 Rakefile
secure_headers-6.1.1 Rakefile
secure_headers-6.1.0 Rakefile
secure_headers-6.0.0 Rakefile
secure_headers-6.0.0.alpha03 Rakefile
secure_headers-6.0.0.alpha02 Rakefile
secure_headers-6.0.0.alpha01 Rakefile