mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Deploying to gh-pages from  @ d8c32f0045 🚀
				
					
				
			This commit is contained in:
		
							parent
							
								
									8d0a0f7c6a
								
							
						
					
					
						commit
						c1e843ec60
					
				
					 103 changed files with 19232 additions and 1880 deletions
				
			
		|  | @ -131,6 +131,11 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/AST/TopLevelNodesVisitor" data-name="ameba::ast::toplevelnodesvisitor"> | ||||
|       <a href="../Ameba/AST/TopLevelNodesVisitor.html">TopLevelNodesVisitor</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/AST/Util" data-name="ameba::ast::util"> | ||||
|       <a href="../Ameba/AST/Util.html">Util</a> | ||||
|        | ||||
|  | @ -221,9 +226,19 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Issue" data-name="ameba::issue"> | ||||
|   <li class="parent " data-id="ameba/Ameba/Issue" data-name="ameba::issue"> | ||||
|       <a href="../Ameba/Issue.html">Issue</a> | ||||
|        | ||||
|         <ul> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Issue/Status" data-name="ameba::issue::status"> | ||||
|       <a href="../Ameba/Issue/Status.html">Status</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
| </ul> | ||||
| 
 | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" current" data-id="ameba/Ameba/Reportable" data-name="ameba::reportable"> | ||||
|  | @ -286,6 +301,11 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Lint/DuplicatedRequire" data-name="ameba::rule::lint::duplicatedrequire"> | ||||
|       <a href="../Ameba/Rule/Lint/DuplicatedRequire.html">DuplicatedRequire</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Lint/EmptyEnsure" data-name="ameba::rule::lint::emptyensure"> | ||||
|       <a href="../Ameba/Rule/Lint/EmptyEnsure.html">EmptyEnsure</a> | ||||
|        | ||||
|  | @ -361,6 +381,11 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Lint/SpecFocus" data-name="ameba::rule::lint::specfocus"> | ||||
|       <a href="../Ameba/Rule/Lint/SpecFocus.html">SpecFocus</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Lint/Syntax" data-name="ameba::rule::lint::syntax"> | ||||
|       <a href="../Ameba/Rule/Lint/Syntax.html">Syntax</a> | ||||
|        | ||||
|  | @ -421,11 +446,36 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/AnyInsteadOfEmpty" data-name="ameba::rule::performance::anyinsteadofempty"> | ||||
|       <a href="../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">AnyInsteadOfEmpty</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang"> | ||||
|       <a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/CompactAfterMap" data-name="ameba::rule::performance::compactaftermap"> | ||||
|       <a href="../Ameba/Rule/Performance/CompactAfterMap.html">CompactAfterMap</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/FirstLastAfterFilter" data-name="ameba::rule::performance::firstlastafterfilter"> | ||||
|       <a href="../Ameba/Rule/Performance/FirstLastAfterFilter.html">FirstLastAfterFilter</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/FlattenAfterMap" data-name="ameba::rule::performance::flattenaftermap"> | ||||
|       <a href="../Ameba/Rule/Performance/FlattenAfterMap.html">FlattenAfterMap</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/MapInsteadOfBlock" data-name="ameba::rule::performance::mapinsteadofblock"> | ||||
|       <a href="../Ameba/Rule/Performance/MapInsteadOfBlock.html">MapInsteadOfBlock</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Performance/SizeAfterFilter" data-name="ameba::rule::performance::sizeafterfilter"> | ||||
|       <a href="../Ameba/Rule/Performance/SizeAfterFilter.html">SizeAfterFilter</a> | ||||
|        | ||||
|  | @ -446,6 +496,11 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Style/IsAFilter" data-name="ameba::rule::style::isafilter"> | ||||
|       <a href="../Ameba/Rule/Style/IsAFilter.html">IsAFilter</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Style/IsANil" data-name="ameba::rule::style::isanil"> | ||||
|       <a href="../Ameba/Rule/Style/IsANil.html">IsANil</a> | ||||
|        | ||||
|  | @ -501,6 +556,11 @@ | |||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Style/VerboseBlock" data-name="ameba::rule::style::verboseblock"> | ||||
|       <a href="../Ameba/Rule/Style/VerboseBlock.html">VerboseBlock</a> | ||||
|        | ||||
|     </li> | ||||
|    | ||||
|   <li class=" " data-id="ameba/Ameba/Rule/Style/WhileTrue" data-name="ameba::rule::style::whiletrue"> | ||||
|       <a href="../Ameba/Rule/Style/WhileTrue.html">WhileTrue</a> | ||||
|        | ||||
|  | @ -611,7 +671,7 @@ | |||
|   </h2> | ||||
|    | ||||
|      | ||||
|       <a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L3" target="_blank"> | ||||
|       <a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L3" target="_blank"> | ||||
|         ameba/reportable.cr | ||||
|       </a> | ||||
|      | ||||
|  | @ -637,40 +697,40 @@ | |||
|   <ul class="list-summary"> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,location:Crystal::Location?,end_location:Crystal::Location?,message,status=nil)-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Crystal::Location?, end_location : Crystal::Location?, message, status = <span class="n">nil</span>)</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue to the list of issues.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,**args)-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32), message, **args)</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue for <em>location</em> and <em>end_location</em> defined by line and column numbers.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,location:Tuple(Int32,Int32),message,**args)-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Tuple(Int32, Int32), message, **args)</a> | ||||
|         <a href="#add_issue(rule,location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Tuple(Int32, Int32), message, status : Issue::Status? = <span class="n">nil</span>) : Issue</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue for <em>location</em> defined by line and column numbers.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,node:Crystal::ASTNode,message,**args)-instance-method" class="signature"><strong>#add_issue</strong>(rule, node : Crystal::ASTNode, message, **args)</a> | ||||
|         <a href="#add_issue(rule,node:Crystal::ASTNode,message,status:Issue::Status?=nil):Issue-instance-method" class="signature"><strong>#add_issue</strong>(rule, node : Crystal::ASTNode, message, status : Issue::Status? = <span class="n">nil</span>) : Issue</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue for AST <em>node</em>.</p></div> | ||||
|           <div class="summary"><p>Adds a new issue for Crystal AST <em>node</em>.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,token:Crystal::Token,message,**args)-instance-method" class="signature"><strong>#add_issue</strong>(rule, token : Crystal::Token, message, **args)</a> | ||||
|         <a href="#add_issue(rule,token:Crystal::Token,message,status:Issue::Status?=nil):Issue-instance-method" class="signature"><strong>#add_issue</strong>(rule, token : Crystal::Token, message, status : Issue::Status? = <span class="n">nil</span>) : Issue</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue for Crystal <em>token</em>.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32), message, status : Issue::Status? = <span class="n">nil</span>) : Issue</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue for <em>location</em> and <em>end_location</em> defined by line and column numbers.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#add_issue(rule,location,end_location,message,status:Issue::Status?=nil):Issue-instance-method" class="signature"><strong>#add_issue</strong>(rule, location, end_location, message, status : Issue::Status? = <span class="n">nil</span>) : Issue</a> | ||||
|          | ||||
|           <div class="summary"><p>Adds a new issue to the list of issues.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|       <li class="entry-summary"> | ||||
|         <a href="#issues-instance-method" class="signature"><strong>#issues</strong></a> | ||||
|          | ||||
|  | @ -681,7 +741,7 @@ | |||
|       <li class="entry-summary"> | ||||
|         <a href="#valid?-instance-method" class="signature"><strong>#valid?</strong></a> | ||||
|          | ||||
|           <div class="summary"><p>Returns true if the list of not disabled issues is empty, false otherwise.</p></div> | ||||
|           <div class="summary"><p>Returns <code>true</code> if the list of not disabled issues is empty, <code>false</code> otherwise.</p></div> | ||||
|          | ||||
|       </li> | ||||
|      | ||||
|  | @ -709,54 +769,12 @@ | |||
|     Instance Method Detail | ||||
|   </h2> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,location:Crystal::Location?,end_location:Crystal::Location?,message,status=nil)-instance-method"> | ||||
|     <div class="entry-detail" id="add_issue(rule,location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, location : Crystal::Location?, end_location : Crystal::Location?, message, status = <span class="n">nil</span>) | ||||
|         def <strong>add_issue</strong>(rule, location : Tuple(Int32, Int32), message, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>) : <a href="../Ameba/Issue.html">Issue</a> | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,location:Crystal::Location?,end_location:Crystal::Location?,message,status=nil)-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Adds a new issue to the list of issues.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L8" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,**args)-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32), message, **args) | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,**args)-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Adds a new issue for <em>location</em> and <em>end_location</em> defined by line and column numbers.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L30" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,location:Tuple(Int32,Int32),message,**args)-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, location : Tuple(Int32, Int32), message, **args) | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,location:Tuple(Int32,Int32),message,**args)-instance-method">#</a> | ||||
|         <a class="method-permalink" href="#add_issue(rule,location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|  | @ -767,38 +785,38 @@ | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L24" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L28" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,node:Crystal::ASTNode,message,**args)-instance-method"> | ||||
|     <div class="entry-detail" id="add_issue(rule,node:Crystal::ASTNode,message,status:Issue::Status?=nil):Issue-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, node : Crystal::ASTNode, message, **args) | ||||
|         def <strong>add_issue</strong>(rule, node : Crystal::ASTNode, message, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>) : <a href="../Ameba/Issue.html">Issue</a> | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,node:Crystal::ASTNode,message,**args)-instance-method">#</a> | ||||
|         <a class="method-permalink" href="#add_issue(rule,node:Crystal::ASTNode,message,status:Issue::Status?=nil):Issue-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Adds a new issue for AST <em>node</em>.</p> | ||||
|           <p>Adds a new issue for Crystal AST <em>node</em>.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L14" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L18" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,token:Crystal::Token,message,**args)-instance-method"> | ||||
|     <div class="entry-detail" id="add_issue(rule,token:Crystal::Token,message,status:Issue::Status?=nil):Issue-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, token : Crystal::Token, message, **args) | ||||
|         def <strong>add_issue</strong>(rule, token : Crystal::Token, message, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>) : <a href="../Ameba/Issue.html">Issue</a> | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,token:Crystal::Token,message,**args)-instance-method">#</a> | ||||
|         <a class="method-permalink" href="#add_issue(rule,token:Crystal::Token,message,status:Issue::Status?=nil):Issue-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|  | @ -809,7 +827,49 @@ | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L19" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L23" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32), message, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>) : <a href="../Ameba/Issue.html">Issue</a> | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,location:Tuple(Int32,Int32),end_location:Tuple(Int32,Int32),message,status:Issue::Status?=nil):Issue-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Adds a new issue for <em>location</em> and <em>end_location</em> defined by line and column numbers.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L36" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|    | ||||
|     <div class="entry-detail" id="add_issue(rule,location,end_location,message,status:Issue::Status?=nil):Issue-instance-method"> | ||||
|       <div class="signature"> | ||||
|          | ||||
|         def <strong>add_issue</strong>(rule, location, end_location, message, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>) : <a href="../Ameba/Issue.html">Issue</a> | ||||
| 
 | ||||
|         <a class="method-permalink" href="#add_issue(rule,location,end_location,message,status:Issue::Status?=nil):Issue-instance-method">#</a> | ||||
|       </div> | ||||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Adds a new issue to the list of issues.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L8" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -830,7 +890,7 @@ | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L5" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L5" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -845,13 +905,13 @@ | |||
|        | ||||
|         <div class="doc"> | ||||
|            | ||||
|           <p>Returns true if the list of not disabled issues is empty, false otherwise.</p> | ||||
|           <p>Returns <code>true</code> if the list of not disabled issues is empty, <code>false</code> otherwise.</p> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/51b0a07e/src/ameba/reportable.cr#L37" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/d8c32f00/src/ameba/reportable.cr#L46" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue