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
version: ~> 0.26.1
crystal: 0.33.0
crystal: 0.34.0
license: AGPLv3

View file

@ -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