Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actionpack-7.0 for 
openSUSE:Factory checked in at 2022-04-30 22:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-7.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionpack-7.0.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionpack-7.0"

Sat Apr 30 22:52:14 2022 rev:3 rq:974036 version:7.0.2.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionpack-7.0/rubygem-actionpack-7.0.changes
    2022-03-11 11:35:07.878187394 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionpack-7.0.new.1538/rubygem-actionpack-7.0.changes
  2022-04-30 22:52:21.140209195 +0200
@@ -1,0 +2,13 @@
+Thu Apr 28 05:09:00 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 7.0.2.4
+ see installed CHANGELOG.md
+
+  ## Rails 7.0.2.4 (April 26, 2022) ##
+  
+  *   Allow Content Security Policy DSL to generate for API responses.
+  
+      *Tim Wade*
+  
+
+-------------------------------------------------------------------

Old:
----
  actionpack-7.0.2.3.gem

New:
----
  actionpack-7.0.2.4.gem

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

Other differences:
------------------
++++++ rubygem-actionpack-7.0.spec ++++++
--- /var/tmp/diff_new_pack.Qut0Fk/_old  2022-04-30 22:52:21.676209920 +0200
+++ /var/tmp/diff_new_pack.Qut0Fk/_new  2022-04-30 22:52:21.684209931 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actionpack-7.0
-Version:        7.0.2.3
+Version:        7.0.2.4
 Release:        0
 %define mod_name actionpack
 %define mod_full_name %{mod_name}-%{version}

++++++ actionpack-7.0.2.3.gem -> actionpack-7.0.2.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2022-03-08 18:50:08.000000000 +0100
+++ new/CHANGELOG.md    2022-04-26 21:32:40.000000000 +0200
@@ -1,3 +1,9 @@
+## Rails 7.0.2.4 (April 26, 2022) ##
+
+*   Allow Content Security Policy DSL to generate for API responses.
+
+    *Tim Wade*
+
 ## Rails 7.0.2.3 (March 08, 2022) ##
 
 *   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_dispatch/http/content_security_policy.rb 
new/lib/action_dispatch/http/content_security_policy.rb
--- old/lib/action_dispatch/http/content_security_policy.rb     2022-03-08 
18:50:08.000000000 +0100
+++ new/lib/action_dispatch/http/content_security_policy.rb     2022-04-26 
21:32:40.000000000 +0200
@@ -17,7 +17,6 @@
         request = ActionDispatch::Request.new env
         _, headers, _ = response = @app.call(env)
 
-        return response unless html_response?(headers)
         return response if policy_present?(headers)
 
         if policy = request.content_security_policy
@@ -31,12 +30,6 @@
       end
 
       private
-        def html_response?(headers)
-          if content_type = headers[CONTENT_TYPE]
-            /html/.match?(content_type)
-          end
-        end
-
         def header_name(request)
           if request.content_security_policy_report_only
             POLICY_REPORT_ONLY
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_pack/gem_version.rb 
new/lib/action_pack/gem_version.rb
--- old/lib/action_pack/gem_version.rb  2022-03-08 18:50:08.000000000 +0100
+++ new/lib/action_pack/gem_version.rb  2022-04-26 21:32:40.000000000 +0200
@@ -10,7 +10,7 @@
     MAJOR = 7
     MINOR = 0
     TINY  = 2
-    PRE   = "3"
+    PRE   = "4"
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-03-08 18:50:08.000000000 +0100
+++ new/metadata        2022-04-26 21:32:40.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: actionpack
 version: !ruby/object:Gem::Version
-  version: 7.0.2.3
+  version: 7.0.2.4
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-03-08 00:00:00.000000000 Z
+date: 2022-04-26 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,14 +16,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
 - !ruby/object:Gem::Dependency
   name: rack
   requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
 - !ruby/object:Gem::Dependency
   name: activemodel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.3
+        version: 7.0.2.4
 description: Web apps on Rails. Simple, battle-tested conventions for building 
and
   testing MVC web applications. Works with any Rack-compatible server.
 email: [email protected]
@@ -310,10 +310,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.2.3/actionpack/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v7.0.2.3/
+  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.2.4/actionpack/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v7.0.2.4/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v7.0.2.3/actionpack
+  source_code_uri: https://github.com/rails/rails/tree/v7.0.2.4/actionpack
   rubygems_mfa_required: 'true'
 post_install_message:
 rdoc_options: []

Reply via email to