Hello community,

here is the log from the commit of package rubygem-delayed_job for 
openSUSE:Factory checked in at 2018-02-12 10:13:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-delayed_job (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-delayed_job.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-delayed_job"

Mon Feb 12 10:13:26 2018 rev:14 rq:574044 version:4.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-delayed_job/rubygem-delayed_job.changes  
2017-06-02 10:34:03.185794599 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-delayed_job.new/rubygem-delayed_job.changes 
    2018-02-12 10:13:31.105173528 +0100
@@ -1,0 +2,11 @@
+Tue Jan  9 07:25:59 UTC 2018 - co...@suse.com
+
+- updated to version 4.1.4
+ see installed CHANGELOG.md
+
+  4.1.4 - 2017-12-29
+  =================
+  * Use `yaml_tag` instead of deprecated `yaml_as` (#996)
+  * Support ruby 2.5.0
+
+-------------------------------------------------------------------

Old:
----
  delayed_job-4.1.3.gem

New:
----
  delayed_job-4.1.4.gem

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

Other differences:
------------------
++++++ rubygem-delayed_job.spec ++++++
--- /var/tmp/diff_new_pack.CG6W2U/_old  2018-02-12 10:13:31.809148160 +0100
+++ /var/tmp/diff_new_pack.CG6W2U/_new  2018-02-12 10:13:31.809148160 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-delayed_job
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-delayed_job
-Version:        4.1.3
+Version:        4.1.4
 Release:        0
 %define mod_name delayed_job
 %define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 Url:            http://github.com/collectiveidea/delayed_job
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        Database-backed asynchronous priority queue system -- 
Extracted from
 License:        MIT

++++++ delayed_job-4.1.3.gem -> delayed_job-4.1.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-05-26 20:11:43.000000000 +0200
+++ new/CHANGELOG.md    2017-12-29 19:25:22.000000000 +0100
@@ -1,3 +1,8 @@
+4.1.4 - 2017-12-29
+=================
+* Use `yaml_tag` instead of deprecated `yaml_as` (#996)
+* Support ruby 2.5.0
+
 4.1.3 - 2017-05-26
 =================
 * Don't mutate the options hash (#877)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-05-26 20:11:43.000000000 +0200
+++ new/README.md       2017-12-29 19:25:22.000000000 +0100
@@ -1,7 +1,7 @@
 **If you're viewing this at https://github.com/collectiveidea/delayed_job,
 you're reading the documentation for the master branch.
 [View documentation for the latest release
-(4.1.3).](https://github.com/collectiveidea/delayed_job/tree/v4.1.3)**
+(4.1.4).](https://github.com/collectiveidea/delayed_job/tree/v4.1.4)**
 
 Delayed::Job
 ============
@@ -222,7 +222,7 @@
 You can start processes to only work certain queues with the `queue` and 
`queues`
 options defined below. Processes started without specifying a queue will run 
jobs
 from **any** queue. To effectively have a process that runs jobs where a queue 
is not
-specified, set a default queue name with `Delayed::Worker.default_queue_name` 
and 
+specified, set a default queue name with `Delayed::Worker.default_queue_name` 
and
 have the processes run that queue.
 
 Running Jobs
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/delayed_job.gemspec new/delayed_job.gemspec
--- old/delayed_job.gemspec     2017-05-26 20:11:43.000000000 +0200
+++ new/delayed_job.gemspec     2017-12-29 19:25:22.000000000 +0100
@@ -13,5 +13,5 @@
   spec.require_paths  = ['lib']
   spec.summary        = 'Database-backed asynchronous priority queue system -- 
Extracted from Shopify'
   spec.test_files     = Dir.glob('spec/**/*')
-  spec.version        = '4.1.3'
+  spec.version        = '4.1.4'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/delayed/psych_ext.rb new/lib/delayed/psych_ext.rb
--- old/lib/delayed/psych_ext.rb        2017-05-26 20:11:43.000000000 +0200
+++ new/lib/delayed/psych_ext.rb        2017-12-29 19:25:22.000000000 +0100
@@ -33,7 +33,7 @@
         case object.tag
         when %r{^!ruby/object}
           result = super
-          if defined?(ActiveRecord::Base) && result.is_a?(ActiveRecord::Base)
+          if jruby_is_seriously_borked && result.is_a?(ActiveRecord::Base)
             klass = result.class
             id = result[klass.primary_key]
             begin
@@ -78,6 +78,13 @@
         end
       end
 
+      # defined? is triggering something really messed up in
+      # jruby causing both the if AND else clauses to execute,
+      # however if the check is run here, everything is fine
+      def jruby_is_seriously_borked
+        defined?(ActiveRecord::Base)
+      end
+
       def resolve_class(klass_name)
         return nil if !klass_name || klass_name.empty?
         klass_name.constantize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/delayed/serialization/active_record.rb 
new/lib/delayed/serialization/active_record.rb
--- old/lib/delayed/serialization/active_record.rb      2017-05-26 
20:11:43.000000000 +0200
+++ new/lib/delayed/serialization/active_record.rb      2017-12-29 
19:25:22.000000000 +0100
@@ -1,7 +1,7 @@
 if defined?(ActiveRecord)
   module ActiveRecord
     class Base
-      yaml_as 'tag:ruby.yaml.org,2002:ActiveRecord'
+      yaml_tag 'tag:ruby.yaml.org,2002:ActiveRecord'
 
       def self.yaml_new(klass, _tag, val)
         klass.unscoped.find(val['attributes'][klass.primary_key])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/delayed/syck_ext.rb new/lib/delayed/syck_ext.rb
--- old/lib/delayed/syck_ext.rb 2017-05-26 20:11:43.000000000 +0200
+++ new/lib/delayed/syck_ext.rb 2017-12-29 19:25:22.000000000 +0100
@@ -1,5 +1,5 @@
 class Module
-  yaml_as 'tag:ruby.yaml.org,2002:module'
+  yaml_tag 'tag:ruby.yaml.org,2002:module'
 
   def self.yaml_new(_klass, _tag, val)
     val.constantize
@@ -20,7 +20,7 @@
 end
 
 class Class
-  yaml_as 'tag:ruby.yaml.org,2002:class'
+  yaml_tag 'tag:ruby.yaml.org,2002:class'
   remove_method :to_yaml if respond_to?(:to_yaml) && method(:to_yaml).owner == 
Class # use Module's to_yaml
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-05-26 20:11:43.000000000 +0200
+++ new/metadata        2017-12-29 19:25:22.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: delayed_job
 version: !ruby/object:Gem::Version
-  version: 4.1.3
+  version: 4.1.4
 platform: ruby
 authors:
 - Brandon Keepers
@@ -15,7 +15,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-05-26 00:00:00.000000000 Z
+date: 2017-12-29 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -119,26 +119,26 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.11
+rubygems_version: 2.6.14
 signing_key: 
 specification_version: 4
 summary: Database-backed asynchronous priority queue system -- Extracted from 
Shopify
 test_files:
+- spec/sample_jobs.rb
+- spec/lifecycle_spec.rb
+- spec/performable_method_spec.rb
+- spec/helper.rb
+- spec/psych_ext_spec.rb
+- spec/worker_spec.rb
+- spec/autoloaded/struct.rb
 - spec/autoloaded/clazz.rb
 - spec/autoloaded/instance_clazz.rb
 - spec/autoloaded/instance_struct.rb
-- spec/autoloaded/struct.rb
-- spec/daemons.rb
+- spec/test_backend_spec.rb
+- spec/delayed/serialization/test.rb
 - spec/delayed/backend/test.rb
 - spec/delayed/command_spec.rb
-- spec/delayed/serialization/test.rb
-- spec/helper.rb
-- spec/lifecycle_spec.rb
 - spec/message_sending_spec.rb
 - spec/performable_mailer_spec.rb
-- spec/performable_method_spec.rb
-- spec/psych_ext_spec.rb
-- spec/sample_jobs.rb
-- spec/test_backend_spec.rb
-- spec/worker_spec.rb
 - spec/yaml_ext_spec.rb
+- spec/daemons.rb


Reply via email to