From 99966cc18706180dc51ba12d3bb9b3b4cac070d2 Mon Sep 17 00:00:00 2001 From: Ali Naqvi Date: Wed, 24 Mar 2021 23:27:56 +0800 Subject: [PATCH] Upgraded for Crystal 1.0 --- .github/workflows/brotli-ci.yml | 1 + shard.yml | 4 ++-- src/brotli.cr | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/brotli-ci.yml b/.github/workflows/brotli-ci.yml index 2f76576..6f1192d 100644 --- a/.github/workflows/brotli-ci.yml +++ b/.github/workflows/brotli-ci.yml @@ -30,6 +30,7 @@ jobs: - name: Generate docs run: crystal doc - name: Deploy + if: github.ref == 'refs/heads/main' uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/shard.yml b/shard.yml index 9c1f876..2424472 100644 --- a/shard.yml +++ b/shard.yml @@ -1,11 +1,11 @@ name: brotli -version: 0.1.4 +version: 0.1.5 authors: - Ali Naqvi description: | Crystal bindings to the Brotli compression library. -crystal: 0.36.0 +crystal: ">= 0.36.0, < 2.0.0" license: MIT diff --git a/src/brotli.cr b/src/brotli.cr index 09b9e4d..1362e52 100644 --- a/src/brotli.cr +++ b/src/brotli.cr @@ -1,6 +1,6 @@ # `Brotli` Crystal Wrapper module Compress::Brotli - VERSION = "0.1.4" + VERSION = "0.1.5" class BrotliError < Exception end