Hello community,

here is the log from the commit of package rubygem-exception_notification for 
openSUSE:Factory checked in at 2020-07-14 08:06:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-exception_notification (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-exception_notification.new.3060 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-exception_notification"

Tue Jul 14 08:06:18 2020 rev:21 rq:820740 version:4.4.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-exception_notification/rubygem-exception_notification.changes
    2020-06-27 23:24:19.322165864 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-exception_notification.new.3060/rubygem-exception_notification.changes
  2020-07-14 08:06:22.639166602 +0200
@@ -1,0 +2,8 @@
+Mon Jul 13 17:26:21 UTC 2020 - Manuel Schnitzer <mschnit...@suse.com>
+
+- updated to version 4.4.3
+
+  * big fixes
+    * Remove using configured default from address from custom mailer_parent 
class
+
+-------------------------------------------------------------------

Old:
----
  exception_notification-4.4.1.gem

New:
----
  exception_notification-4.4.3.gem

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

Other differences:
------------------
++++++ rubygem-exception_notification.spec ++++++
--- /var/tmp/diff_new_pack.cyp8P1/_old  2020-07-14 08:06:23.975170928 +0200
+++ /var/tmp/diff_new_pack.cyp8P1/_new  2020-07-14 08:06:23.979170942 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-exception_notification
-Version:        4.4.1
+Version:        4.4.3
 Release:        0
 %define mod_name exception_notification
 %define mod_full_name %{mod_name}-%{version}

++++++ exception_notification-4.4.1.gem -> exception_notification-4.4.3.gem 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.rdoc new/CHANGELOG.rdoc
--- old/CHANGELOG.rdoc  2020-06-23 19:44:22.000000000 +0200
+++ new/CHANGELOG.rdoc  2020-06-29 18:19:58.000000000 +0200
@@ -1,3 +1,13 @@
+== 4.4.3
+
+* big fixes
+  * Remove using configured default from address from custom mailer_parent 
class
+
+== 4.4.2 (yanked)
+
+* bug fixes
+  * Fix `sender_address` being overwritten
+
 == 4.4.1
 
 * enhancements
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exception_notification.gemspec 
new/exception_notification.gemspec
--- old/exception_notification.gemspec  2020-06-23 19:44:22.000000000 +0200
+++ new/exception_notification.gemspec  2020-06-29 18:19:58.000000000 +0200
@@ -6,7 +6,7 @@
   s.name = 'exception_notification'
   s.version = ExceptionNotification::VERSION
   s.authors = ['Jamis Buck', 'Josh Peek']
-  s.date = '2020-06-23'
+  s.date = '2020-06-29'
   s.summary = 'Exception notification for Rails apps'
   s.homepage = 'https://smartinez87.github.io/exception_notification/'
   s.email = 'smartine...@gmail.com'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/exception_notification/version.rb 
new/lib/exception_notification/version.rb
--- old/lib/exception_notification/version.rb   2020-06-23 19:44:22.000000000 
+0200
+++ new/lib/exception_notification/version.rb   2020-06-29 18:19:58.000000000 
+0200
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module ExceptionNotification
-  VERSION = '4.4.1'
+  VERSION = '4.4.3'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/exception_notifier/email_notifier.rb 
new/lib/exception_notifier/email_notifier.rb
--- old/lib/exception_notifier/email_notifier.rb        2020-06-23 
19:44:22.000000000 +0200
+++ new/lib/exception_notifier/email_notifier.rb        2020-06-29 
18:19:58.000000000 +0200
@@ -127,7 +127,7 @@
             headers = {
               delivery_method: @options[:delivery_method],
               to: exception_recipients,
-              from: self.class.default[:from] || @options[:sender_address],
+              from: @options[:sender_address],
               subject: subject,
               template_name: name
             }.merge(@options[:email_headers])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-06-23 19:44:22.000000000 +0200
+++ new/metadata        2020-06-29 18:19:58.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: exception_notification
 version: !ruby/object:Gem::Version
-  version: 4.4.1
+  version: 4.4.3
 platform: ruby
 authors:
 - Jamis Buck
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2020-06-23 00:00:00.000000000 Z
+date: 2020-06-29 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: actionmailer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/exception_notifier/email_notifier_test.rb 
new/test/exception_notifier/email_notifier_test.rb
--- old/test/exception_notifier/email_notifier_test.rb  2020-06-23 
19:44:22.000000000 +0200
+++ new/test/exception_notifier/email_notifier_test.rb  2020-06-29 
18:19:58.000000000 +0200
@@ -353,25 +353,3 @@
     assert_equal '[ERROR]  (ZeroDivisionError) "divided by 0"', mail.subject
   end
 end
-
-class EmailNotifierWithCustomParentClassTest < ActiveSupport::TestCase
-  class ApplicationMailer < ActionMailer::Base
-    default from: 'infrastruct...@example.com'
-  end
-
-  setup do
-    @exception = ZeroDivisionError.new('divided by 0')
-    @exception.set_backtrace(["#{__FILE__}:#{__LINE__}"])
-  end
-
-  test 'uses default from configured parent class' do
-    email_notifier = ExceptionNotifier::EmailNotifier.new(
-      mailer_parent: 
'EmailNotifierWithCustomParentClassTest::ApplicationMailer',
-      exception_recipients: %w[dummyexcepti...@example.com]
-    )
-    mail = email_notifier.call(@exception)
-
-    assert email_notifier.__send__(:mailer) < ApplicationMailer
-    assert_equal ['infrastruct...@example.com'], mail.from
-  end
-end


Reply via email to