Skip to content

Add runnable example

Ash McKenzie requested to merge ashmckenzie/add-examples into main

Description

This MR updates README.md to include a runnable example which helps future consumers more quickly understand how the gem works.

Related Issues

As part of Add GraphQL query for the dependency proxy for ... (gitlab-org/gitlab!132877 - merged), I needed to verify the behaviour of multiple rules being defined.

Suggested version bump

  • Major (backwards incompatible changes)
  • Minor (backwards compatible changes)
  • Patch (API compatible changes)

Checklist

  • Tests have been added or updated to cover any changes in behavior
  • This does not change the API to consume this library, or a suggested version bump has been provided
  • The CHANGELOG.md has been updated
  • No new runtime dependencies have been introduced
Edited by Jessie Young

Merge request reports