Add rufus-scheduler to Gemfile

This commit is contained in:
Shinya Maeda 2017-03-29 22:22:40 +09:00
parent 3d1bc4a44c
commit 75f5e71043
3 changed files with 4 additions and 2 deletions

View file

@ -144,6 +144,9 @@ gem 'sidekiq-cron', '~> 0.4.4'
gem 'redis-namespace', '~> 1.5.2'
gem 'sidekiq-limit_fetch', '~> 3.4'
# Cron Parser
gem 'rufus-scheduler', '~> 3.1.10'
# HTTP requests
gem 'httparty', '~> 0.13.3'

View file

@ -987,6 +987,7 @@ DEPENDENCIES
rubocop-rspec (~> 1.12.0)
ruby-fogbugz (~> 0.2.1)
ruby-prof (~> 0.16.2)
rufus-scheduler (~> 3.1.10)
rugged (~> 0.25.1.1)
sanitize (~> 2.0)
sass-rails (~> 5.0.6)

View file

@ -1,5 +1,3 @@
require 'rufus-scheduler' # Included in sidekiq-cron
module Ci
class CronParser
def initialize(cron, cron_time_zone = 'UTC')