mirror of
https://github.com/iv-org/instances-api.git
synced 2024-11-26 23:20:22 +00:00
Update dependencies
This commit is contained in:
parent
771b0b31b2
commit
1a07a52113
@ -13,6 +13,6 @@ dependencies:
|
||||
github: kemalcr/kemal
|
||||
version: ~> 0.26.1
|
||||
|
||||
crystal: 0.33.0
|
||||
crystal: 0.34.0
|
||||
|
||||
license: AGPLv3
|
||||
|
@ -156,6 +156,8 @@ def sort_instances(instances, sort_by)
|
||||
compare = first <=> sort.call(b[0], b[1]).as(Float64)
|
||||
when String
|
||||
compare = first <=> sort.call(b[0], b[1]).as(String)
|
||||
else
|
||||
raise "Invalid proc"
|
||||
end
|
||||
break if compare != 0
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user