Commit e1b562c
authored
Build(deps): Bump active_storage_validations from 2.0.3 to 3.0.0 (#855)
Bumps
[active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations)
from 2.0.3 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/igorkasyanchuk/active_storage_validations/releases">active_storage_validations's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Allow to perform <code>dimension</code> / <code>aspect_ratio</code>
validations on single page pdf (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/374">igorkasyanchuk/active_storage_validations#374</a>)</li>
<li>Added <code>pages</code> validator to validate pdf number of
pages.</li>
<li>Added <code>equal_to</code> option to <code>duration</code>,
<code>size</code> and <code>total_size</code> validators.</li>
</ul>
<p>Version 3 comes with the ability to support single page pdf dimension
/ aspect_ratio analysis, we had to make a breaking change:</p>
<ul>
<li>To analyze PDFs, you must install the <code>poppler</code> PDF
processing dependency
<ul>
<li>It's a Rails-supported PDF processing dependency (<a
href="https://guides.rubyonrails.org/active_storage_overview.html#requirements">https://guides.rubyonrails.org/active_storage_overview.html#requirements</a>)</li>
<li>To install it, check their documentation at this <a
href="https://pdf2image.readthedocs.io/en/latest/installation.html">link</a>.</li>
<li>To check if it's installed, execute <code>pdftoppm -h</code>.</li>
<li>To install this tool in your CI / production environments, you can
check how we do it in our own CI (<a
href="https://github.com/igorkasyanchuk/active_storage_validations/blob/master/.github/workflows/main.yml">https://github.com/igorkasyanchuk/active_storage_validations/blob/master/.github/workflows/main.yml</a>)</li>
</ul>
</li>
</ul>
<p>Note that, if you do not perform <code>dimension</code> /
<code>aspect_ratio</code> validations on pdf, the gem will work the same
as in version 2 without any breaking change.</p>
<h2>2.0.4</h2>
<ul>
<li>Fix issue when updating a child record through a parent (like:
<code>parent_model.update(child_attributes: { image: file })</code>) for
Rails >= 8.0.2 (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/378">igorkasyanchuk/active_storage_validations#378</a>)</li>
<li>Fix issue causing a stack error too deep edge case (not
reproductible) because of the <code>after:
:load_config_initializers</code> option (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/382">igorkasyanchuk/active_storage_validations#382</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/igorkasyanchuk/active_storage_validations/blob/master/CHANGES.md">active_storage_validations's
changelog</a>.</em></p>
<blockquote>
<ul>
<li>
<p>3.0.0</p>
<ul>
<li>Allow to perform dimension / aspect_ratio validations on single page
pdf (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/374">igorkasyanchuk/active_storage_validations#374</a>)</li>
<li>Added <code>pages</code> validator to validate pdf number of pages
(<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/374">igorkasyanchuk/active_storage_validations#374</a>)</li>
<li>Added <code>equal_to</code> option to <code>duration</code>,
<code>size</code>and <code>total_size</code> validators (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/386">igorkasyanchuk/active_storage_validations#386</a>)</li>
</ul>
<p>Version 3 comes with the ability to support single page pdf dimension
/ aspect_ratio analysis, we had to make a breaking change:</p>
<ul>
<li>To analyze PDFs, you must install the <code>poppler</code> PDF
processing dependency
<ul>
<li>It's a Rails-supported PDF processing dependency (<a
href="https://guides.rubyonrails.org/active_storage_overview.html#requirements">https://guides.rubyonrails.org/active_storage_overview.html#requirements</a>)</li>
<li>To install it, check their documentation at this <a
href="https://pdf2image.readthedocs.io/en/latest/installation.html">link</a>.</li>
<li>To check if it's installed, execute <code>pdftoppm -h</code>.</li>
<li>To install this tool in your CI / production environments, you can
check how we do it in our own CI (<a
href="https://github.com/igorkasyanchuk/active_storage_validations/blob/master/.github/workflows/main.yml">https://github.com/igorkasyanchuk/active_storage_validations/blob/master/.github/workflows/main.yml</a>)</li>
</ul>
</li>
</ul>
<p>Note that, if you do not perform dimension / aspect_ratio validations
on pdf, the gem will work the same as in version 2 without any breaking
change.</p>
</li>
<li>
<p>2.0.4</p>
<ul>
<li>Fix issue when updating a child record through a parent (like:
parent_model.update(child_attributes: { image: file })) for Rails >=
8.0.2 (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/378">igorkasyanchuk/active_storage_validations#378</a>)</li>
<li>Fix issue causing a stack error too deep edge case (not
reproductible) because of the <code>after:
:load_config_initializers</code> option (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/pull/382">igorkasyanchuk/active_storage_validations#382</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/e17919dae10d8707c0715fd1c9f277b43ef9faa9"><code>e17919d</code></a>
new release preparation</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/e322c1a01df6387b4d113852acf24097b6264893"><code>e322c1a</code></a>
Merge pull request <a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/issues/386">#386</a>
from igorkasyanchuk/385-validator-add-equal_to-option...</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/410973f0ed11b888dcae2eab642b9f8239a5ba1e"><code>410973f</code></a>
[Validators] Add 'equal_to' option (<a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/issues/385">#385</a>)</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/692ed854c9390896f1c826071b80faee213f168a"><code>692ed85</code></a>
Merge pull request <a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/issues/374">#374</a>
from igorkasyanchuk/370-dimension-validator-fails-on-pdf</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/83075d2bad73d90516d8ea9195b00d8385fc182b"><code>83075d2</code></a>
[Test] Improve method name</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/e28fdce3649bb395348658c62e0444205a43b1ad"><code>e28fdce</code></a>
[README] Add missing title</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/3b955db91ddefb54da7c80a3dbfb77e8376d9e9f"><code>3b955db</code></a>
Merge branch 'master' into 370-dimension-validator-fails-on-pdf</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/e8285d226a62c60441adbd4846cf5ca2d2334084"><code>e8285d2</code></a>
Merge pull request <a
href="https://redirect.github.com/igorkasyanchuk/active_storage_validations/issues/384">#384</a>
from Nymuxyzo/add-metadata</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/d7f313a40fc753f1136e037efff0c8c4b8b989bd"><code>d7f313a</code></a>
Add metadata infos</li>
<li><a
href="https://github.com/igorkasyanchuk/active_storage_validations/commit/82dfc8a3a1e75c92813a28e38c59262d359570a3"><code>82dfc8a</code></a>
new release preparation</li>
<li>Additional commits viewable in <a
href="https://github.com/igorkasyanchuk/active_storage_validations/compare/2.0.3...3.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments