From 160fc006b559343122f2d5ea81dc39f0bf5afb37 Mon Sep 17 00:00:00 2001 From: moe Date: Mon, 29 Jun 2020 00:48:19 +0200 Subject: [PATCH] Update for Crystal 0.35.1 --- .github/workflows/crystal.yml | 4 +--- .tool-versions | 1 + shard.yml | 3 +-- src/suzuri.cr | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 .tool-versions diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml index b7b45f8..3bf6d9f 100644 --- a/.github/workflows/crystal.yml +++ b/.github/workflows/crystal.yml @@ -7,14 +7,12 @@ jobs: runs-on: ubuntu-latest container: - image: crystallang/crystal + image: crystallang/crystal:0.35.1 steps: - uses: actions/checkout@v2 - name: Install packages run: apt update && apt install -y wget - - name: Patch shard.yml until https://github.com/didactic-drunk/zstd.cr/pull/2 is released - run: "sed -i 's/version: ~> 1.1.0/branch: master/' shard.yml" - name: Install dependencies run: shards install - name: Run tests diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..6a1399d --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +crystal 0.35.1 diff --git a/shard.yml b/shard.yml index 528d20f..0340fd3 100644 --- a/shard.yml +++ b/shard.yml @@ -7,7 +7,7 @@ authors: description: | Authenticated and encrypted tokens -crystal: 0.34.0 +crystal: 0.35.1 license: MIT @@ -26,4 +26,3 @@ development_dependencies: ameba: github: crystal-ameba/ameba - version: ~> 0.12.0 diff --git a/src/suzuri.cr b/src/suzuri.cr index 9f2d873..a2f6da2 100644 --- a/src/suzuri.cr +++ b/src/suzuri.cr @@ -3,7 +3,7 @@ require "zstd" require "base64" module Suzuri - VERSION = "1.0.0" + VERSION = "1.0.1" # Encodes a Suzuri token. #