Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-i18n
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/ruby-i18n: update to 1.10.0 Latest version is 1.12.0, but ruby-redmine50 require before 1.11. 1.9.0 (2022-01-26) Minor version bump: The number of changes in this release are more than I would feel comfortable including in a point release. Therefore, I have bumped the minor version number here. -- @radar What's Changed * No longer rely on refinements for Hash utility methods. by @casperisfine in #573 * Fix typo: function is missing closing parenthesis by @patrickgramatowski in #585 * CI: ruby/setup-ruby with cache by @olleolleolle in #582 * Test on Ruby 3.1 & Rails 7.0x by @radar in #597 * Fix lookups of 0 keys by @movermeyer in #594 * Only deep_symbolize_keys when needed by @paarthmadan in #588 * Symbolize names and freeze values when loading from JSON by @paarthmadan in #587 * Clean up unneeded test aliases by @paarthmadan in #589 * Resolve Symbols using the original fallback locale by @movermeyer in #591 * Conditionally assert load_json returns symbolized data by @paarthmadan in #601 * Symbolize keys and freeze values when loading from YAML by @paarthmadan in #583 * fix ReDoS by @ooooooo-q in #600 * Exclude MissingTranslation options that are not used by the instance by @sundling in #581 * Remove references to default_locale in fallbacks comment by @movermeyer in #576 * API for marking a key as reserved by @ghiculescu in #579 * Fix missing requires of i18n/core_ext/hash by @razum2um in #574 * Fix ArgumentError when Fallbacks#map used as in Hash by @bagilevi in #570 New Contributors * @patrickgramatowski made their first contribution in #585 * @olleolleolle made their first contribution in #582 * @movermeyer made their first contribution in #594 * @paarthmadan made their first contribution in #588 * @ooooooo-q made their first contribution in #600 * @sundling made their first contribution in #581 * @razum2um made their first contribution in #574 1.9.1 (2022-01-28) What's Changed * Revert "Fix missing requires of i18n/core_ext/hash" by @radar in #602 * CI: Lint the GitHub Actions YAML by @olleolleolle in #604 1.10.0 (2022-02-14) What's Changed New Features * LazyLoadable Backend by @paarthmadan in #612 * Add a version badge to README by @mishina2228 in #621 Bug fixes * Remove warning: assigned but unused variable by @mishina2228 in #611 * Minor I18n.normalize_keys improvement by @codealchemy in #616 * Allow overriding of entry resolving entry resolving separate from defaults by @movermeyer in #622 Other changes * Remove pry from Gemfile as it is not used by @dvzrv in #608 New Contributors * @dvzrv made their first contribution in #608 * @mishina2228 made their first contribution in #611
devel/ruby-i18n: update to 1.5.3 1.5.3 (2019-01-21) * Fix issue where localize would return strange messages if the translation was missing - #464 1.5.2 (2019-01-14) * Fixed a bug where the required_ruby_version was not set correctly in the gemspec - #462 1.5.1 (2019-01-06) (Note that there is no v1.5.0 release. was prepping this release and found some more changes to make. So v1.5.1 is the first release for the v1.5.x series) * Fixed a regression that happened when numeric translation keys contained leading zeros: #456 / #457 * Removed support for Ruby versions older than 2.3. Ruby 2.2 is now 4 years old. Applications have had ample time to upgrade, and if they haven't done so, now is an opportune time to do so. * Removed some code that was checking for RUBY_VERSION <= 1.9 * Began testing over Ruby 2.6. 1.4.0 (2019-01-01) * Fixed two issues with i18n and JRuby compat (commit fb0c8be and #455). See #447. * Fixed issue where keys in an array were not symbolised #450 * Fixed issue where ActiveSupport::HashWithIndifferentAccess was not handled correctly #454 1.3.0 (2019-01-01) * Updated post-install message to be more explicit about what versions things changed in - #446 * Fixed a regression in backends where keys were incorrectly typecast - #443, #444, #445, etc. Please note that as of this release, only 5.x and greater versions of Rails are supported (it might help to think of it as ~> 5.0, sorta.)
devel/ruby-i18n: update to 1.1.0 1.1.0 -- 2018/08/07 * Simplified default exception handler - #414 * Fallbacks now exclude default locale - #415, possibly fixes #413 + #338 * Fixed deprecated use of assert_nothing_raised #417 * Fixed pluralization behavior for KeyValue backend with subtrees disabled - #419 * Allow yaml file extension - #421 1.0.1 -- 2018/04/18 * Removed creation of some anonymous objects in I18n - #393 * Added missing key exception_handler to reserved keys - #412 Thanks to @stereobooster and @tjoyal.
devel/ruby-i18n: update to 1.0.0 pkgsrc change: depends on devel/ruby-concurrent-ruby now. * Remove Ruby 1.9.3 support.
Update ruby-i18n to 0.8.6. v0.8.5 2017/07/10 * Improved error message for MissingPluralizationKey error - See #371 * Fixed a thread issue when calling translate when fallbacks were enabled - See #369 v0.8.6 2017/07/10 * Fixed a small regression introduced in v0.8.5 when using fallbacks - See #378
Update ruby-i18n to 0.8.4. 0.8.4 2017/05/31 * Revert "Don't allow nil to be submitted as a key to i18n.translate()" 0.8.3 2017/5/30 * I18n::Gettext#plural_keys will now return a hash from Gettext if no arguments are provided - #122 * Fixed a bug where passing false to translate would not translate that value - #367 0.8.2 2017/5/30 * Do not allow nil to be passed to translate - #236
Update ruby-i18n to 0.8.1 v0.8.1 2017/02/22 * This release fixes an issue with I18n.transliterate and Chinese characters. See #362 for more information. v0.8.0 2017/01/31 Notable changes * You can now set I18n.cache_key_digest to 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_format in I18n::Backend classes to customize how localize will perform. See #347 (comment) 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_ to GetText::Helpers - #121 * Added a :default option for I18n.localize - #251 Bug fixes * Reverted a commit which made it so that the great documentation for I18n.translate wasn't made visible through a yard documentation generation. - bc926eb * I18n.MissingTranslation.new can now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295 * I18n's Hash#slice method no longer fails if the hash does not have the specified key - #289 * I18n::Backend::Metadata will now no longer attempt to set @translation_metadata on frozen objects - #305 * Added missing many rule to pl translation rules - #346 * Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now return nil or false, rather than returning a missing translation exception - #144 * Setting I18n.load_path via I18n.load_path= will now reset the @@available_locales_set setting. - #348 & #173 * The subclasses of Hash when calling Hash#slice are maintained - #250 * Fixed I18n.interpolate behaviour when it was passed an ActiveSupport::SafeBuffer object - #216
Update ruby-i18n to 0.7.0. 0.7.0 * Drop support to Ruby 1.8.7 / REE * Drop support to Rails 2.3 / 3.0 / 3.1 * Remove deprecated stuff: - Setting :default_exception_hander Symbol to I18n.exception_handler. - normalize_translation_keys in favor of normalize_keys. - :rescue_format option on the exception handler. - enforce_available_locales now defaults to true with no deprecation message.
Pullup ticket #4275 - requested by taca
devel/ruby-i18n: security update
Revisions pulled up:
- devel/ruby-i18n/Makefile 1.9
- devel/ruby-i18n/PLIST 1.5
- devel/ruby-i18n/distinfo 1.8
---
Module Name: pkgsrc
Committed By: taca
Date: Mon Dec 16 09:21:34 UTC 2013
Modified Files:
pkgsrc/devel/ruby-i18n: Makefile PLIST distinfo
Log Message:
Update ruby-i18n to 0.6.9. This is security fix.
* Add I18n::exists? method.
* Add I18n.locale_available? method.
* Delete unused files.
* I18n::MissingTranslation exception escapes key names for its
html_message, fixing CVE-2013-4492.
* Use CGI.escapeHTML instead of CGI.escape_html for Ruby 1.8.7.
* Fix an issue with setting I18n.config.enforce_available_locales.
Update ruby-i18n to 0.6.9. This is security fix. * Add I18n::exists? method. * Add I18n.locale_available? method. * Delete unused files. * I18n::MissingTranslation exception escapes key names for its html_message, fixing CVE-2013-4492. * Use CGI.escapeHTML instead of CGI.escape_html for Ruby 1.8.7. * Fix an issue with setting I18n.config.enforce_available_locales.
Update ruby-i18n to 0.6.4. * Include the key in "missing interpolation argument" errors. * Update documentation for the `pluralize` method. Hopefully made it clearer what is actually going on and why. * Add parens to fix parse error in lib/i18n.rb in MagLev. * Never modify the given options hash. * Fix I18n.transliterate for non utf-8 keys (occurs e.g. in jruby 1.7.0 which have US-ASCII encoded symbols). * Do not overwrite response of first backend with later backends when looking up namespaces. * Make exception message more helpful on YAML syntax error. * Remove throwing `warning: invalid start is ignored` The last argument should be a Julian day number which denotes the day of calendar reform. Date::ITALY (2299161=1582-10-15), Date::ENGLAND (2361222=1752-09-14), Date::GREGORIAN (the proleptic Gregorian calendar) and Date::JULIAN (the proleptic Julian calendar) can be specified as a day of calendar reform * Preventing transliterator constant from being modified for concurrency concerns. * Revert "Fix i18n/backend/key_value to add data in a array" causing various issues. * Add license information to gemspec. This way you can get it when using rubygems.org API. * Support Rails 4. * Fixed Ruby 1.8 support due to missing `String#force_encoding`. * Resolve problems with encoding and transliterator between various ruby versions. * Do not do any utf8 conversion, assume valid data is received.
Update ruby-i18n to 0.6.1. Changes are unavailable.
Update ruby-i18n package to 0.5.0. 0.5.0 * "Extract Backend::ActiveRecord to a separate gem":https://github.com/svenfuchs/i18n/commit/197dacebad356b910d69fa69a719c2ad10cf49e6 (see "i18n-active_record":https://github.com/svenfuchs/i18n-active_record) * "Improve exception handling":https://github.com/svenfuchs/i18n/commit/2913ff9a7544f223f60e7d7b32c2a0e1af89812b (deprectates I18n.default_exception_handler) * "Change MissingTranslationData message to 'translation missing: foo.bar'":https://github.com/svenfuchs/i18n/commit/68fdfe47952325411afe5942e971ce10b2bdf900 * "Expose MissingTranslationsData#keys method":https://github.com/svenfuchs/i18n/commit/3a37a389ecaac9670355b334e23e775549ee9822 * "Improve Cascade#lookup (add default options)":https://github.com/svenfuchs/i18n/commit/0b9a1f2058a2be9543106cc19d08071c359511e1 * "Finally remove deprecated interpolation syntax":https://github.com/svenfuchs/i18n/commit/2d43846d2b2a2e596f30fa58ea1c9ddb2243bb64 0.4.2 (2010-10-26) * "Improve UTF8 handling":http://github.com/svenfuchs/i18n/commit/e8d5820a3b08eeca28de1a2b9c8a6ad2b9e6476c * "Expose I18n::VERSION":http://github.com/svenfuchs/i18n/commit/b832037bac94c7144f45f3ff5e3b4e4089781726 * "Better deprecation output":http://github.com/svenfuchs/i18n/commit/2bee924464b8a9c33d3d7852eb1c8423aa38cc25
Importing devel/ruby-i18n 0.4.1. Ruby I18n Ruby Internationalization and localization solution. Features: * translation and localization * interpolation of values to translations (Ruby 1.9 compatible syntax) * pluralization (CLDR compatible) * customizable transliteration to ASCII * flexible defaults * bulk lookup * lambdas as translation data * custom key/scope separator * custom exception handlers * extensible architecture with a swappable backend Pluggable features: * Cache * Pluralization: lambda pluralizers stored as translation data * Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation) * Gettext support * Translation metadata Alternative backends: * Chain * ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs) * KeyValue (uses active_support/json and cannot store procs)
Initial revision