version: 2
updates:
  - package-ecosystem: bundler
    directory: /
    schedule:
      interval: daily
    allow:
      # Security updates
      - dependency-name: brakeman
        dependency-type: direct
      # Internal gems
      - dependency-name: "govuk*"
        dependency-type: direct
      - dependency-name: gds-api-adapters
        dependency-type: direct
      - dependency-name: gds-sso
        dependency-type: direct
      - dependency-name: govspeak
        dependency-type: direct
      - dependency-name: plek
        dependency-type: direct
      - dependency-name: rubocop-govuk
        dependency-type: direct
      # Framework gems
      - dependency-name: cucumber-rails
        dependency-type: direct
      - dependency-name: factory_bot_rails
        dependency-type: direct
      - dependency-name: jasmine-rails
        dependency-type: direct
      - dependency-name: rails
        dependency-type: direct
      - dependency-name: rspec
        dependency-type: direct
      - dependency-name: rspec-rails
        dependency-type: direct
      - dependency-name: sass-rails
        dependency-type: direct

  - package-ecosystem: npm
    directory: /
    schedule:
      interval: daily
    allow:
      # Internal packages
      - dependency-name: stylelint-config-gds
        dependency-type: direct
      # Framework packages
      - dependency-name: standardx
        dependency-type: direct
      - dependency-name: stylelint
        dependency-type: direct

version: 2
updates:
  - package-ecosystem: bundler
    directory: /
    schedule:
      interval: daily
    allow:
      # Security updates
      - dependency-name: brakeman
        dependency-type: direct
      # Internal gems
      - dependency-name: "govuk*"
        dependency-type: direct
      - dependency-name: gds-api-adapters
        dependency-type: direct
      - dependency-name: gds-sso
        dependency-type: direct
      - dependency-name: govspeak
        dependency-type: direct
      - dependency-name: plek
        dependency-type: direct
      - dependency-name: rubocop-govuk
        dependency-type: direct
      # Framework gems
      - dependency-name: cucumber-rails
        dependency-type: direct
      - dependency-name: factory_bot_rails
        dependency-type: direct
      - dependency-name: jasmine-rails
        dependency-type: direct
      - dependency-name: mongoid
        dependency-type: direct
      - dependency-name: rails
        dependency-type: direct
      - dependency-name: rspec
        dependency-type: direct
      - dependency-name: rspec-rails
        dependency-type: direct
      - dependency-name: sass-rails
        dependency-type: direct

  - package-ecosystem: npm
    directory: /
    schedule:
      interval: daily
    allow:
      # Internal packages
      - dependency-name: stylelint-config-gds
        dependency-type: direct
      # Framework packages
      - dependency-name: standardx
        dependency-type: direct
      - dependency-name: stylelint
        dependency-type: direct

Add mongoid to Dependabot configuration
Add mongoid to Dependabot configuration

The lack of mongoid updates blocked rails from being updated to 6.1. We
should allow dependabot to raise mongoid bump PRs to avoid this
situation again.
