fwal / danger-favro

A Danger plugin that detect Favro cards referenced

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Danger plugin that detect Favro cards referenced

License:MIT License


Languages

Language:Ruby 100.0%