Sha256: daf703f5af74ccf6a0a352303700cd0840fb6b2ca76ceb277656d03ff2d90bad

Contents?: true

Size: 680 Bytes

Versions: 11

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

install_gem "bundler-audit", group: :development, require: false
binstub "bundler-audit"

if File.exist?(".github/workflows/ci.yml")
  say_git "Add bundle-audit job to CI workflow"
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
  scan_gems:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: .ruby-version
          bundler-cache: true

      - name: Scan for security vulnerabilities in Ruby dependencies
        run: bundle exec bundle-audit check --update -v

  YAML
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nextgen-0.28.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.27.1 lib/nextgen/generators/bundler_audit.rb
nextgen-0.27.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.26.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.25.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.24.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.23.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.22.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.21.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.20.0 lib/nextgen/generators/bundler_audit.rb
nextgen-0.19.0 lib/nextgen/generators/bundler_audit.rb