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

Mina::AppSignal Build Status Code Climate

Mina tasks for interacting with AppSignal.

Adds the following tasks:

appsignal:notify

Installation

Add this line to your application's Gemfile:

gem 'mina-appsignal', require: false

And then execute:

$ bundle

Usage

Note: Currently requires curl to be present on the server for notifications to be sent. Patches happily accepted to improve this limitation!

If you are using a config/appsignal.yml file, you need only:

require 'mina/appsignal'

...

task deploy: :environment do
  deploy do
    ...

    to :launch do
      ...
      invoke :'appsignal:notify'
    end
  end
end

If not, you'll need to set some options.

Options

Name Description
appsignal_api_key AppSignal push api key
Read from config/appsignal.yml or ENV['APPSIGNAL_PUSH_API_KEY'] if available
appsignal_app_name AppSignal application name
Read from config/appsignal.yml or ENV['APPSIGNAL_APP_NAME'] if available
appsignal_local_username Local username of deploying user (optional)

Contributing

  1. Fork it ( https://github.com/code-lever/mina-appsignal/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