Hello community,

here is the log from the commit of package rubygem-railties-5.2 for 
openSUSE:Factory checked in at 2019-03-14 15:02:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-5.2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-railties-5.2"

Thu Mar 14 15:02:40 2019 rev:5 rq:684883 version:5.2.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-railties-5.2/rubygem-railties-5.2.changes    
    2019-01-21 10:52:41.303849403 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.28833/rubygem-railties-5.2.changes
     2019-03-14 15:03:18.207651663 +0100
@@ -1,0 +2,17 @@
+Thu Mar 14 03:44:52 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- update to version 5.2.2.1:
+  
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
+  CVE-2019-5418 CVE-2019-5419 CVE-2019-5420
+
+-------------------------------------------------------------------
+Sat Jan 19 19:51:40 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- rb_build_ruby_abi needs to be rb_build_ruby_abis
+
+-------------------------------------------------------------------
+Fri Jan 18 16:25:12 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- limit to ruby 2.5 and above for 42.3/sle12
+
+-------------------------------------------------------------------

Old:
----
  railties-5.2.2.gem

New:
----
  railties-5.2.2.1.gem

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

Other differences:
------------------
++++++ rubygem-railties-5.2.spec ++++++
--- /var/tmp/diff_new_pack.x181fH/_old  2019-03-14 15:03:21.227649749 +0100
+++ /var/tmp/diff_new_pack.x181fH/_new  2019-03-14 15:03:21.259649729 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-railties-5.2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -24,22 +24,22 @@
 #
 
 Name:           rubygem-railties-5.2
-Version:        5.2.2
+Version:        5.2.2.1
 Release:        0
 %define mod_name railties
 %define mod_full_name %{mod_name}-%{version}
 %define mod_version_suffix -5.2
 # MANUAL
 %if 0%{?suse_version} && 0%{?suse_version} < 1330
-%define rb_build_versions ruby23 ruby24 ruby25
-%define rb_build_ruby_abi ruby:2.3.0 ruby:2.4.0 ruby:2.5.0
+%define rb_build_versions ruby25 ruby26
+%define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
 %endif
 # /MANUAL
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{ruby >= 2.2.2}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            http://rubyonrails.org
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem

++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.x181fH/_old  2019-03-14 15:03:21.623649498 +0100
+++ /var/tmp/diff_new_pack.x181fH/_new  2019-03-14 15:03:21.639649488 +0100
@@ -3,6 +3,6 @@
 
 :preamble: |-
     %if 0%{?suse_version} && 0%{?suse_version} < 1330
-    %define rb_build_versions ruby23 ruby24 ruby25
-    %define rb_build_ruby_abi ruby:2.3.0 ruby:2.4.0 ruby:2.5.0
+    %define rb_build_versions ruby25 ruby26
+    %define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
     %endif

++++++ railties-5.2.2.gem -> railties-5.2.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2018-12-04 19:12:15.000000000 +0100
+++ new/CHANGELOG.md    2019-03-13 17:54:44.000000000 +0100
@@ -1,3 +1,8 @@
+## Rails 5.2.2.1 (March 11, 2019) ##
+
+*   No changes.
+
+
 ## Rails 5.2.2 (December 04, 2018) ##
 
 *   Disable content security policy for mailer previews.
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/application.rb new/lib/rails/application.rb
--- old/lib/rails/application.rb        2018-12-04 19:12:15.000000000 +0100
+++ new/lib/rails/application.rb        2019-03-13 17:54:44.000000000 +0100
@@ -426,8 +426,8 @@
     # then credentials.secret_key_base, and finally secrets.secret_key_base. 
For most applications,
     # the correct place to store it is in the encrypted credentials file.
     def secret_key_base
-      if Rails.env.test? || Rails.env.development?
-        secrets.secret_key_base || Digest::MD5.hexdigest(self.class.name)
+      if Rails.env.development? || Rails.env.test?
+        secrets.secret_key_base ||= generate_development_secret
       else
         validate_secret_key_base(
           ENV["SECRET_KEY_BASE"] || credentials.secret_key_base || 
secrets.secret_key_base
@@ -588,6 +588,21 @@
 
     private
 
+      def generate_development_secret
+        if secrets.secret_key_base.nil?
+          key_file = Rails.root.join("tmp/development_secret.txt")
+
+          if !File.exist?(key_file)
+            random_key = SecureRandom.hex(64)
+            File.binwrite(key_file, random_key)
+          end
+
+          secrets.secret_key_base = File.binread(key_file)
+        end
+
+        secrets.secret_key_base
+      end
+
       def build_request(env)
         req = super
         env["ORIGINAL_FULLPATH"] = req.fullpath
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        2018-12-04 19:12:15.000000000 +0100
+++ new/lib/rails/gem_version.rb        2019-03-13 17:54:44.000000000 +0100
@@ -10,7 +10,7 @@
     MAJOR = 5
     MINOR = 2
     TINY  = 2
-    PRE   = nil
+    PRE   = "1"
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-12-04 19:12:15.000000000 +0100
+++ new/metadata        2019-03-13 17:54:44.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: railties
 version: !ruby/object:Gem::Version
-  version: 5.2.2
+  version: 5.2.2.1
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: exe
 cert_chain: []
-date: 2018-12-04 00:00:00.000000000 Z
+date: 2019-03-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,28 +16,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
 - !ruby/object:Gem::Dependency
   name: actionpack
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 5.2.2
+        version: 5.2.2.1
 description: 'Rails internals: application bootup, plugins, generators, and 
rake tasks.'
 email: [email protected]
 executables:
@@ -421,8 +421,8 @@
 licenses:
 - MIT
 metadata:
-  source_code_uri: https://github.com/rails/rails/tree/v5.2.2/railties
-  changelog_uri: 
https://github.com/rails/rails/blob/v5.2.2/railties/CHANGELOG.md
+  source_code_uri: https://github.com/rails/rails/tree/v5.2.2.1/railties
+  changelog_uri: 
https://github.com/rails/rails/blob/v5.2.2.1/railties/CHANGELOG.md
 post_install_message: 
 rdoc_options:
 - "--exclude"
@@ -440,8 +440,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.6
+rubygems_version: 3.0.1
 signing_key: 
 specification_version: 4
 summary: Tools for creating, working with, and running Rails applications.


Reply via email to