Low commit activity in last 3 years
No release in over a year
Mina plugin for whenever, adapted for Hanami ruby framework
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2.0
~> 3.0
~> 12.3.0

Runtime

~> 1.3
~> 1.0
 Project Readme

Gem Version Gem

Mina::Whenever::Hanami

This is a whenever plugin for mina, adapted for Hanami ruby framework. This gem was developed starting from d4be4st mina-whenever gem, huge thanks to him!

Installation

Add this line to your application's Gemfile:

gem 'mina-whenever-hanami'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-whenever-hanami

Usage

in deploy.rb

require 'mina/whenever/hanami'

set :hanami_env,    '<your-env>'

task deploy: :environment do
  deploy do
    ...
    on :launch do
      invoke :'whenever:update'
    end
  end
end

Configuration

These are the settings you can change:

set :whenever_name # default: "#{domain}_#{hanami_env}"

Maintenance and Contribution

I'll be rarely maintaining this source code due to lack of time, but i will do as much as i can to resolve any open issues. If you want to contribute, feel free to fork it, branch it and to create a pull request.