From 42dc1bbc4fa09067cab752e4c6f5c4496c32bee5 Mon Sep 17 00:00:00 2001 From: Dzmitry Plashchynski Date: Sat, 2 Jul 2016 21:23:34 +0300 Subject: [PATCH 1/3] Remove gitter --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index a529dd2..78a71c0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Crono — Job scheduler for Rails [![Build Status](https://travis-ci.org/plashchynski/crono.svg?branch=master)](https://travis-ci.org/plashchynski/crono) [![Code Climate](https://codeclimate.com/github/plashchynski/crono/badges/gpa.svg)](https://codeclimate.com/github/plashchynski/crono) [![security](https://hakiri.io/github/plashchynski/crono/master.svg)](https://hakiri.io/github/plashchynski/crono/master) -[![Join the chat at https://gitter.im/plashchynski/crono](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/plashchynski/crono?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Crono is a time-based background job scheduler daemon (just like Cron) for Ruby on Rails. From 77481f11433e6bf19ffe5875c219be87a99a2ac3 Mon Sep 17 00:00:00 2001 From: Dzmitry Plashchynski Date: Sat, 2 Jul 2016 21:27:55 +0300 Subject: [PATCH 2/3] Fix asterisk --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 78a71c0..d1ad428 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Currently, there is no such thing as Ruby Cron for Rails. Well, there's [Wheneve ## Requirements -Tested with latest MRI Ruby 2.2+, Rails 4.*, and Rails 5.*. +Tested with latest MRI Ruby 2.2+, Rails 4.\*, and Rails 5.\*. Other versions are untested but might work fine. From b22845cba66de76eba7964d84b6199e5ce2e08e5 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 17 Sep 2016 12:38:48 +0200 Subject: [PATCH 3/3] deprecate need to config your app name. Instead of `::Application.load_tasks` the same can be achieved by `Rails.app_class.load_tasks`, therefore not requiring the user to configure the AppName. Less margin for errors :) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1ad428..3883725 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ Here's an example of a Rake Task within a job: ```ruby # config/cronotab.rb require 'rake' -# Be sure to change AppName to your application name! -AppName::Application.load_tasks + +Rails.app_class.load_tasks class Test def perform