diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-29 22:22:40 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 23:46:58 +0900 |
commit | 75f5e710434fbe6d709e6895c8c9328c9e92962e (patch) | |
tree | 6dfb5f976e3065ab78198748b249ac190fcde4a5 | |
parent | 3d1bc4a44cf7197d3148d829c4f527e9afbf1ea6 (diff) | |
download | gitlab-ce-75f5e710434fbe6d709e6895c8c9328c9e92962e.tar.gz |
Add rufus-scheduler to Gemfile
-rw-r--r-- | Gemfile | 3 | ||||
-rw-r--r-- | Gemfile.lock | 1 | ||||
-rw-r--r-- | lib/ci/cron_parser.rb | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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' diff --git a/Gemfile.lock b/Gemfile.lock index 50ca9af7a7a..e4603df5f7f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) diff --git a/lib/ci/cron_parser.rb b/lib/ci/cron_parser.rb index 163cfc86aa7..24c4dd676dc 100644 --- a/lib/ci/cron_parser.rb +++ b/lib/ci/cron_parser.rb @@ -1,5 +1,3 @@ -require 'rufus-scheduler' # Included in sidekiq-cron - module Ci class CronParser def initialize(cron, cron_time_zone = 'UTC') |