Skip to content

Commit 0d4bbe8

Browse files
authored
chore(deps-dev): bump i18n-tasks from 1.0.15 to 1.1.0 (#1147)
Bumps [i18n-tasks](https://github.com/glebm/i18n-tasks) from 1.0.15 to 1.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/glebm/i18n-tasks/releases">i18n-tasks's releases</a>.</em></p> <blockquote> <h2>v1.1.0</h2> <ul> <li>Dropping support for Ruby &lt; 3.1 <a href="https://redirect.github.com/glebm/i18n-tasks/pull/631">#631</a></li> <li>OpenAI translator now uses language names instead of locale codes. <a href="https://redirect.github.com/glebm/i18n-tasks/pull/630">#630</a></li> <li>Renames RubyAstScanner to RubyScanner (deprecated RubyAstScanner name).</li> <li>Adds Prism as a dependency.</li> <li>Merges PrismScanner into RubyScanner, now configured with:</li> </ul> <pre lang="yaml"><code>search: prism: &quot;rails&quot; </code></pre> <p>to use the Prism scanner with more Rails support and</p> <pre lang="yaml"><code>search: prism: &quot;ruby&quot; </code></pre> <p>to use the Prism Scanner without Rails support.</p> <ul> <li>Implements ERB-scanner using Prism, activated with same config as above. <ul> <li>The Prism-based scanner handles comments differently vs the <code>whitequark/parser</code>-based scanner does.</li> <li>The usage will be for the magic comment line instead of the subsequent line.</li> <li>This should not affect the results of the CLI tasks.</li> </ul> </li> <li>Loads environment variables via <code>dotenv</code> if available. <a href="https://redirect.github.com/glebm/i18n-tasks/issues/395">#395</a></li> <li>Adds CLI command <code>check-prism</code> to try the new parser out and see the differences in key detection.</li> <li>The Prism-based scanner supports candidate_keys for Rails translations, allowing relative translations in controllers to match either the key scoped to controller and action or only to the controller.</li> <li>Translation services now catch errors and save partial results <a href="https://redirect.github.com/glebm/i18n-tasks/issues/642">#642</a></li> <li>Prism: Skips translations form cyclic calls instead of throwing error.</li> <li>Adds own client for Google Translate instead of <code>easy_translate</code> gem.</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jbockler"><code>@​jbockler</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/629">glebm/i18n-tasks#629</a></li> <li><a href="https://github.com/broekhuis00"><code>@​broekhuis00</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/635">glebm/i18n-tasks#635</a></li> <li><a href="https://github.com/moguls753"><code>@​moguls753</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/641">glebm/i18n-tasks#641</a></li> <li><a href="https://github.com/danimashu"><code>@​danimashu</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/650">glebm/i18n-tasks#650</a></li> <li><a href="https://github.com/fernandomm"><code>@​fernandomm</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/653">glebm/i18n-tasks#653</a></li> <li><a href="https://github.com/timdiggins"><code>@​timdiggins</code></a> made their first contribution in <a href="https://redirect.github.com/glebm/i18n-tasks/pull/675">glebm/i18n-tasks#675</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/glebm/i18n-tasks/compare/v1.0.15...v1.1.0">https://github.com/glebm/i18n-tasks/compare/v1.0.15...v1.1.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/glebm/i18n-tasks/blob/main/CHANGES.md">i18n-tasks's changelog</a>.</em></p> <blockquote> <h2>v1.1.0</h2> <ul> <li>Dropping support for Ruby &lt; 3.1 <a href="https://redirect.github.com/glebm/i18n-tasks/pull/631">#631</a></li> <li>OpenAI translator now uses language names instead of locale codes. <a href="https://redirect.github.com/glebm/i18n-tasks/pull/630">#630</a></li> <li>Renames RubyAstScanner to RubyScanner (deprecated RubyAstScanner name).</li> <li>Adds Prism as a dependency.</li> <li>Merges PrismScanner into RubyScanner, now configured with:</li> </ul> <pre lang="yaml"><code>search: prism: &quot;rails&quot; </code></pre> <p>to use the Prism scanner with more Rails support and</p> <pre lang="yaml"><code>search: prism: &quot;ruby&quot; </code></pre> <p>to use the Prism Scanner without Rails support.</p> <ul> <li>Implements ERB-scanner using Prism, activated with same config as above. <ul> <li>The Prism-based scanner handles comments differently vs the <code>whitequark/parser</code>-based scanner does.</li> <li>The usage will be for the magic comment line instead of the subsequent line.</li> <li>This should not affect the results of the CLI tasks.</li> </ul> </li> <li>Loads environment variables via <code>dotenv</code> if available. <a href="https://redirect.github.com/glebm/i18n-tasks/issues/395">#395</a></li> <li>Adds CLI command <code>check-prism</code> to try the new parser out and see the differences in key detection.</li> <li>The Prism-based scanner supports candidate_keys for Rails translations, allowing relative translations in controllers to match either the key scoped to controller and action or only to the controller.</li> <li>Translation services now catch errors and save partial results <a href="https://redirect.github.com/glebm/i18n-tasks/issues/642">#642</a></li> <li>Prism: Skips translations form cyclic calls instead of throwing error.</li> <li>Adds own client for Google Translate instead of <code>easy_translate</code> gem.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/glebm/i18n-tasks/commit/4e0564c28f7da523cb206a77840c3092f25137c9"><code>4e0564c</code></a> Bump to v1.1.0</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/6e743f9fb7fa86caa93eb373cb2e892d2b989a6c"><code>6e743f9</code></a> Google translate: Adds own API implementation (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/681">#681</a>)</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/a51e66756076be4485bb21ff2734d9b88b79b87b"><code>a51e667</code></a> Prism: model_name.human handles more count values</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/97fbcf1c7210641279fe0adc384ffcf9e271da46"><code>97fbcf1</code></a> Prism: Skip cyclic methods instead of failing</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/c289d90ce1ffb933a992b13e29741d796422a4e1"><code>c289d90</code></a> Fix task name typo in readme (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/678">#678</a>)</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/1e0b8f064ae7163be3ca83e92e05562b25953de9"><code>1e0b8f0</code></a> OpenAI: custom temperature (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/673">#673</a>)</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/f5ca65c20953162ac04ae05822f01daa55fc0ec8"><code>f5ca65c</code></a> Correct Env in README from DEEPL_API_KEY to DEEPL_AUTH_KEY</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/0262793416cb994dc1c20760dc48eabb2d4c30c9"><code>0262793</code></a> Prism: Detects more invalid scopes (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/671">#671</a>)</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/d4bf09b8ba64efd77ea5cae1eca349ce4c67a7e0"><code>d4bf09b</code></a> Translators: Catches translation errors (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/670">#670</a>)</li> <li><a href="https://github.com/glebm/i18n-tasks/commit/786f935a5b2398cbb89c476b2dd9eeedb8795f36"><code>786f935</code></a> Github Actions: Specific jruby versions (<a href="https://redirect.github.com/glebm/i18n-tasks/issues/669">#669</a>)</li> <li>Additional commits viewable in <a href="https://github.com/glebm/i18n-tasks/compare/v1.0.15...v1.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18n-tasks&package-manager=bundler&previous-version=1.0.15&new-version=1.1.0)](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>
2 parents b6c5a66 + 137e706 commit 0d4bbe8

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ group :development, :test do
6262
# Fuubar for fancy test progress bar
6363
gem 'fuubar'
6464
# Help with managing translation databasde
65-
gem 'i18n-tasks', '~> 1.0.15'
65+
gem 'i18n-tasks', '~> 1.1.0'
6666
# Pry for a powerful shell alternative to IRB
6767
gem 'pry'
6868
# RuboCop for static code analysis

Gemfile.lock

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ GEM
303303
base64
304304
faraday (>= 1, < 3)
305305
multi_json
306-
erb (5.1.3)
306+
erb (6.0.0)
307307
erubi (1.13.1)
308308
et-orbi (1.3.0)
309309
tzinfo
@@ -385,13 +385,14 @@ GEM
385385
i18n
386386
i18n (1.14.7)
387387
concurrent-ruby (~> 1.0)
388-
i18n-tasks (1.0.15)
388+
i18n-tasks (1.1.0)
389389
activesupport (>= 4.0.2)
390390
ast (>= 2.1.0)
391391
erubi
392-
highline (>= 2.0.0)
392+
highline (>= 3.0.0)
393393
i18n
394394
parser (>= 3.2.2.1)
395+
prism
395396
rails-i18n
396397
rainbow (>= 2.2.2, < 4.0)
397398
ruby-progressbar (~> 1.8, >= 1.8.1)
@@ -468,7 +469,7 @@ GEM
468469
benchmark
469470
logger
470471
mini_mime (1.1.5)
471-
minitest (5.26.0)
472+
minitest (5.26.1)
472473
mobility (1.3.2)
473474
i18n (>= 0.6.10, < 2)
474475
request_store (~> 1.0)
@@ -620,7 +621,7 @@ GEM
620621
activemodel (>= 5.0)
621622
reform (>= 2.3.1, < 3.0.0)
622623
regexp_parser (2.11.3)
623-
reline (0.6.2)
624+
reline (0.6.3)
624625
io-console (~> 0.5)
625626
representable (3.2.0)
626627
declarative (< 0.1.0)
@@ -777,7 +778,7 @@ GEM
777778
stackprof (0.2.27)
778779
stimulus-rails (1.3.4)
779780
railties (>= 6.0.0)
780-
stringio (3.1.7)
781+
stringio (3.1.8)
781782
sync (0.5.0)
782783
term-ansicolor (1.11.2)
783784
tins (~> 1.0)
@@ -865,7 +866,7 @@ DEPENDENCIES
865866
faker
866867
fog-aws
867868
fuubar
868-
i18n-tasks (~> 1.0.15)
869+
i18n-tasks (~> 1.1.0)
869870
i18n_generators
870871
listen (>= 3.0.5, < 3.10)
871872
pg (>= 0.18, < 2.0)

0 commit comments

Comments
 (0)