Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Mar 26, 2021
1 parent f1d3027 commit f28a97d
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 115 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Result

[![Build Status](https://travis-ci.com/Nicolab/crystal-result.svg?branch=master)](https://travis-ci.com/Nicolab/crystal-result) [![GitHub release](https://img.shields.io/github/release/Nicolab/crystal-result.svg)](https://github.com/Nicolab/crystal-result/releases) [![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nicolab.github.io/crystal-result/)
[![CI Status](https://github.com/Nicolab/crystal-result/workflows/CI/badge.svg?branch=master)](https://github.com/Nicolab/crystal-result/actions) [![GitHub release](https://img.shields.io/github/release/Nicolab/crystal-result.svg)](https://github.com/Nicolab/crystal-result/releases) [![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nicolab.github.io/crystal-result/)

∠(・.-)―〉 →◎ `Result` adds _Monadic Error Handling_ capabilities to [Crystal lang](https://crystal-lang.org), inspired by `Result` in _Rust_ lang, Monad and the _Elixir_ lang approach (state return).

Expand All @@ -14,7 +14,7 @@ Adapted to be productive in Crystal and [Domain-Driven Design (DDD)](https://en.
dependencies:
result:
github: nicolab/crystal-result
version: ~> 2.0.0 # Check the latest version!
version: ~> 2.0.1 # Check the latest version!
```

2. Run `shards install`
Expand Down
38 changes: 5 additions & 33 deletions docs/Err.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.35.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="generator" content="Crystal Docs 0.36.1">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="crystal_docs.project_name" content="result">


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

<meta name="repository-name" content="result">
<title>Err(T) - result master</title>
<title>Err(T) - result master-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -39,7 +39,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master
master-dev
</span>
</div>
</div>
Expand Down Expand Up @@ -124,9 +124,7 @@ <h2>
</h2>


<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">
result.cr
</a>
result.cr

<br/>

Expand Down Expand Up @@ -415,8 +413,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -446,8 +442,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -477,8 +471,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -508,8 +500,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -529,8 +519,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -545,8 +533,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -576,8 +562,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -607,8 +591,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -638,8 +620,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -673,8 +653,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -731,8 +709,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -753,8 +729,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -775,8 +749,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down
36 changes: 5 additions & 31 deletions docs/Ok.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.35.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="generator" content="Crystal Docs 0.36.1">
<meta name="crystal_docs.project_version" content="master-dev">
<meta name="crystal_docs.project_name" content="result">


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

<meta name="repository-name" content="result">
<title>Ok(T) - result master</title>
<title>Ok(T) - result master-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -39,7 +39,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
master
master-dev
</span>
</div>
</div>
Expand Down Expand Up @@ -124,9 +124,7 @@ <h2>
</h2>


<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">
result.cr
</a>
result.cr

<br/>

Expand Down Expand Up @@ -407,8 +405,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -436,8 +432,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -465,8 +459,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -494,8 +486,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -515,8 +505,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -531,8 +519,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -560,8 +546,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -589,8 +573,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -624,8 +606,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down Expand Up @@ -682,8 +662,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -703,8 +681,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand All @@ -724,8 +700,6 @@ <h2>
<br/>
<div>

[<a href="https://github.com/Nicolab/crystal-result/blob/faa4096d4e3b62fb39c6f75091d1bcfbb2972ddf/src/result.cr#L8" target="_blank">View source</a>]

</div>
</div>

Expand Down

0 comments on commit f28a97d

Please sign in to comment.