Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-railties-6.0 for 
openSUSE:Factory checked in at 2021-07-02 13:27:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-6.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-railties-6.0.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-railties-6.0"

Fri Jul  2 13:27:16 2021 rev:11 rq:902945 version:6.0.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-railties-6.0/rubygem-railties-6.0.changes    
    2020-10-18 16:34:08.608830564 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-railties-6.0.new.2625/rubygem-railties-6.0.changes
      2021-07-02 13:28:07.988450511 +0200
@@ -1,0 +2,36 @@
+Thu Jun 24 17:51:30 UTC 2021 - Stephan Kulow <[email protected]>
+
+updated to version 6.0.4
+ see installed CHANGELOG.md
+
+  ## Rails 6.0.4 (June 15, 2021) ##
+  
+  *   Allow relative paths with trailing slashes to be passed to `rails test`.
+  
+      *Eugene Kenny*
+  
+  *   Return a 405 Method Not Allowed response when a request uses an unknown 
HTTP method.
+  
+      Fixes #38998.
+  
+      *Loren Norman*
+  
+  
+  ## Rails 6.0.3.7 (May 05, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 6.0.3.6 (March 26, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 6.0.3.5 (February 10, 2021) ##
+  
+  *   No changes.
+  
+  
+  
+
+-------------------------------------------------------------------

Old:
----
  railties-6.0.3.4.gem

New:
----
  railties-6.0.4.gem

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

Other differences:
------------------
++++++ rubygem-railties-6.0.spec ++++++
--- /var/tmp/diff_new_pack.36pjU0/_old  2021-07-02 13:28:08.500446539 +0200
+++ /var/tmp/diff_new_pack.36pjU0/_new  2021-07-02 13:28:08.504446508 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-railties-6.0
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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-railties-6.0
-Version:        6.0.3.4
+Version:        6.0.4
 Release:        0
 %define mod_name railties
 %define mod_full_name %{mod_name}-%{version}

++++++ railties-6.0.3.4.gem -> railties-6.0.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2020-10-07 18:48:30.000000000 +0200
+++ new/CHANGELOG.md    2021-06-15 22:17:34.000000000 +0200
@@ -1,3 +1,32 @@
+## Rails 6.0.4 (June 15, 2021) ##
+
+*   Allow relative paths with trailing slashes to be passed to `rails test`.
+
+    *Eugene Kenny*
+
+*   Return a 405 Method Not Allowed response when a request uses an unknown 
HTTP method.
+
+    Fixes #38998.
+
+    *Loren Norman*
+
+
+## Rails 6.0.3.7 (May 05, 2021) ##
+
+*   No changes.
+
+
+## Rails 6.0.3.6 (March 26, 2021) ##
+
+*   No changes.
+
+
+## Rails 6.0.3.5 (February 10, 2021) ##
+
+*   No changes.
+
+
+
 ## Rails 6.0.3.4 (October 07, 2020) ##
 
 *   No changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc     2020-10-07 18:48:30.000000000 +0200
+++ new/README.rdoc     2021-06-15 22:17:34.000000000 +0200
@@ -17,7 +17,7 @@
 
 Source code can be downloaded as part of the Rails project on GitHub
 
-* https://github.com/rails/rails/tree/master/railties
+* https://github.com/rails/rails/tree/main/railties
 
 == License
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/api/task.rb new/lib/rails/api/task.rb
--- old/lib/rails/api/task.rb   2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/api/task.rb   2021-06-15 22:17:34.000000000 +0200
@@ -189,7 +189,7 @@
 
     class EdgeTask < RepoTask
       def rails_version
-        "master@#{`git rev-parse HEAD`[0, 7]}"
+        "main@#{`git rev-parse HEAD`[0, 7]}"
       end
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/application.rb new/lib/rails/application.rb
--- old/lib/rails/application.rb        2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/application.rb        2021-06-15 22:17:34.000000000 +0200
@@ -220,27 +220,27 @@
     #       config.middleware.use ExceptionNotifier, 
config_for(:exception_notification)
     #     end
     def config_for(name, env: Rails.env)
-      if name.is_a?(Pathname)
-        yaml = name
-      else
-        yaml = Pathname.new("#{paths["config"].existent.first}/#{name}.yml")
-      end
+      yaml = name.is_a?(Pathname) ? name : 
Pathname.new("#{paths["config"].existent.first}/#{name}.yml")
 
       if yaml.exist?
         require "erb"
-        config = YAML.load(ERB.new(yaml.read).result) || {}
-        config = (config["shared"] || {}).merge(config[env] || {})
+        all_configs    = YAML.load(ERB.new(yaml.read).result) || {}
+        config, shared = all_configs[env], all_configs["shared"]
+
+        config ||= {} if shared.nil? || shared.is_a?(Hash)
 
-        ActiveSupport::OrderedOptions.new.tap do |options|
-          options.update(NonSymbolAccessDeprecatedHash.new(config))
+        if config.is_a?(Hash)
+          
ActiveSupport::OrderedOptions.new.update(NonSymbolAccessDeprecatedHash.new(shared&.deep_merge(config)
 || config))
+        else
+          config || shared
         end
       else
         raise "Could not load configuration. No such file - #{yaml}"
       end
-    rescue Psych::SyntaxError => e
+    rescue Psych::SyntaxError => error
       raise "YAML syntax error occurred while parsing #{yaml}. " \
         "Please note that YAML must be consistently indented using spaces. 
Tabs are not allowed. " \
-        "Error: #{e.message}"
+        "Error: #{error.message}"
     end
 
     # Stores some of the Rails initial environment parameters which
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/commands/notes/notes_command.rb 
new/lib/rails/commands/notes/notes_command.rb
--- old/lib/rails/commands/notes/notes_command.rb       2020-10-07 
18:48:30.000000000 +0200
+++ new/lib/rails/commands/notes/notes_command.rb       2021-06-15 
22:17:34.000000000 +0200
@@ -5,7 +5,7 @@
 module Rails
   module Command
     class NotesCommand < Base # :nodoc:
-      class_option :annotations, aliases: "-a", desc: "Filter by specific 
annotations, e.g. Foobar TODO", type: :array, default: 
Rails::SourceAnnotationExtractor::Annotation.tags
+      class_option :annotations, aliases: "-a", desc: "Filter by specific 
annotations, e.g. Foobar TODO", type: :array
 
       def perform(*)
         require_application_and_environment!
@@ -16,7 +16,7 @@
 
       private
         def display_annotations
-          annotations = options[:annotations]
+          annotations = options[:annotations] || 
Rails::SourceAnnotationExtractor::Annotation.tags
           tag = (annotations.length > 1)
 
           Rails::SourceAnnotationExtractor.enumerate annotations.join("|"), 
tag: tag, dirs: directories
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/gem_version.rb new/lib/rails/gem_version.rb
--- old/lib/rails/gem_version.rb        2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/gem_version.rb        2021-06-15 22:17:34.000000000 +0200
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 6
     MINOR = 0
-    TINY  = 3
-    PRE   = "4"
+    TINY  = 4
+    PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/generators/app_base.rb 
new/lib/rails/generators/app_base.rb
--- old/lib/rails/generators/app_base.rb        2020-10-07 18:48:30.000000000 
+0200
+++ new/lib/rails/generators/app_base.rb        2021-06-15 22:17:34.000000000 
+0200
@@ -286,7 +286,7 @@
         else
           [GemfileEntry.version("rails",
                             rails_version_specifier,
-                            "Bundle edge Rails instead: gem 'rails', github: 
'rails/rails'")]
+                            "Bundle edge Rails instead: gem 'rails', github: 
'rails/rails', branch: 'main'")]
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/rack/logger.rb new/lib/rails/rack/logger.rb
--- old/lib/rails/rack/logger.rb        2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/rack/logger.rb        2021-06-15 22:17:34.000000000 +0200
@@ -47,7 +47,7 @@
         # Started GET "/session/new" for 127.0.0.1 at 2012-09-26 14:51:42 -0700
         def started_request_message(request) # :doc:
           'Started %s "%s" for %s at %s' % [
-            request.request_method,
+            request.raw_request_method,
             request.filtered_path,
             request.remote_ip,
             Time.now.to_default_s ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/railtie.rb new/lib/rails/railtie.rb
--- old/lib/rails/railtie.rb    2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/railtie.rb    2021-06-15 22:17:34.000000000 +0200
@@ -192,6 +192,7 @@
             super
           end
         end
+        ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)
 
         # receives an instance variable identifier, set the variable value if 
is
         # blank and append given block to value, which will be used later in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/test_unit/runner.rb 
new/lib/rails/test_unit/runner.rb
--- old/lib/rails/test_unit/runner.rb   2020-10-07 18:48:30.000000000 +0200
+++ new/lib/rails/test_unit/runner.rb   2021-06-15 22:17:34.000000000 +0200
@@ -61,7 +61,7 @@
         private
           def extract_filters(argv)
             # Extract absolute and relative paths but skip -n /.*/ regexp 
filters.
-            argv.select { |arg| arg =~ %r%^/?\w+/% && !arg.end_with?("/") 
}.map do |path|
+            argv.select { |arg| path_argument?(arg) && !regexp_filter?(arg) 
}.map do |path|
               case
               when /(:\d+)+$/.match?(path)
                 file, *lines = path.split(":")
@@ -75,6 +75,14 @@
               end
             end
           end
+
+          def regexp_filter?(arg)
+            arg.start_with?("/") && arg.end_with?("/")
+          end
+
+          def path_argument?(arg)
+            %r%^/?\w+/%.match?(arg)
+          end
       end
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-10-07 18:48:30.000000000 +0200
+++ new/metadata        2021-06-15 22:17:34.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: railties
 version: !ruby/object:Gem::Version
-  version: 6.0.3.4
+  version: 6.0.4
 platform: ruby
 authors:
 - David Heinemeier Hansson
-autorequire:
+autorequire: 
 bindir: exe
 cert_chain: []
-date: 2020-10-07 00:00:00.000000000 Z
+date: 2021-06-15 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,28 +16,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
 - !ruby/object:Gem::Dependency
   name: actionpack
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 6.0.3.4
+        version: 6.0.4
 description: 'Rails internals: application bootup, plugins, generators, and 
rake tasks.'
 email: [email protected]
 executables:
@@ -432,11 +432,11 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.3.4/railties/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v6.0.3.4/
+  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.4/railties/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v6.0.4/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v6.0.3.4/railties
-post_install_message:
+  source_code_uri: https://github.com/rails/rails/tree/v6.0.4/railties
+post_install_message: 
 rdoc_options:
 - "--exclude"
 - "."
@@ -453,8 +453,8 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.1.4
-signing_key:
+rubygems_version: 3.1.2
+signing_key: 
 specification_version: 4
 summary: Tools for creating, working with, and running Rails applications.
 test_files: []

Reply via email to