Sha256: ce0360eab84124fa1676f20f2749364d4857a7780e2a1f861c92549ac927501d

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

require 'yaml'

namespace :lint do
  begin
    require 'rspec/core/rake_task'

    RSpec::Core::RakeTask.new(:yaml)
  rescue LoadError => e
    task :spec do
      abort "Please run `gem install rspec` to install RSpec."
    end
  end
end

desc "Sync GitHub RubyGem Advisories into this project"
task :sync_github_advisories do
  require_relative "lib/github_advisory_sync"
  GitHub::GitHubAdvisorySync.sync
end

task :lint    => ['lint:yaml']
task :default => :lint

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundler-audit-0.7.0.1 data/ruby-advisory-db/Rakefile