0.0
Low commit activity in last 3 years
No release in over a year
Notify Rollbar of Mina deployments.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
>= 0
~> 10.0
~> 3.0
>= 0

Runtime

>= 0
~> 1.0
 Project Readme

Mina::Rollbar

Mina tasks for interacting with Rollbar.

This is updated version of Mina::Rollbar. Supports separate deployment started/finished notifications in rollbar.

Adds the following tasks:

rollbar:notify:starting
rollbar:notify:finished

Installation

Add this line to your application's Gemfile:

gem 'mina-rollbar-3', 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
  run(:local) do
    invoke :'rollbar:starting'
  end

  deploy do
    ...

    on :launch do
      ...
    end
  end

  run(:local) do
    invoke :'rollbar:finished'
  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/railsblueprint/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