A Danger plugin that detect Favro cards referenced
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lib
spec
.gitignore
.rubocop.yml
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
danger-favro.gemspec

README.md

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.