Skip to content

Commit

Permalink
Updated for Crystal 0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Jan 27, 2021
1 parent 08751cd commit b11bfe0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 9 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/brotli-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 6 * * 6'
jobs:
build:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Install Crystal
uses: oprypin/install-crystal@v1.3.0
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec
- name: Generate docs
run: crystal doc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
SINGLE_COMMIT: true
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Crystal Brotli
![CI](https://github.com/naqvis/brotli/workflows/CI/badge.svg)
[![GitHub release](https://img.shields.io/github/release/naqvis/brotli.svg)](https://github.com/naqvis/brotli/releases)
[![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://naqvis.github.io/brotli/)

Crystal bindings to the [Brotli](https://github.com/google/brotli) compression library.

Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: brotli
version: 0.1.3
version: 0.1.4

authors:
- Ali Naqvi <syed.alinaqvi@gmail.com>
description: |
Crystal bindings to the Brotli compression library.
crystal: 0.35.1
crystal: 0.36.0

license: MIT
2 changes: 1 addition & 1 deletion src/brotli.cr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `Brotli` Crystal Wrapper
module Compress::Brotli
VERSION = "0.1.3"
VERSION = "0.1.4"

class BrotliError < Exception
end
Expand Down

0 comments on commit b11bfe0

Please sign in to comment.