Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2015-06-30 10:16:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-daemons (Old) and /work/SRC/openSUSE:Factory/.rubygem-daemons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-daemons" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-daemons/rubygem-daemons.changes 2015-03-25 10:01:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2015-06-30 10:16:37.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jun 26 04:33:13 UTC 2015 - co...@suse.com + +- updated to version 1.2.3 + no changelog found + +------------------------------------------------------------------- Old: ---- daemons-1.2.2.gem New: ---- daemons-1.2.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-daemons.spec ++++++ --- /var/tmp/diff_new_pack.5iT6XY/_old 2015-06-30 10:16:38.000000000 +0200 +++ /var/tmp/diff_new_pack.5iT6XY/_new 2015-06-30 10:16:38.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-daemons -Version: 1.2.2 +Version: 1.2.3 Release: 0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} ++++++ daemons-1.2.2.gem -> daemons-1.2.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases 2015-03-17 20:35:46.000000000 +0100 +++ new/Releases 2015-06-25 22:24:19.000000000 +0200 @@ -1,5 +1,9 @@ = Daemons Release History +== Release 1.2.3: June 25, 2015 + +* fix: ApplicationGroup now waits on subprocesses in start_all (thanks to tobithiel) + == Release 1.2.2: March 17, 2015 * fix 100% CPU usage bug when using monitor mode. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/examples/run/ctrl_monitor_nocrash.rb new/examples/run/ctrl_monitor_nocrash.rb --- old/examples/run/ctrl_monitor_nocrash.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/examples/run/ctrl_monitor_nocrash.rb 2015-06-25 22:24:19.000000000 +0200 @@ -0,0 +1,15 @@ +lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '../../lib')) + +if File.exist?(File.join(lib_dir, 'daemons.rb')) + $LOAD_PATH.unshift lib_dir +else + begin; require 'rubygems'; rescue ::Exception; end +end + +require 'daemons' + +options = { + :monitor => true +} + +Daemons.run(File.join(File.dirname(__FILE__), 'myserver.rb'), options) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/daemons/application_group.rb new/lib/daemons/application_group.rb --- old/lib/daemons/application_group.rb 2015-03-17 20:35:46.000000000 +0100 +++ new/lib/daemons/application_group.rb 2015-06-25 22:24:19.000000000 +0200 @@ -146,11 +146,13 @@ @monitor.stop if @monitor @monitor = nil + pids = [] @applications.each do |a| - fork do + pids << fork do a.start end end + pids.each { |pid| Process.waitpid(pid) } end def stop_all(no_wait = false) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/daemons/version.rb new/lib/daemons/version.rb --- old/lib/daemons/version.rb 2015-03-17 20:35:46.000000000 +0100 +++ new/lib/daemons/version.rb 2015-06-25 22:24:19.000000000 +0200 @@ -1,3 +1,3 @@ module Daemons - VERSION = '1.2.2' + VERSION = '1.2.3' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-03-17 20:35:46.000000000 +0100 +++ new/metadata 2015-06-25 22:24:19.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: daemons version: !ruby/object:Gem::Version - version: 1.2.2 + version: 1.2.3 platform: ruby authors: - Thomas Uehlinger @@ -40,6 +40,7 @@ - examples/run/ctrl_keep_pid_files.rb - examples/run/ctrl_monitor.rb - examples/run/ctrl_monitor_multiple.rb +- examples/run/ctrl_monitor_nocrash.rb - examples/run/ctrl_multiple.rb - examples/run/ctrl_normal.rb - examples/run/ctrl_ontop.rb