https://github.com/code-lever/mina-rollbar
Mina tasks for Rollbar
https://github.com/code-lever/mina-rollbar
Last synced: 12 months ago
JSON representation
Mina tasks for Rollbar
- Host: GitHub
- URL: https://github.com/code-lever/mina-rollbar
- Owner: code-lever
- License: mit
- Created: 2014-08-22T00:36:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T14:30:03.000Z (over 7 years ago)
- Last Synced: 2025-03-25T19:46:25.254Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 23.4 KB
- Stars: 9
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Mina::Rollbar [](https://travis-ci.org/code-lever/mina-rollbar) [](https://codeclimate.com/github/code-lever/mina-rollbar)
[Mina](https://github.com/mina-deploy/mina) tasks for interacting with [Rollbar](http://rollbar.com).
Adds the following tasks:
rollbar:notify
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'mina-rollbar', require: false
```
And then execute:
$ bundle
## Usage
require 'mina/rollbar'
...
# replace value w/your real access token
set :rollbar_access_token, 'this-is-not-a-real-token'
task deploy: :environment do
deploy do
...
to :launch do
...
invoke :'rollbar:notify'
end
end
end
## Options
| Name | Description |
| ---------------------------- | ------------------------------------------------------ |
| `rollbar_access_token` | Rollbar access token (post_server_item token) |
| `rollbar_username` | Rollbar username of deploying user (optional) |
| `rollbar_local_username` | Local username of deploying user (optional) |
| `rollbar_comment` | Comment for this deployment (optional) |
| `rollbar_env` | Deployment environment string, defaults to `rails_env` |
## Contributing
1. Fork it ( https://github.com/code-lever/mina-rollbar/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request