Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-spring for openSUSE:Factory 
checked in at 2023-11-15 21:08:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-spring.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-spring"

Wed Nov 15 21:08:09 2023 rev:23 rq:1126445 version:4.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes    
2022-10-12 18:27:03.990003546 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-spring.new.17445/rubygem-spring.changes 
2023-11-15 21:09:30.842303857 +0100
@@ -1,0 +2,10 @@
+Tue Nov 14 18:40:02 UTC 2023 - Dan Čermák <[email protected]>
+
+- New upstream release 4.1.2, no changelog found
+
+-------------------------------------------------------------------
+Tue Nov 14 15:38:59 UTC 2023 - Dan Čermák <[email protected]>
+
+- New upstream release 4.1.1, no changelog found
+
+-------------------------------------------------------------------

Old:
----
  spring-4.1.0.gem

New:
----
  spring-4.1.2.gem

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

Other differences:
------------------
++++++ rubygem-spring.spec ++++++
--- /var/tmp/diff_new_pack.RxVebY/_old  2023-11-15 21:09:31.302320830 +0100
+++ /var/tmp/diff_new_pack.RxVebY/_new  2023-11-15 21:09:31.306320977 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-spring
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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-spring
-Version:        4.1.0
+Version:        4.1.2
 Release:        0
 %define mod_name spring
 %define mod_full_name %{mod_name}-%{version}
@@ -34,17 +34,15 @@
 %define rb_build_ruby_abis ruby:2.7.0
 %endif
 # /MANUAL
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{ruby >= 2.7.0}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 URL:            https://github.com/rails/spring
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        Rails application preloader
 License:        MIT
-Group:          Development/Languages/Ruby
 PreReq:         update-alternatives
 
 %description

++++++ spring-4.1.0.gem -> spring-4.1.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2022-09-21 21:00:59.000000000 +0200
+++ new/README.md       2023-11-14 15:59:02.000000000 +0100
@@ -16,7 +16,7 @@
 
 ## Compatibility
 
-* Ruby versions: MRI 2.7, MRI 3.0, MRI 3.1
+* Ruby versions: MRI 2.7, MRI 3.0, MRI 3.1, MRI 3.2
 * Rails versions: 6.0, 6.1, 7.0
 * Bundler v2.1+
 
@@ -71,11 +71,14 @@
 Spring reloads application code, and therefore needs the application to have
 reloading enabled.
 
-Please, make sure `config.cache_classes` is `false` in the environments that
+Ensure that `config.enable_reloading` is `true` in the environments that
 Spring manages. That setting is typically configured in
-`config/environments/*.rb`. In particular, make sure it is `false` for the
+`config/environments/*.rb`. In particular, make sure it is `true` for the
 `test` environment.
 
+Note: in versions of Rails before 7.1, the setting is called `cache_classes`,
+and it needs to be `false` for Spring to work.
+
 ### Usage
 
 For this walkthrough I've generated a new Rails application, and run
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/spring/application.rb 
new/lib/spring/application.rb
--- old/lib/spring/application.rb       2022-09-21 21:00:59.000000000 +0200
+++ new/lib/spring/application.rb       2023-11-14 15:59:02.000000000 +0100
@@ -302,13 +302,26 @@
       Kernel.module_eval do
         old_raise = Kernel.method(:raise)
         remove_method :raise
-        define_method :raise do |*args|
-          begin
-            old_raise.call(*args)
-          ensure
-            if $!
-              lib = File.expand_path("..", __FILE__)
-              $!.backtrace.reject! { |line| line.start_with?(lib) } unless 
$!.backtrace.frozen?
+        if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.2.0')
+          define_method :raise do |*args, **kwargs|
+            begin
+              old_raise.call(*args, **kwargs)
+            ensure
+              if $!
+                lib = File.expand_path("..", __FILE__)
+                $!.backtrace.reject! { |line| line.start_with?(lib) } unless 
$!.backtrace.frozen?
+              end
+            end
+          end
+        else
+          define_method :raise do |*args|
+            begin
+              old_raise.call(*args)
+            ensure
+              if $!
+                lib = File.expand_path("..", __FILE__)
+                $!.backtrace.reject! { |line| line.start_with?(lib) } unless 
$!.backtrace.frozen?
+              end
             end
           end
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/spring/client/binstub.rb 
new/lib/spring/client/binstub.rb
--- old/lib/spring/client/binstub.rb    2022-09-21 21:00:59.000000000 +0200
+++ new/lib/spring/client/binstub.rb    2023-11-14 15:59:02.000000000 +0100
@@ -20,7 +20,7 @@
       SPRING = <<~CODE
         #!/usr/bin/env ruby
 
-        # This file loads Spring without using loading other gems in the 
Gemfile, in order to be fast.
+        # This file loads Spring without loading other gems in the Gemfile in 
order to be fast.
         # It gets overwritten when you run the `spring binstub` command.
 
         if !defined?(Spring) && [nil, "development", 
"test"].include?(ENV["RAILS_ENV"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/spring/version.rb new/lib/spring/version.rb
--- old/lib/spring/version.rb   2022-09-21 21:00:59.000000000 +0200
+++ new/lib/spring/version.rb   2023-11-14 15:59:02.000000000 +0100
@@ -1,3 +1,3 @@
 module Spring
-  VERSION = "4.1.0"
+  VERSION = "4.1.2"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/spring/watcher/abstract.rb 
new/lib/spring/watcher/abstract.rb
--- old/lib/spring/watcher/abstract.rb  2022-09-21 21:00:59.000000000 +0200
+++ new/lib/spring/watcher/abstract.rb  2023-11-14 15:59:02.000000000 +0100
@@ -1,5 +1,4 @@
 require "pathname"
-require "mutex_m"
 
 module Spring
   module Watcher
@@ -9,13 +8,10 @@
     #   IO.select([watcher]) # watcher is running in background
     #   watcher.stale? # => true
     class Abstract
-      include Mutex_m
-
       attr_reader :files, :directories, :root, :latency
 
       def initialize(root, latency)
-        super()
-
+        @mutex       = Mutex.new
         @root        = File.realpath(root)
         @latency     = latency
         @files       = {}
@@ -59,7 +55,7 @@
           end
         end
 
-        synchronize {
+        @mutex.synchronize do
           items.each do |item|
             if item.directory?
               directories[item.realpath.to_s] = true
@@ -75,7 +71,7 @@
           end
 
           subjects_changed
-        }
+        end
       end
 
       def stale?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/spring/watcher/polling.rb 
new/lib/spring/watcher/polling.rb
--- old/lib/spring/watcher/polling.rb   2022-09-21 21:00:59.000000000 +0200
+++ new/lib/spring/watcher/polling.rb   2023-11-14 15:59:02.000000000 +0100
@@ -12,7 +12,7 @@
       end
 
       def check_stale
-        synchronize do
+        @mutex.synchronize do
           computed = compute_mtime
           if mtime < computed
             debug { "check_stale: mtime=#{mtime.inspect} < 
computed=#{computed.inspect}" }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-09-21 21:00:59.000000000 +0200
+++ new/metadata        2023-11-14 15:59:02.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: spring
 version: !ruby/object:Gem::Version
-  version: 4.1.0
+  version: 4.1.2
 platform: ruby
 authors:
 - Jon Leighton
-autorequire: 
+autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-09-21 00:00:00.000000000 Z
+date: 2023-11-14 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -99,7 +99,7 @@
 - MIT
 metadata:
   rubygems_mfa_required: 'true'
-post_install_message: 
+post_install_message:
 rdoc_options: []
 require_paths:
 - lib
@@ -115,7 +115,7 @@
       version: '0'
 requirements: []
 rubygems_version: 3.3.7
-signing_key: 
+signing_key:
 specification_version: 4
 summary: Rails application preloader
 test_files: []

Reply via email to