1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added delayed_job_web gem for easier insight into jobs queues

This commit is contained in:
2019-01-07 19:52:52 +00:00
parent ba1be7fea7
commit aaf21d6e92
3 changed files with 18 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ gem 'puma'
gem 'passenger'
gem 'tzinfo-data'
gem 'daemons'
gem 'delayed_job_web'
group :development do
gem 'rubocop'

View File

@@ -71,6 +71,11 @@ GEM
delayed_job_active_record (4.1.3)
activerecord (>= 3.0, < 5.3)
delayed_job (>= 3.0, < 5)
delayed_job_web (1.4.3)
activerecord (> 3.0.0)
delayed_job (> 2.0.3)
rack-protection (>= 1.5.5)
sinatra (>= 1.4.4)
devise (4.5.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
@@ -140,6 +145,7 @@ GEM
minitest (5.11.3)
multi_json (1.13.1)
multipart-post (2.0.0)
mustermann (1.0.3)
mysql2 (0.5.2)
net-http-persistent (2.9.4)
net-http-pipeline (1.0.1)
@@ -161,6 +167,8 @@ GEM
json
websocket (~> 1.0)
rack (2.0.6)
rack-protection (2.0.5)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.2)
@@ -216,6 +224,11 @@ GEM
ruby-progressbar (1.10.0)
sdoc (1.0.0)
rdoc (>= 5.0)
sinatra (2.0.5)
mustermann (~> 1.0)
rack (~> 2.0)
rack-protection (= 2.0.5)
tilt (~> 2.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (3.7.2)
@@ -233,6 +246,7 @@ GEM
ref
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.9)
travis (1.8.9)
backports
faraday (~> 0.9)
@@ -276,6 +290,7 @@ DEPENDENCIES
daemons
dalli
delayed_job_active_record
delayed_job_web
devise
hakiri
jbuilder

View File

@@ -62,6 +62,8 @@ Wrestling::Application.routes.draw do
get "/api/index" => "api#index"
post "/api/tournaments/new" => "newTournament"
match "/delayed_job" => DelayedJobWeb, :anchor => false, :via => [:get, :post]
# Example of regular route:
# get 'products/:id' => 'catalog#view'