[DRE-commits] [ruby-i18n] 03/06: refresh patch modified: debian/patches/revert-available-locales-cache.patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jul 28 18:45:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-i18n.

commit 16138582e9b9f120244626f6e36b4d455a3dbddc
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jul 28 22:08:22 2015 +0530

    refresh patch
    	modified:   debian/patches/revert-available-locales-cache.patch
---
 .../patches/revert-available-locales-cache.patch   | 26 +++++++++++++---------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/debian/patches/revert-available-locales-cache.patch b/debian/patches/revert-available-locales-cache.patch
index ceb9f49..19bd658 100644
--- a/debian/patches/revert-available-locales-cache.patch
+++ b/debian/patches/revert-available-locales-cache.patch
@@ -5,9 +5,11 @@ Bug: https://github.com/svenfuchs/i18n/issues/315
 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765124
 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770194
 Forwarded: yes
---- a/lib/i18n.rb
-+++ b/lib/i18n.rb
-@@ -274,7 +274,7 @@ module I18n
+Index: ruby-i18n/lib/i18n.rb
+===================================================================
+--- ruby-i18n.orig/lib/i18n.rb
++++ ruby-i18n/lib/i18n.rb
+@@ -275,7 +275,7 @@ module I18n
      # Returns true when the passed locale, which can be either a String or a
      # Symbol, is in the list of available locales. Returns false otherwise.
      def locale_available?(locale)
@@ -16,9 +18,11 @@ Forwarded: yes
      end
  
      # Raises an InvalidLocale exception when the passed locale is not available.
---- a/lib/i18n/config.rb
-+++ b/lib/i18n/config.rb
-@@ -41,19 +41,10 @@ module I18n
+Index: ruby-i18n/lib/i18n/config.rb
+===================================================================
+--- ruby-i18n.orig/lib/i18n/config.rb
++++ ruby-i18n/lib/i18n/config.rb
+@@ -43,19 +43,10 @@ module I18n
        @@available_locales || backend.available_locales
      end
  
@@ -37,10 +41,12 @@ Forwarded: yes
 -      @@available_locales_set = nil
      end
  
-     # Returns the current default scope separator. Defaults to '.'
---- a/test/i18n_test.rb
-+++ b/test/i18n_test.rb
-@@ -215,23 +215,6 @@ class I18nTest < I18n::TestCase
+     # Clears the available locales set so it can be recomputed again after I18n
+Index: ruby-i18n/test/i18n_test.rb
+===================================================================
+--- ruby-i18n.orig/test/i18n_test.rb
++++ ruby-i18n/test/i18n_test.rb
+@@ -224,23 +224,6 @@ class I18nTest < I18n::TestCase
      end
    end
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-i18n.git



More information about the Pkg-ruby-extras-commits mailing list