github-dashing
github-dashing copied to clipboard
Bump i18n from 0.7.0 to 0.8.0
Bumps i18n from 0.7.0 to 0.8.0.
Release notes
Sourced from i18n's releases.
v0.8.0
This release is the same as the v0.8.0.beta1 gem.
Notable changes
- You can now set
I18n.cache_key_digestto determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.- You can now override
translate_formatinI18n::Backendclasses to customize how localize will perform. See svenfuchs/i18n#347 for more details.- You can now interpolate the value of a key inside another key. See #300 for more information.
- The
exists?method was added to the fallback backend, to match other backend implementations - #326- Added
N_toGetText::Helpers- #121- Added a
:defaultoption forI18n.localize- #251Bug fixes
- Reverted a commit which made it so that the great documentation for
I18n.translatewasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35I18n.MissingTranslation.newcan now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295- I18n's
Hash#slicemethod no longer fails if the hash does not have the specified key - #289I18n::Backend::Metadatawill now no longer attempt to set@translation_metadataon frozen objects - #305- Added missing
manyrule topltranslation rules - #346- Calling
I18n.t(:foo, default: nil)OrI18n.t(:foo, default: false)will now returnnilorfalse, rather than returning a missing translation exception - #144- Setting
I18n.load_pathviaI18n.load_path=will now reset the@@available_locales_setsetting. - #348 & #173- The subclasses of
Hashwhen callingHash#sliceare maintained - #250- Fixed
I18n.interpolatebehaviour when it was passed anActiveSupport::SafeBufferobject - #2160.8.0.beta1
Notable changes
- You can now set
I18n.cache_key_digestto determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.- You can now override
translate_formatinI18n::Backendclasses to customize how localize will perform. See svenfuchs/i18n#347 for more details.- You can now interpolate the value of a key inside another key. See #300 for more information.
- The
exists?method was added to the fallback backend, to match other backend implementations - #326- Added
N_toGetText::Helpers- #121- Added a
:defaultoption forI18n.localize- #251Bug fixes
- Reverted a commit which made it so that the great documentation for
I18n.translatewasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35I18n.MissingTranslation.newcan now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295- I18n's
Hash#slicemethod no longer fails if the hash does not have the specified key - #289I18n::Backend::Metadatawill now no longer attempt to set@translation_metadataon frozen objects - #305- Added missing
manyrule topltranslation rules - #346- Calling
I18n.t(:foo, default: nil)OrI18n.t(:foo, default: false)will now returnnilorfalse, rather than returning a missing translation exception - #144- Setting
I18n.load_pathviaI18n.load_path=will now reset the@@available_locales_setsetting. - #348 & #173- The subclasses of
Hashwhen callingHash#sliceare maintained - #250- Fixed
I18n.interpolatebehaviour when it was passed anActiveSupport::SafeBufferobject - #216
Commits
529fc5bBump to 0.8.0d5fb5ddfix references to i18n in Gemfiles5cd5c9fAdd link to i18n guide to README27d7ab7Remove Gemfile.lock from source control4f0331dBump dependencies210feb6Update bundler7b205f2Add issue template6f3a5bbBump to 0.8.0.beta15e1af91Merge pull request #252 from Chipairon/fix-tests-for-stored-procse532e61Merge pull request #216 from bogdan/interpolate-rails-safe-buffer- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.