Update dependencies

This commit is contained in:
Omar Roth 2020-04-09 11:50:29 -05:00
parent 771b0b31b2
commit 1a07a52113
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,6 @@ dependencies:
github: kemalcr/kemal github: kemalcr/kemal
version: ~> 0.26.1 version: ~> 0.26.1
crystal: 0.33.0 crystal: 0.34.0
license: AGPLv3 license: AGPLv3

View File

@ -156,6 +156,8 @@ def sort_instances(instances, sort_by)
compare = first <=> sort.call(b[0], b[1]).as(Float64) compare = first <=> sort.call(b[0], b[1]).as(Float64)
when String when String
compare = first <=> sort.call(b[0], b[1]).as(String) compare = first <=> sort.call(b[0], b[1]).as(String)
else
raise "Invalid proc"
end end
break if compare != 0 break if compare != 0
end end