Skip to content

Commit

Permalink
v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Apr 18, 2021
1 parent 93ff867 commit 738e227
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions docs/Check.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ <h2>
message: <span class="s">&quot;Wrong type&quot;</span>,
},
}

<span class="k">def</span> <span class="m">initialize</span>(@title, @content)
init_props
<span class="k">end</span>
<span class="k">end</span>

<span class="c"># Triggered on all data</span>
Expand Down
7 changes: 4 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ <h2><a id="installation" class="anchor" href="#installation">

<pre><code class="language-yaml">dependencies:
validator:
github: nicolab/crystal-validator
version: ~> 1.6.0 # Check the latest version!</code></pre>
github: nicolab/crystal-validator</code></pre>

<ol><li>Run <code>shards install</code></li></ol>

Expand Down Expand Up @@ -282,7 +281,9 @@ <h3><a id="validation-rules" class="anchor" href="#validation-rules">
},
}

<span class="k">def</span> <span class="m">initialize</span>(@email, @age); <span class="k">end</span>
<span class="k">def</span> <span class="m">initialize</span>(@email, @age)
init_props
<span class="k">end</span>

<span class="c"># ---------------------------------------------------------------------------</span>
<span class="c"># Lifecycle methods (hooks)</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/search-index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: validator
version: 1.7.0
version: 1.8.0
crystal: ">= 0.35.0"
license: MIT

Expand All @@ -17,9 +17,9 @@ crystalline:
dependencies:
prop:
github: nicolab/crystal-prop
version: ~> 0.3.0
version: ~> 0.4.0

development_dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 0.14.1
version: ~> 0.14.2

0 comments on commit 738e227

Please sign in to comment.