mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-30 20:10:16 +05:30
Add spectator and switch to Spectator DSL
This commit is contained in:
parent
dffe8fc49e
commit
6c0486646f
@ -40,6 +40,10 @@ shards:
|
||||
git: https://github.com/luislavena/radix.git
|
||||
version: 0.4.1
|
||||
|
||||
spectator:
|
||||
git: https://github.com/icy-arctic-fox/spectator.git
|
||||
version: 0.10.3
|
||||
|
||||
sqlite3:
|
||||
git: https://github.com/crystal-lang/crystal-sqlite3.git
|
||||
version: 0.18.0
|
||||
|
@ -28,6 +28,10 @@ dependencies:
|
||||
athena-negotiation:
|
||||
github: athena-framework/negotiation
|
||||
version: ~> 0.1.1
|
||||
development_dependencies:
|
||||
spectator:
|
||||
github: icy-arctic-fox/spectator
|
||||
version: ~> 0.10.3
|
||||
|
||||
crystal: ">= 1.0.0, < 2.0.0"
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
18
spec/spec_helper.cr
Normal file
18
spec/spec_helper.cr
Normal file
@ -0,0 +1,18 @@
|
||||
require "kemal"
|
||||
require "openssl/hmac"
|
||||
require "pg"
|
||||
require "protodec/utils"
|
||||
require "yaml"
|
||||
require "../src/invidious/helpers/*"
|
||||
require "../src/invidious/channels/*"
|
||||
require "../src/invidious/videos"
|
||||
require "../src/invidious/comments"
|
||||
require "../src/invidious/playlists"
|
||||
require "../src/invidious/search"
|
||||
require "../src/invidious/trending"
|
||||
require "spectator"
|
||||
|
||||
Spectator.configure do |config|
|
||||
config.fail_blank
|
||||
config.randomize
|
||||
end
|
Loading…
Reference in New Issue
Block a user