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
This commit is contained in:
taca 2017-03-13 16:32:33 +00:00
parent 08968ce501
commit b1beb5441a
3 changed files with 10 additions and 14 deletions

View file

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.10 2015/03/13 13:38:08 taca Exp $
# $NetBSD: Makefile,v 1.11 2017/03/13 16:32:33 taca Exp $
DISTNAME= i18n-0.7.0
DISTNAME= i18n-0.8.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/svenfuchs/i18n
HOMEPAGE= https://github.com/svenfuchs/i18n
COMMENT= New wave Internationalization support for Ruby
LICENSE= mit

View file

@ -1,17 +1,13 @@
@comment $NetBSD: PLIST,v 1.6 2015/03/13 13:38:08 taca Exp $
@comment $NetBSD: PLIST,v 1.7 2017/03/13 16:32:33 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/gemfiles/Gemfile.rails-3.2.x
${GEM_LIBDIR}/gemfiles/Gemfile.rails-3.2.x.lock
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.0.x
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.0.x.lock
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.1.x
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.1.x.lock
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.2.x
${GEM_LIBDIR}/gemfiles/Gemfile.rails-4.2.x.lock
${GEM_LIBDIR}/gemfiles/Gemfile.rails-5.0.x
${GEM_LIBDIR}/gemfiles/Gemfile.rails-master
${GEM_LIBDIR}/gemfiles/Gemfile.rails-master.lock
${GEM_LIBDIR}/lib/i18n.rb
${GEM_LIBDIR}/lib/i18n/backend.rb
${GEM_LIBDIR}/lib/i18n/backend/base.rb

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.10 2015/11/03 03:29:23 agc Exp $
$NetBSD: distinfo,v 1.11 2017/03/13 16:32:33 taca Exp $
SHA1 (i18n-0.7.0.gem) = 0ae0e0757fb8bccb9b0516aa90534c194936441c
RMD160 (i18n-0.7.0.gem) = a7710399731a5604df3871875227a5fde73b5500
SHA512 (i18n-0.7.0.gem) = daebd5bea18afb9b631d422c1be032a93873ac82bd65857a91315d03505639be857e01f89232e8e4b4632db6e1d786706f8498aa779c7d03b1958b248dd41ca5
Size (i18n-0.7.0.gem) = 57856 bytes
SHA1 (i18n-0.8.1.gem) = ee9a185ce67f6ea2bf96749553f92215d83579ab
RMD160 (i18n-0.8.1.gem) = c0adaafa18cf38786b5dbdee35a2705581d4dc87
SHA512 (i18n-0.8.1.gem) = 7b054eedd042a7a56c118412f627b29e69cc87db72b810c593d64347c7e4e713b2f428cfb4135a1b1330c4909abe6df46f3386e735be53f99d88de5ce11989fb
Size (i18n-0.8.1.gem) = 59392 bytes