Skip to content

Commit

Permalink
Bump to crystal 1.12.1 (#96)
Browse files Browse the repository at this point in the history
* Bump to crystal 1.12.1

* Bump ameba and fix violations

* Bump to v9

* Regenerate docs

* Mark release 9.0.0

* Make fail fast work again

See crystal-lang/crystal#14170 for the upstream
change that broke it
  • Loading branch information
hanneskaeufler authored May 20, 2024
1 parent 3be3fa7 commit 964a15f
Show file tree
Hide file tree
Showing 108 changed files with 2,233 additions and 872 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ version: 2
jobs:
test-crystal: &test-template
docker:
- image: crystallang/crystal:1.6.1
- image: crystallang/crystal:1.12.1
steps:
- checkout
test-crystal-1.6.1:
test-crystal-1.12.1:
<<: *test-template
steps:
- checkout
Expand All @@ -29,7 +29,7 @@ workflows:
version: 2
ci:
jobs:
- test-crystal-1.6.1
- test-crystal-1.12.1
nightly:
triggers:
- schedule:
Expand All @@ -38,4 +38,4 @@ workflows:
branches:
only: master
jobs:
- test-crystal-1.6.1
- test-crystal-1.12.1
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [9.0.0] - 2024-05-20

- Support for crystal `1.5.0`. Resolves warnings.
- Support for crystal `1.12.1`. Resolves warnings.

## [8.0.1] - 2022-04-10

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHARDS_BIN ?= $(shell which shards)
SHARD_BIN ?= ../../bin
CRYSTAL_VERSION ?= 1.6.1
CRYSTAL_VERSION ?= 1.12.1

build: bin/crytic
bin/crytic:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Add this to your application's `shard.yml`:
development_dependencies:
crytic:
github: hanneskaeufler/crytic
version: ~> 8
version: ~> 9
```
After `shards install`, this will place the `crytic` executable into the `bin/` folder inside your project.
Expand Down
16 changes: 11 additions & 5 deletions docs/api/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.3.2">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="hk-bump-crystal-dev">
<meta name="crystal_docs.project_name" content="crytic">


Expand All @@ -13,7 +14,7 @@
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="crytic">
<title>crytic master-dev</title>
<title>crytic hk-bump-crystal-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -22,9 +23,14 @@

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
Expand All @@ -39,7 +45,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master-dev
hk-bump-crystal-dev
</span>
</div>
</div>
Expand Down
18 changes: 12 additions & 6 deletions docs/api/Crytic.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.3.2">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="hk-bump-crystal-dev">
<meta name="crystal_docs.project_name" content="crytic">


Expand All @@ -13,7 +14,7 @@
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="crytic">
<title>Crytic - crytic master-dev</title>
<title>Crytic - crytic hk-bump-crystal-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -22,9 +23,14 @@

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
Expand All @@ -39,7 +45,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master-dev
hk-bump-crystal-dev
</span>
</div>
</div>
Expand Down Expand Up @@ -601,7 +607,7 @@ <h2>
<dl>

<dt class="entry-const" id="VERSION">
<strong>VERSION</strong> = <code><span class="s">&quot;8.0.1&quot;</span></code>
<strong>VERSION</strong> = <code><span class="s">&quot;9.0.0&quot;</span></code>
</dt>


Expand Down
32 changes: 22 additions & 10 deletions docs/api/Crytic/Cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.3.2">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="hk-bump-crystal-dev">
<meta name="crystal_docs.project_name" content="crytic">


Expand All @@ -13,7 +14,7 @@
<script type="text/javascript" src="../js/doc.js"></script>

<meta name="repository-name" content="crytic">
<title>Crytic::Cli - crytic master-dev</title>
<title>Crytic::Cli - crytic hk-bump-crystal-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "../";
</script>
Expand All @@ -22,9 +23,14 @@

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
Expand All @@ -39,7 +45,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master-dev
hk-bump-crystal-dev
</span>
</div>
</div>
Expand Down Expand Up @@ -505,7 +511,7 @@ <h1 class="project-name">
<div class="main-content">
<h1 class="type-name">

<span class="kind">class</span> Crytic::Cli
<span class="kind">class</span> Crytic::<wbr>Cli

</h1>

Expand Down Expand Up @@ -579,6 +585,8 @@ <h2>





<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
Expand All @@ -598,8 +606,6 @@ <h2>





<div class="methods-inherited">


Expand All @@ -611,12 +617,18 @@ <h2>


















Expand Down Expand Up @@ -653,6 +665,8 @@ <h2>





<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
Expand All @@ -678,8 +692,6 @@ <h2>





</div>

</body>
Expand Down
32 changes: 22 additions & 10 deletions docs/api/Crytic/CliOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.3.2">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="hk-bump-crystal-dev">
<meta name="crystal_docs.project_name" content="crytic">


Expand All @@ -13,7 +14,7 @@
<script type="text/javascript" src="../js/doc.js"></script>

<meta name="repository-name" content="crytic">
<title>Crytic::CliOptions - crytic master-dev</title>
<title>Crytic::CliOptions - crytic hk-bump-crystal-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "../";
</script>
Expand All @@ -22,9 +23,14 @@

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
Expand All @@ -39,7 +45,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master-dev
hk-bump-crystal-dev
</span>
</div>
</div>
Expand Down Expand Up @@ -505,7 +511,7 @@ <h1 class="project-name">
<div class="main-content">
<h1 class="type-name">

<span class="kind">class</span> Crytic::CliOptions
<span class="kind">class</span> Crytic::<wbr>CliOptions

</h1>

Expand Down Expand Up @@ -587,6 +593,8 @@ <h2>





<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
Expand Down Expand Up @@ -636,8 +644,6 @@ <h2>





<div class="methods-inherited">


Expand All @@ -649,12 +655,18 @@ <h2>


















Expand Down Expand Up @@ -691,6 +703,8 @@ <h2>





<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
Expand Down Expand Up @@ -800,8 +814,6 @@ <h2>





</div>

</body>
Expand Down
Loading

0 comments on commit 964a15f

Please sign in to comment.