Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-gettext_i18n_rails for 
openSUSE:Factory checked in at 2022-10-30 18:28:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-gettext_i18n_rails (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-gettext_i18n_rails.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-gettext_i18n_rails"

Sun Oct 30 18:28:49 2022 rev:26 rq:1032141 version:1.9.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-gettext_i18n_rails/rubygem-gettext_i18n_rails.changes
    2020-03-07 21:38:14.696272408 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-gettext_i18n_rails.new.2275/rubygem-gettext_i18n_rails.changes
  2022-10-30 18:29:01.530445832 +0100
@@ -1,0 +2,6 @@
+Fri Oct 28 04:56:47 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 1.9.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  gettext_i18n_rails-1.8.1.gem

New:
----
  gettext_i18n_rails-1.9.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-gettext_i18n_rails.spec ++++++
--- /var/tmp/diff_new_pack.8E4OIO/_old  2022-10-30 18:29:02.342450220 +0100
+++ /var/tmp/diff_new_pack.8E4OIO/_new  2022-10-30 18:29:02.342450220 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-gettext_i18n_rails
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-gettext_i18n_rails
-Version:        1.8.1
+Version:        1.9.0
 Release:        0
 %define mod_name gettext_i18n_rails
 %define mod_full_name %{mod_name}-%{version}

++++++ gettext_i18n_rails-1.8.1.gem -> gettext_i18n_rails-1.9.0.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails/active_model/translation.rb 
new/lib/gettext_i18n_rails/active_model/translation.rb
--- old/lib/gettext_i18n_rails/active_model/translation.rb      2019-12-10 
23:13:03.000000000 +0100
+++ new/lib/gettext_i18n_rails/active_model/translation.rb      2022-10-13 
06:12:32.000000000 +0200
@@ -7,7 +7,7 @@
 
     def gettext_translation_for_attribute_name(attribute)
       attribute = attribute.to_s
-      if attribute.ends_with?('_id')
+      if attribute.end_with?('_id')
         humanize_class_name(attribute)
       else
         "#{inheritance_tree_root(self)}|#{attribute.split('.').map! {|a| 
a.humanize }.join('|')}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails/backend.rb 
new/lib/gettext_i18n_rails/backend.rb
--- old/lib/gettext_i18n_rails/backend.rb       2019-12-10 23:13:03.000000000 
+0100
+++ new/lib/gettext_i18n_rails/backend.rb       2022-10-13 06:12:32.000000000 
+0200
@@ -16,6 +16,7 @@
     end
 
     def translate(locale, key, options)
+      current_locale = FastGettext.set_locale locale
       if gettext_key = gettext_key(key, options)
         translation =
           plural_translate(gettext_key, options) || FastGettext._(gettext_key)
@@ -24,6 +25,8 @@
         result = backend.translate(locale, key, options)
         (RUBY19 and result.is_a?(String)) ? result.force_encoding("UTF-8") : 
result
       end
+    ensure
+      FastGettext.set_locale current_locale
     end
 
     def method_missing(method, *args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails/haml_parser.rb 
new/lib/gettext_i18n_rails/haml_parser.rb
--- old/lib/gettext_i18n_rails/haml_parser.rb   2019-12-10 23:13:03.000000000 
+0100
+++ new/lib/gettext_i18n_rails/haml_parser.rb   2022-10-13 06:12:32.000000000 
+0200
@@ -9,7 +9,11 @@
     def self.convert_to_code(text)
       case @library_loaded
       when "haml"
-        Haml::Engine.new(text).precompiled()
+        if Haml::VERSION.split('.').first.to_i <= 5
+          Haml::Engine.new(text).precompiled()
+        else
+          Haml::Engine.new.call(text)
+        end
       when "hamlit"
         Hamlit::Engine.new.call(text)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/gettext_i18n_rails/version.rb 
new/lib/gettext_i18n_rails/version.rb
--- old/lib/gettext_i18n_rails/version.rb       2019-12-10 23:13:03.000000000 
+0100
+++ new/lib/gettext_i18n_rails/version.rb       2022-10-13 06:12:32.000000000 
+0200
@@ -1,3 +1,3 @@
 module GettextI18nRails
-  Version = VERSION = '1.8.1'
+  Version = VERSION = '1.9.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-12-10 23:13:03.000000000 +0100
+++ new/metadata        2022-10-13 06:12:32.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: gettext_i18n_rails
 version: !ruby/object:Gem::Version
-  version: 1.8.1
+  version: 1.9.0
 platform: ruby
 authors:
 - Michael Grosser
-autorequire: 
+autorequire:
 bindir: bin
 cert_chain: []
-date: 2019-12-10 00:00:00.000000000 Z
+date: 2022-10-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: fast_gettext
@@ -67,7 +67,7 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: rake
+  name: hamlit
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -81,7 +81,7 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: rails
+  name: rake
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -95,35 +95,35 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: ruby_parser
+  name: rails
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: 3.7.1
+        version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: 3.7.1
+        version: '0'
 - !ruby/object:Gem::Dependency
-  name: sexp_processor
+  name: ruby_parser
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: '0'
+        version: 3.7.1
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
       - !ruby/object:Gem::Version
-        version: '0'
+        version: 3.7.1
 - !ruby/object:Gem::Dependency
-  name: rspec
+  name: sexp_processor
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -137,7 +137,7 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: slim
+  name: rspec
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -151,7 +151,7 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: sqlite3
+  name: slim
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -165,7 +165,7 @@
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
-  name: wwtd
+  name: sqlite3
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ">="
@@ -178,7 +178,7 @@
     - - ">="
       - !ruby/object:Gem::Version
         version: '0'
-description: 
+description:
 email: [email protected]
 executables: []
 extensions: []
@@ -209,7 +209,7 @@
 licenses:
 - MIT
 metadata: {}
-post_install_message: 
+post_install_message:
 rdoc_options: []
 require_paths:
 - lib
@@ -224,8 +224,8 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.0.3
-signing_key: 
+rubygems_version: 3.3.3
+signing_key:
 specification_version: 4
 summary: Simple FastGettext Rails integration.
 test_files: []

Reply via email to