ruby gem that creates pinging loop, preventing heroku dyno from falling asleep.
Ruby
Switch branches/tags
Clone or download
Latest commit 4505804 Dec 28, 2014
Permalink
Failed to load latest commit information.
lib bump version to 1.3.2 Jul 11, 2014
spec specs enhancements Dec 27, 2014
.gitignore init Aug 4, 2012
.travis.yml fix travis testing Dec 27, 2014
Gemfile init Aug 4, 2012
README.md add travis build status img to readme Nov 24, 2013
Rakefile init Aug 4, 2012
dynopoker.gemspec specs Nov 23, 2013

README.md

DynoPoker Build Status

Dynopoker is a gem which prevent your Heroku dyno from falling asleep.

Inspired and sponsored by http://wakemydyno.com

Idea

Dynopoker will command your app to ping itself every 30 minutes.

Installation

Put this line into your Gemfile:

gem 'dynopoker'

Usage

Add this configuration to your config file:

Dynopoker.configure do |config|
	config.address = 'http://wakemydyno.com'
#  config.enable = false # default is true
#  config.poke_frequency = 123 # default is 1800s (30min)
end

TODO

Dynopoker is already doing what it was designed for. No extra features are needed. Code is very simple and well written. I recently added specs but I feel that those specs could be written better. Feel free to contribute.