Script 'mail_helper' called by obssrc
Hello community,

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

Package is "rubygem-activestorage-6.0"

Fri Jul  2 13:27:18 2021 rev:11 rq:902948 version:6.0.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activestorage-6.0/rubygem-activestorage-6.0.changes
      2020-10-18 16:34:20.524835866 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activestorage-6.0.new.2625/rubygem-activestorage-6.0.changes
    2021-07-02 13:28:10.284432697 +0200
@@ -1,0 +2,34 @@
+Thu Jun 24 16:51:46 UTC 2021 - Stephan Kulow <[email protected]>
+
+updated to version 6.0.4
+ see installed CHANGELOG.md
+
+  ## Rails 6.0.4 (June 15, 2021) ##
+  
+  *   The Poppler PDF previewer renders a preview image using the original
+      document's crop box rather than its media box, hiding print margins. This
+      matches the behavior of the MuPDF previewer.
+  
+      *Vincent Robert*
+  
+  
+  ## Rails 6.0.3.7 (May 05, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 6.0.3.6 (March 26, 2021) ##
+  
+  *   Marcel is upgraded to version 1.0.0 to avoid a dependency on GPL-licensed
+      mime types data.
+  
+      *George Claghorn*
+  
+  
+  ## Rails 6.0.3.5 (February 10, 2021) ##
+  
+  *   No changes.
+  
+  
+
+-------------------------------------------------------------------

Old:
----
  activestorage-6.0.3.4.gem

New:
----
  activestorage-6.0.4.gem

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

Other differences:
------------------
++++++ rubygem-activestorage-6.0.spec ++++++
--- /var/tmp/diff_new_pack.lbwUDX/_old  2021-07-02 13:28:10.788428787 +0200
+++ /var/tmp/diff_new_pack.lbwUDX/_new  2021-07-02 13:28:10.792428756 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-activestorage-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-activestorage-6.0
-Version:        6.0.3.4
+Version:        6.0.4
 Release:        0
 %define mod_name activestorage
 %define mod_full_name %{mod_name}-%{version}

++++++ activestorage-6.0.3.4.gem -> activestorage-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:27.000000000 +0200
+++ new/CHANGELOG.md    2021-06-15 22:17:34.000000000 +0200
@@ -1,3 +1,30 @@
+## Rails 6.0.4 (June 15, 2021) ##
+
+*   The Poppler PDF previewer renders a preview image using the original
+    document's crop box rather than its media box, hiding print margins. This
+    matches the behavior of the MuPDF previewer.
+
+    *Vincent Robert*
+
+
+## Rails 6.0.3.7 (May 05, 2021) ##
+
+*   No changes.
+
+
+## Rails 6.0.3.6 (March 26, 2021) ##
+
+*   Marcel is upgraded to version 1.0.0 to avoid a dependency on GPL-licensed
+    mime types data.
+
+    *George Claghorn*
+
+
+## Rails 6.0.3.5 (February 10, 2021) ##
+
+*   No changes.
+
+
 ## Rails 6.0.3.4 (October 07, 2020) ##
 
 *   No changes.
@@ -17,6 +44,7 @@
 
 *   [CVE-2020-8162] Include Content-Length in signature for ActiveStorage 
direct upload
 
+
 ## Rails 6.0.3 (May 06, 2020) ##
 
 *   No changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2020-10-07 18:48:27.000000000 +0200
+++ new/README.md       2021-06-15 22:17:34.000000000 +0200
@@ -10,7 +10,7 @@
 
 ## Compared to other storage solutions
 
-A key difference to how Active Storage works compared to other attachment 
solutions in Rails is through the use of built-in 
[Blob](https://github.com/rails/rails/blob/master/activestorage/app/models/active_storage/blob.rb)
 and 
[Attachment](https://github.com/rails/rails/blob/master/activestorage/app/models/active_storage/attachment.rb)
 models (backed by Active Record). This means existing application models do 
not need to be modified with additional columns to associate with files. Active 
Storage uses polymorphic associations via the `Attachment` join model, which 
then connects to the actual `Blob`.
+A key difference to how Active Storage works compared to other attachment 
solutions in Rails is through the use of built-in 
[Blob](https://github.com/rails/rails/blob/main/activestorage/app/models/active_storage/blob.rb)
 and 
[Attachment](https://github.com/rails/rails/blob/main/activestorage/app/models/active_storage/attachment.rb)
 models (backed by Active Record). This means existing application models do 
not need to be modified with additional columns to associate with files. Active 
Storage uses polymorphic associations via the `Attachment` join model, which 
then connects to the actual `Blob`.
 
 `Blob` models store attachment metadata (filename, content-type, etc.), and 
their identifier key in the storage service. Blob models do not store the 
actual binary data. They are intended to be immutable in spirit. One file, one 
blob. You can associate the same blob with multiple application models as well. 
And if you want to do transformations of a given `Blob`, the idea is that 
you'll simply create a new one, rather than attempt to mutate the existing one 
(though of course you can delete the previous version later if you don't need 
it).
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/app/models/active_storage/blob.rb 
new/app/models/active_storage/blob.rb
--- old/app/models/active_storage/blob.rb       2020-10-07 18:48:27.000000000 
+0200
+++ new/app/models/active_storage/blob.rb       2021-06-15 22:17:34.000000000 
+0200
@@ -1,7 +1,5 @@
 # frozen_string_literal: true
 
-require "active_storage/downloader"
-
 # A blob is a record that contains the metadata about a file and a key for 
where that file resides on the service.
 # Blobs can be created in two ways:
 #
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_storage/attached/changes/create_one.rb 
new/lib/active_storage/attached/changes/create_one.rb
--- old/lib/active_storage/attached/changes/create_one.rb       2020-10-07 
18:48:27.000000000 +0200
+++ new/lib/active_storage/attached/changes/create_one.rb       2021-06-15 
22:17:34.000000000 +0200
@@ -58,7 +58,7 @@
             filename: attachable.original_filename,
             content_type: attachable.content_type
         when Hash
-          ActiveStorage::Blob.build_after_unfurling(**attachable)
+          
ActiveStorage::Blob.build_after_unfurling(**attachable.symbolize_keys)
         when String
           ActiveStorage::Blob.find_signed(attachable)
         else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_storage/attached/model.rb 
new/lib/active_storage/attached/model.rb
--- old/lib/active_storage/attached/model.rb    2020-10-07 18:48:27.000000000 
+0200
+++ new/lib/active_storage/attached/model.rb    2021-06-15 22:17:34.000000000 
+0200
@@ -33,7 +33,8 @@
       def has_one_attached(name, dependent: :purge_later)
         generated_association_methods.class_eval <<-CODE, __FILE__, __LINE__ + 
1
           def #{name}
-            @active_storage_attached_#{name} ||= 
ActiveStorage::Attached::One.new("#{name}", self)
+            @active_storage_attached ||= {}
+            @active_storage_attached[:#{name}] ||= 
ActiveStorage::Attached::One.new("#{name}", self)
           end
 
           def #{name}=(attachable)
@@ -89,7 +90,8 @@
       def has_many_attached(name, dependent: :purge_later)
         generated_association_methods.class_eval <<-CODE, __FILE__, __LINE__ + 
1
           def #{name}
-            @active_storage_attached_#{name} ||= 
ActiveStorage::Attached::Many.new("#{name}", self)
+            @active_storage_attached ||= {}
+            @active_storage_attached[:#{name}] ||= 
ActiveStorage::Attached::Many.new("#{name}", self)
           end
 
           def #{name}=(attachables)
@@ -144,6 +146,12 @@
       super || attachment_changes.any?
     end
 
+    def initialize_dup(*) #:nodoc:
+      super
+      @active_storage_attached = nil
+      @attachment_changes = nil
+    end
+
     def reload(*) #:nodoc:
       super.tap { @attachment_changes = nil }
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_storage/gem_version.rb 
new/lib/active_storage/gem_version.rb
--- old/lib/active_storage/gem_version.rb       2020-10-07 18:48:27.000000000 
+0200
+++ new/lib/active_storage/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/active_storage/previewer/poppler_pdf_previewer.rb 
new/lib/active_storage/previewer/poppler_pdf_previewer.rb
--- old/lib/active_storage/previewer/poppler_pdf_previewer.rb   2020-10-07 
18:48:27.000000000 +0200
+++ new/lib/active_storage/previewer/poppler_pdf_previewer.rb   2021-06-15 
22:17:34.000000000 +0200
@@ -29,7 +29,7 @@
     private
       def draw_first_page_from(file, &block)
         # use 72 dpi to match thumbnail dimensions of the PDF
-        draw self.class.pdftoppm_path, "-singlefile", "-r", "72", "-png", 
file.path, &block
+        draw self.class.pdftoppm_path, "-singlefile", "-cropbox", "-r", "72", 
"-png", file.path, &block
       end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_storage/service/s3_service.rb 
new/lib/active_storage/service/s3_service.rb
--- old/lib/active_storage/service/s3_service.rb        2020-10-07 
18:48:27.000000000 +0200
+++ new/lib/active_storage/service/s3_service.rb        2021-06-15 
22:17:34.000000000 +0200
@@ -1,5 +1,7 @@
 # frozen_string_literal: true
 
+gem "aws-sdk-s3", "~> 1.48"
+
 require "aws-sdk-s3"
 require "active_support/core_ext/numeric/bytes"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_storage/service.rb 
new/lib/active_storage/service.rb
--- old/lib/active_storage/service.rb   2020-10-07 18:48:27.000000000 +0200
+++ new/lib/active_storage/service.rb   2021-06-15 22:17:34.000000000 +0200
@@ -1,6 +1,7 @@
 # frozen_string_literal: true
 
 require "active_storage/log_subscriber"
+require "active_storage/downloader"
 require "action_dispatch"
 require "action_dispatch/http/content_disposition"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-10-07 18:48:27.000000000 +0200
+++ new/metadata        2021-06-15 22:17:34.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: activestorage
 version: !ruby/object:Gem::Version
-  version: 6.0.3.4
+  version: 6.0.4
 platform: ruby
 authors:
 - David Heinemeier Hansson
-autorequire:
+autorequire: 
 bindir: bin
 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: actionpack
@@ -16,56 +16,56 @@
     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: activejob
   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: activerecord
   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: marcel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 0.3.1
+        version: 1.0.0
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 0.3.1
+        version: 1.0.0
 description: Attach cloud and local files in Rails applications.
 email: [email protected]
 executables: []
@@ -151,11 +151,11 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.3.4/activestorage/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v6.0.3.4/
+  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.4/activestorage/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/activestorage
-post_install_message:
+  source_code_uri: https://github.com/rails/rails/tree/v6.0.4/activestorage
+post_install_message: 
 rdoc_options: []
 require_paths:
 - lib
@@ -170,8 +170,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: Local and cloud file storage framework.
 test_files: []

Reply via email to