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.14.7 1.14.7 (2025-01-19) What's Changed * Ruby 3.4 Hash#inspect compatibility. by @voxik in #709 * Removed (annoying) post-install message that was triggering on all Rubies, rather than the specified versions.
devel/ruby-i18n: update to 1.14.6 1.14.6 (2024-09-15) Ruby < 3.2 support will be dropped April 2025. Upgrade now to continue using i18n after that date. * fix issues with RDoc generation by @davetron5000 in #698 * Fix loading of .rb locale files when load_path is not a string by @stevegeek in #701 * Fixes strings being interpolated multiple times by @alexpls in #699 * Optimize pluralization logic in test data by @zachmargolis in #697 * [FIX] Raise ArgumentError on nil key in exists? by @KinWang-2013 in #696 New Contributors * @davetron5000 made their first contribution in #698 * @stevegeek made their first contribution in #701 * @alexpls made their first contribution in #699 * @zachmargolis made their first contribution in #697 * @KinWang-2013 made their first contribution in #696
devel/ruby-i18n: udpate to 1.14.5 1.14.5 (2024-05-06) What's Changed * Explicitly bundle racc gem for Ruby 3.3+ by @amatsuda in #690 * Optimize I18n::Locale::Fallbacks#[] for recursive locale mappings by @uiur in #692 * Add I18n.interpolation_keys by @tom-lord in #682 * Fix syntax in documentation for I18n::Backend::Base.interpolate by @tom-lord in #691 * Fix that escaped interpolations with reserved keywords raised ReservedInterpolationKey by @Bilka2 in #688 New Contributors * @uiur made their first contribution in #692 * @tom-lord made their first contribution in #682 * @Bilka2 made their first contribution in #688
devel/ruby-i18n: update to 1.14.4 1.14.2 Not released. 1.14.3 (2024-03-05) What's Changed * Pass options to along to exists? super calls by @radar in #671 * Improve TOKENIZER by 23% by @kbrock in #668 * Regex part deux - INTERPOLATION_SYNTAX by @kbrock in #669 * Raise when translated entry contains interpolations for reserved keywords and no substitutions provided by @fatkodima in #678 * Implement Fallbacks#inspect and Fallbacks#empty? by @fatkodima in #683 Upkeep * Update mocha gem by @fatkodima in #677 * Update workflows by @yykamei in #684 New Contributors * @kbrock made their first contribution in #668 1.14.4 (2024-03-06) What's Changed Note: the racc dependency will be coming back in Version 2. * undo strict racc dependency on this branch by @radar in #687
devel/ruby-i18n: update to 1.14.1 1.14.0 (2023-06-02) What's Changed * fix LazyLoadable#available_locales duplicating locales by @ccutrer in #655 * Add more helpful translation error when :default option is provided. by @Nerian in #654 * Fix I18n::Locale::Fallbacks not initializing itself on Ruby 3 by @yheuhtozr in #653 * Fix I18n.t when locale contains separator by @tubaxenor in #656 - This reverts a change from #651, that was released in v1.13.0 New Contributors * @ccutrer made their first contribution in #655 * @Nerian made their first contribution in #654 * @yheuhtozr made their first contribution in #653 * @tubaxenor made their first contribution in #656 1.14.1 (2023-06-04) Included in this release * Simplify the "Translation missing" message when default is an empty Array by @amatsuda in #662 Maintenance stuff * Skip CIing on jruby against Rails 5.2 by @amatsuda in #664 * A fix for failing CI against edge Rails by @amatsuda in #663 * Add documentation hint for fallback values by @mark-a in #659 * CI against Ruby 3.2 by @amatsuda in #665 * Fix build warnings in the CI by using actions/checkout@v3 by @amatsuda in #666 Thanks to @amatsuda for these PRs! New Contributors * @mark-a made their first contribution in #659
devel/ruby-i18n: update to 1.13.0 1.11.0 (2022-07-10) What's Changed * Consistently return array from bulk lookup, even if translation(s) missing by @sambostock in #628 * Fix typos by @movermeyer in #631 * Add support for CLDR data in I18n::Backend::Pluralization by @movermeyer in #630 New Contributors * @sambostock made their first contribution in #628 1.12.0 (2022-07-13) What's Changed * Revert "Add support for CLDR data in I18n::Backend::Pluralization" by @radar in #633 -- this was causing breaking changes unintentionally. 1.13.0 (2023-04-26) What's Changed * Fix symbol resolving with pluralization by @movermeyer in #636 * Updating DEFAULT_APPROXIMATIONS with capitalised German Eszett character for consistency by @lucapericlp in #627 * Fix load_path example in README.md by @nickcampbell18 in #642 * Add support for meridian indicators on Date objects by @movermeyer in #640 * Make translations loading thread-safe by @mensfeld in #644 * Get closer to full CLDR pluralization support by @movermeyer in #634 * Allow passing scope argument to exists? by @misdoro in #647 * Revert #503 changes for Backend::Base by @movermeyer in #637 * Properly stub constants by @fatkodima in #650 * Optimize I18n.t by @fatkodima in #651 * Return same string object when no interpolations were made by @fatkodima in #649 New Contributors * @lucapericlp made their first contribution in #627 * @nickcampbell18 made their first contribution in #642 * @mensfeld made their first contribution in #644 * @misdoro made their first contribution in #647
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.8.11 1.8.11 (2021-11-02) What's Changed * Fix typo in documentation by @rkh in #565 * Improve available locale check in Simple backend by @codealchemy in #566 * Fix typo in Simple backend JSON test by @codealchemy in #572 * Fix a build error when using Psych 4.0 by @koic in #569 New Contributors * @rkh made their first contribution in #565 * @codealchemy made their first contribution in #566 * @koic made their first contribution in #569
archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
devel: Remove SHA1 hashes for distfiles
devel/ruby-i18n: update to 1.8.10 1.8.10 (2021-03-30) * Fix string locale will trigger on_fallback hook - #562
devel/ruby-i18n: update to 1.8.9 1.8.9 (2021-02-12) * Rely on Ruby 3's native Hash#except method -- #557
devel/ruby-i18n: update to 1.8.8 1.8.8 (2021-02-02) * Fixed threadsafety issues in Simple backend: #554 * Re-attempt to fix threadsafety of fallbacks: #548 * Use OpenSSL::Digest instead of usual Digest libraries: #549 * Goodbye, post-install message #552 * Use Rails' main branch, instead of master #553
devel/ruby-i18n: update to 1.8.7 1.8.7 (2021-01-04) * Fixed a regression with fallback logic: see issues #547, #546 and #542. 1.8.6 (2021-01-01) * Fallbacks are now stored in Thread.current for multi-threading compatibility: #542 * no-op arguments are no longer allowed for I18n.t calls -- fixes an incompatibility with Ruby 3.0: #545 This gem's GitHub workflow files have been updated to ensure compatibility between new Rails versions (6.1) and the new Ruby release (3.0). See the "Actions" tab on GitHub for the full range of supported Rails and Ruby versions.
devel/ruby-i18n: update to 1.8.55 Update ruby-i18n package to 1.8.55. 1.8.4 (2020-07-20) * Fixed issue where fallbacks were not working when I18n.fallbacks was an array - #534 * Fixed conditional around deprecating constant of INTERPOLATION_PATTERN - #531 1.8.5 (2020-08-04) * Fixed an issue where users could not use their own custom fallback classes - #536
devel/ruby-i18n: update to 1.8.3 Update ruby-i18n to 1.8.3. 1.8.3 (2020-06-05) Features / Improvements * Memory and speed improvements - #527+ #528 * Add option to disable fallbacks for I18n.exists? check - #482 * Add an on_fallback hook to allow users to be notified when a fallback happens - #520 Bug Fixes * Fix an issue with deep_merge and chain fallback backends - #499 & #509 * Fix an issue with Rails ordinal number proc and keyword splatting - #521 * Pass options as keyword arguments to translation procs - #529 * Fix pluralize on unknown locale with attributes - #519
devel/ruby-i18n: update to 1.8.2 Update ruby-i18n to 1.8.2. 1.8.2 (2020-01-13) * Restoration of #499 via #509 - deep_merge! & deep_merge methods appear again in the Hash refinement. * An issue was introduced in v1.7.0 where some translations were returned as hashes, see #510. This was fixed in 1b5e345, and is available in this release. 1.8.1 (2020-01-13) * Reverted #499 in #508 due to #507 - missing deep_merge method. 1.8.0 (2020-01-13) * Use Rails' implementation of deep_merge when chaining fallback backends - #499. 1.7.1 (2020-01-13) * I18n is now tested with GitHub Actions, instead of Travis CI. * Fixed issue introduced in v1.7.0 (04a814b) where count option was not preserved - #503 * #501 adds a comment that explains that you will need to double-splat keyword arguments given to I18n.t to avoid warnings in Ruby 2.7.
devel/ruby-i18n: update to 1.7.0 Update ruby-i18n to 1.7.0. 1.7.0 (2019-10-04) No documantation is available. Please refer: <https://github.com/ruby-i18n/i18n/compare/v1.6.0...v1.7.0> 1.6.0 (2019-03-03) Major updates *Added support for eagerloading I18n -- which probably improves boot times for applications if implemented correctly - See #469 for more details. * Added ability to disable I18n translation resolution by setting I18n.locale = false. See #471 for more information. Bugfixes / other improvements * Add support for uppercased date format directives - #468 Other changes * Fixed flaky test issue with JRuby - #459 / #460 * gemspec homepage now points to ruby-i18n/i18n - #465 * Update README to point to ruby-i18n/i18n - #473
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
Add SHA512 digests for distfiles for devel category Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
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.5. Several bug fixes.
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.6.0. Exact changes are unknown.
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
* Remove patch of gemspec to allow depending to rubygems 1.3.5. Bump PKGREVISION.
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