Hello community,
here is the log from the commit of package rubygem-actionmailer-5_1 for
openSUSE:Factory checked in at 2018-02-18 11:43:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionmailer-5_1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionmailer-5_1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionmailer-5_1"
Sun Feb 18 11:43:28 2018 rev:3 rq:577549 version:5.1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionmailer-5_1/rubygem-actionmailer-5_1.changes
2017-09-13 22:35:20.897262844 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionmailer-5_1.new/rubygem-actionmailer-5_1.changes
2018-02-18 11:43:48.090505292 +0100
@@ -1,0 +2,13 @@
+Thu Feb 15 05:28:36 UTC 2018 - [email protected]
+
+- updated to version 5.1.5
+ see installed CHANGELOG.md
+
+ ## Rails 5.1.5 (February 14, 2018) ##
+
+ * Bring back proc with arity of 1 in `ActionMailer::Base.default` proc
+ since it was supported in Rails 5.0 but not deprecated.
+
+ *Jimmy Bourassa*
+
+-------------------------------------------------------------------
Old:
----
actionmailer-5.1.4.gem
New:
----
actionmailer-5.1.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionmailer-5_1.spec ++++++
--- /var/tmp/diff_new_pack.1cRRN5/_old 2018-02-18 11:43:49.722446708 +0100
+++ /var/tmp/diff_new_pack.1cRRN5/_new 2018-02-18 11:43:49.722446708 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-actionmailer-5_1
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-actionmailer-5_1
-Version: 5.1.4
+Version: 5.1.5
Release: 0
%define mod_name actionmailer
%define mod_full_name %{mod_name}-%{version}
++++++ actionmailer-5.1.4.gem -> actionmailer-5.1.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-09-08 02:49:04.000000000 +0200
+++ new/CHANGELOG.md 2018-02-14 21:00:58.000000000 +0100
@@ -1,3 +1,11 @@
+## Rails 5.1.5 (February 14, 2018) ##
+
+* Bring back proc with arity of 1 in `ActionMailer::Base.default` proc
+ since it was supported in Rails 5.0 but not deprecated.
+
+ *Jimmy Bourassa*
+
+
## Rails 5.1.4 (September 07, 2017) ##
* No changes.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailer/base.rb
new/lib/action_mailer/base.rb
--- old/lib/action_mailer/base.rb 2017-09-08 02:49:04.000000000 +0200
+++ new/lib/action_mailer/base.rb 2018-02-14 21:00:58.000000000 +0100
@@ -891,7 +891,7 @@
default_values = self.class.default.map do |key, value|
[
key,
- value.is_a?(Proc) ? instance_exec(&value) : value
+ compute_default(value)
]
end.to_h
@@ -900,6 +900,16 @@
headers_with_defaults
end
+ def compute_default(value)
+ return value unless value.is_a?(Proc)
+
+ if value.arity == 1
+ instance_exec(self, &value)
+ else
+ instance_exec(&value)
+ end
+ end
+
def assign_headers_to_message(message, headers)
assignable = headers.except(:parts_order, :content_type, :body,
:template_name,
:template_path, :delivery_method,
:delivery_method_options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailer/gem_version.rb
new/lib/action_mailer/gem_version.rb
--- old/lib/action_mailer/gem_version.rb 2017-09-08 02:49:04.000000000
+0200
+++ new/lib/action_mailer/gem_version.rb 2018-02-14 21:00:58.000000000
+0100
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 1
- TINY = 4
+ TINY = 5
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-09-08 02:49:04.000000000 +0200
+++ new/metadata 2018-02-14 21:00:58.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionmailer
version: !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2017-09-08 00:00:00.000000000 Z
+date: 2018-02-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: actionpack
@@ -16,42 +16,42 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
- !ruby/object:Gem::Dependency
name: actionview
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
- !ruby/object:Gem::Dependency
name: activejob
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.4
+ version: 5.1.5
- !ruby/object:Gem::Dependency
name: mail
requirement: !ruby/object:Gem::Requirement
@@ -120,7 +120,9 @@
homepage: http://rubyonrails.org
licenses:
- MIT
-metadata: {}
+metadata:
+ source_code_uri: https://github.com/rails/rails/tree/v5.1.5/actionmailer
+ changelog_uri:
https://github.com/rails/rails/blob/v5.1.5/actionmailer/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths:
@@ -138,7 +140,7 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.6.13
+rubygems_version: 2.7.3
signing_key:
specification_version: 4
summary: Email composition, delivery, and receiving framework (part of Rails).