Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies (#764)

* shard: update to crystal 0.31.0

Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115.

Also fix some deprecation warnings using the following commands:

    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
    sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
This commit is contained in:
leonklingele
2019-09-24 19:31:33 +02:00
committed by Omar Roth
parent 1085ca4a2d
commit 1aefc5b540
29 changed files with 125 additions and 146 deletions

View File

@@ -11,14 +11,14 @@ targets:
dependencies:
pg:
github: will/crystal-pg
version: ~> 0.18.1
version: ~> 0.19.0
sqlite3:
github: crystal-lang/crystal-sqlite3
version: ~> 0.13.0
version: ~> 0.14.0
kemal:
github: kemalcr/kemal
version: ~> 0.26.0
crystal: 0.30.1
crystal: 0.31.0
license: AGPLv3