Hello community,
here is the log from the commit of package rubygem-actionmailbox-6.0 for
openSUSE:Factory checked in at 2020-05-11 13:37:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionmailbox-6.0 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionmailbox-6.0.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionmailbox-6.0"
Mon May 11 13:37:51 2020 rev:6 rq:802307 version:6.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionmailbox-6.0/rubygem-actionmailbox-6.0.changes
2020-04-27 23:40:49.147809127 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionmailbox-6.0.new.2738/rubygem-actionmailbox-6.0.changes
2020-05-11 13:37:54.304683817 +0200
@@ -1,0 +2,17 @@
+Thu May 7 19:57:03 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 6.0.3
+ see installed CHANGELOG.md
+
+ ## Rails 6.0.3 (May 06, 2020) ##
+
+ * Update Mandrill inbound email route to respond appropriately to HEAD
requests for URL health checks from Mandrill.
+
+ *Bill Cromie*
+
+
+ ## Rails 6.0.2.2 (March 19, 2020) ##
+
+ * No changes.
+
+-------------------------------------------------------------------
Old:
----
actionmailbox-6.0.2.2.gem
New:
----
actionmailbox-6.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionmailbox-6.0.spec ++++++
--- /var/tmp/diff_new_pack.0slt8B/_old 2020-05-11 13:37:55.136685561 +0200
+++ /var/tmp/diff_new_pack.0slt8B/_new 2020-05-11 13:37:55.136685561 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-actionmailbox-6.0
-Version: 6.0.2.2
+Version: 6.0.3
Release: 0
%define mod_name actionmailbox
%define mod_full_name %{mod_name}-%{version}
++++++ actionmailbox-6.0.2.2.gem -> actionmailbox-6.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2020-03-19 17:42:46.000000000 +0100
+++ new/CHANGELOG.md 2020-05-06 20:00:05.000000000 +0200
@@ -1,3 +1,15 @@
+## Rails 6.0.3 (May 06, 2020) ##
+
+* Update Mandrill inbound email route to respond appropriately to HEAD
requests for URL health checks from Mandrill.
+
+ *Bill Cromie*
+
+
+## Rails 6.0.2.2 (March 19, 2020) ##
+
+* No changes.
+
+
## Rails 6.0.2.1 (December 18, 2019) ##
* No changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
new/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
---
old/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
2020-03-19 17:42:46.000000000 +0100
+++
new/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
2020-05-06 20:00:05.000000000 +0200
@@ -15,7 +15,7 @@
# - <tt>500 Server Error</tt> if the Mandrill API key is missing, or one of
the Active Record database,
# the Active Storage service, or the Active Job backend is misconfigured
or unavailable
class Ingresses::Mandrill::InboundEmailsController <
ActionMailbox::BaseController
- before_action :authenticate
+ before_action :authenticate, except: :health_check
def create
raw_emails.each { |raw_email|
ActionMailbox::InboundEmail.create_and_extract_message_id! raw_email }
@@ -25,6 +25,10 @@
head :unprocessable_entity
end
+ def health_check
+ head :ok
+ end
+
private
def raw_emails
events.select { |event| event["event"] == "inbound" }.collect {
|event| event.dig("msg", "raw_msg") }
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/config/routes.rb new/config/routes.rb
--- old/config/routes.rb 2020-03-19 17:42:46.000000000 +0100
+++ new/config/routes.rb 2020-05-06 20:00:05.000000000 +0200
@@ -2,11 +2,14 @@
Rails.application.routes.draw do
scope "/rails/action_mailbox", module: "action_mailbox/ingresses" do
- post "/mandrill/inbound_emails" => "mandrill/inbound_emails#create", as:
:rails_mandrill_inbound_emails
post "/postmark/inbound_emails" => "postmark/inbound_emails#create", as:
:rails_postmark_inbound_emails
post "/relay/inbound_emails" => "relay/inbound_emails#create", as:
:rails_relay_inbound_emails
post "/sendgrid/inbound_emails" => "sendgrid/inbound_emails#create", as:
:rails_sendgrid_inbound_emails
+ # Mandrill checks for the existence of a URL with a HEAD request before it
will create the webhook.
+ get "/mandrill/inbound_emails" => "mandrill/inbound_emails#health_check",
as: :rails_mandrill_inbound_health_check
+ post "/mandrill/inbound_emails" => "mandrill/inbound_emails#create",
as: :rails_mandrill_inbound_emails
+
# Mailgun requires that a webhook's URL end in 'mime' for it to receive
the raw contents of emails.
post "/mailgun/inbound_emails/mime" => "mailgun/inbound_emails#create",
as: :rails_mailgun_inbound_emails
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailbox/gem_version.rb
new/lib/action_mailbox/gem_version.rb
--- old/lib/action_mailbox/gem_version.rb 2020-03-19 17:42:46.000000000
+0100
+++ new/lib/action_mailbox/gem_version.rb 2020-05-06 20:00:05.000000000
+0200
@@ -9,8 +9,8 @@
module VERSION
MAJOR = 6
MINOR = 0
- TINY = 2
- PRE = "2"
+ TINY = 3
+ PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2020-03-19 17:42:46.000000000 +0100
+++ new/metadata 2020-05-06 20:00:05.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: actionmailbox
version: !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
platform: ruby
authors:
- David Heinemeier Hansson
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2020-03-19 00:00:00.000000000 Z
+date: 2020-05-06 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -17,70 +17,70 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
- !ruby/object:Gem::Dependency
name: activerecord
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
- !ruby/object:Gem::Dependency
name: activestorage
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
- !ruby/object:Gem::Dependency
name: activejob
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
- !ruby/object:Gem::Dependency
name: actionpack
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 6.0.2.2
+ version: 6.0.3
- !ruby/object:Gem::Dependency
name: mail
requirement: !ruby/object:Gem::Requirement
@@ -160,10 +160,10 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rails/rails/issues
- changelog_uri:
https://github.com/rails/rails/blob/v6.0.2.2/actionmailbox/CHANGELOG.md
- documentation_uri: https://api.rubyonrails.org/v6.0.2.2/
- mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
- source_code_uri: https://github.com/rails/rails/tree/v6.0.2.2/actionmailbox
+ changelog_uri:
https://github.com/rails/rails/blob/v6.0.3/actionmailbox/CHANGELOG.md
+ documentation_uri: https://api.rubyonrails.org/v6.0.3/
+ mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.3/actionmailbox
post_install_message:
rdoc_options: []
require_paths:
@@ -179,7 +179,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.1.2
signing_key:
specification_version: 4
summary: Inbound email handling framework.
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.0slt8B/_old 2020-05-11 13:37:55.240685779 +0200
+++ /var/tmp/diff_new_pack.0slt8B/_new 2020-05-11 13:37:55.244685788 +0200
@@ -9,7 +9,7 @@
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
-# :version_suffix: -x_y
+:version_suffix: '-6.0'
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm