Capistrano::Tempo (Tempostrano)
Notify Tempo about Capistrano deployments. These instructions are for Capistrano 3.
Requirements
- Capistrano >= 3.1.0
- Ruby >= 2.0
- A Tempo account
Installation
Add this line to your application's Gemfile:
gem 'tempostrano', require: false
And then execute:
$ bundle
Or install it yourself as:
$ gem install tempostrano
Usage
Load this gem in Capfile:
# Capfile
require 'tempostrano'
Setup your Tempo credentials in deploy.rb
set :tempo_url, "_YOUR_TEMPO_URL"
set :tempo_api_token, "_YOUR_API_TOKEN_HERE"
set :tempo_project, "My project ID or Slug"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request