Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
/ danger-favro Public archive

A Danger plugin that detect Favro cards referenced

License

Notifications You must be signed in to change notification settings

fwal/danger-favro

Repository files navigation

Warning This repository is no longer maintained


danger-favro

Build Status Coveralls Gem

A Danger plugin that detect Favro cards referenced in code or PR title and displays basic information about them.

Example

Example

Usage

Initiate the check
favro.check(
  user_name: "api-user",
  api_token: "api-token",
  organization_id: "org-id",
  key: "Test"
)
Environment variables can also be used.
ENV["DANGER_FAVRO_USER_NAME"] = "api-user"
ENV["DANGER_FAVRO_API_TOKEN"] = "api-token"
ENV["DANGER_FAVRO_ORGANIZATION_ID"] = "org-id"

favro.check(key: "Test")

Methods

check - Check for cards.

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.