Deploying to gh-pages from @ ae29754de5 🚀

This commit is contained in:
Sija 2022-03-08 11:21:07 +00:00
parent 31225906f7
commit 54e5c4e3ec
122 changed files with 1642 additions and 877 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -787,7 +787,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1157,7 +1157,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1327,7 +1327,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -736,7 +736,7 @@
<p>This rule is used to identify usage of arg-less <code>Enumerable#any?</code> calls.</p>
<p>Using <code>Enumerable#any?</code> instead of <code>Enumerable#empty?</code> might lead to an
unexpected results (like <code>[nil, false].any? # => false</code>). In some cases
unexpected results (like <code>[nil, false].any? # =&gt; false</code>). In some cases
it also might be less efficient, since it iterates until the block will
return a <em>truthy</em> value, instead of just checking if there's at least
one value present.</p>
@ -789,7 +789,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -1181,7 +1181,7 @@ one value present.</p>
<p>This rule is used to identify usage of arg-less <code>Enumerable#any?</code> calls.</p>
<p>Using <code>Enumerable#any?</code> instead of <code>Enumerable#empty?</code> might lead to an
unexpected results (like <code>[nil, false].any? # => false</code>). In some cases
unexpected results (like <code>[nil, false].any? # =&gt; false</code>). In some cases
it also might be less efficient, since it iterates until the block will
return a <em>truthy</em> value, instead of just checking if there's at least
one value present.</p>
@ -1212,7 +1212,7 @@ one value present.</p>
<p>This rule is used to identify usage of arg-less <code>Enumerable#any?</code> calls.</p>
<p>Using <code>Enumerable#any?</code> instead of <code>Enumerable#empty?</code> might lead to an
unexpected results (like <code>[nil, false].any? # => false</code>). In some cases
unexpected results (like <code>[nil, false].any? # =&gt; false</code>). In some cases
it also might be less efficient, since it iterates until the block will
return a <em>truthy</em> value, instead of just checking if there's at least
one value present.</p>
@ -1228,7 +1228,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1370,7 +1370,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -803,7 +803,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1022,7 +1022,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1064,7 +1064,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -799,7 +799,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -1277,7 +1277,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1447,7 +1447,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1463,7 +1463,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -782,7 +782,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1142,7 +1142,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1284,7 +1284,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1300,7 +1300,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -786,7 +786,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1164,7 +1164,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1334,7 +1334,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1350,7 +1350,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -782,7 +782,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1142,7 +1142,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1284,7 +1284,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1300,7 +1300,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -783,7 +783,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -1145,7 +1145,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1287,7 +1287,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -793,7 +793,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1180,7 +1180,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1350,7 +1350,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1366,7 +1366,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
</div>
</div>