commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2019-03-04 09:19:42 Comparing /work/SRC/openSUSE:Factory/rubygem-daemons (Old) and /work/SRC/openSUSE:Factory/.rubygem-daemons.new.28833 (New) Package is "rubygem-daemons" Mon Mar 4 09:19:42 2019 rev:14 rq:679518 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-daemons/rubygem-daemons.changes 2018-01-02 16:36:00.759967396 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new.28833/rubygem-daemons.changes 2019-03-04 09:19:47.576607268 +0100 @@ -1,0 +2,6 @@ +Wed Dec 19 07:05:30 UTC 2018 - Stephan Kulow + +- updated to version 1.3.1 + no changelog found + +--- Old: daemons-1.2.6.gem New: daemons-1.3.1.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.xHxPXW/_old 2019-03-04 09:19:49.804606867 +0100 +++ /var/tmp/diff_new_pack.xHxPXW/_new 2019-03-04 09:19:49.804606867 +0100 @@ -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 http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-daemons -Version:1.2.6 +Version:1.3.1 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} ++ daemons-1.2.6.gem -> daemons-1.3.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 2017-12-24 13:54:50.0 +0100 +++ new/LICENSE 2018-12-14 20:59:50.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2005-2017 Thomas Uehlinger, 2014-2016 Aaron Stone +Copyright (c) 2005-2018 Thomas Uehlinger, 2014-2016 Aaron Stone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-12-24 13:54:50.0 +0100 +++ new/README.md 2018-12-14 20:59:50.0 +0100 @@ -201,7 +201,7 @@ Daemons.run('myserver.rb', { show_status_callback: :custom_show_status }) ``` -Documenation +Documentation --- Documentation can be found at http://www.rubydoc.info/gems/daemons. @@ -209,4 +209,4 @@ Author -- -Written 2005-2017 by Thomas Uehlinger, 2014-2016 by Aaron Stone. +Written 2005-2018 by Thomas Uehlinger, 2014-2016 by Aaron Stone. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases2017-12-24 13:54:50.0 +0100 +++ new/Releases2018-12-14 20:59:50.0 +0100 @@ -1,5 +1,15 @@ = Daemons Release History +== Release 1.3.1: December 14, 2018 + +* Fix undefined local variable or method `pid_delimiter' + +== Release 1.3.0: December 10, 2018 + +* Make logging more configurable. +* Add configuration options for pid file delimters, force_kill_waittime +* All status callback to be anything callable. + == Release 1.2.6: December 24, 2017 * Add links to rubydoc.info documentation. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/daemons/application.rb new/lib/daemons/application.rb --- old/lib/daemons/application.rb 2017-12-24 13:54:50.0 +0100 +++ new/lib/daemons/application.rb 2018-12-14 20:59:50.0 +0100 @@ -31,7 +31,7 @@ ['dir', 'log_dir', 'logfilename', 'output_logfilename'].each do |k| @options[k] = File.expand_path(@options[k]) if @options.key?(k) end - + @dir_mode = @dir = @script = nil @force_kill_waittime = @options[:force_kill_waittime] || 20 @@ -44,7 +44,7 @@ if @options[:no_pidfiles] @pid = PidMem.new elsif dir = pidfile_dir - @pid = PidFile.new(dir, @group.app_name, @group.multiple) + @pid = PidFile.new(dir, @group.app_name, @group.multiple, @options[:pid_delimiter]) else @pid = PidMem.new end @@ -52,7 +52,12 @@ end def show_status_callback=(function) - @show_status_callback = method(function) + @show_status_callback = +if function.respond_to?(:call) + function +else + method(function) +end end def change_privilege diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnigno
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2018-01-02 16:35:58 Comparing /work/SRC/openSUSE:Factory/rubygem-daemons (Old) and /work/SRC/openSUSE:Factory/.rubygem-daemons.new (New) Package is "rubygem-daemons" Tue Jan 2 16:35:58 2018 rev:13 rq:561141 version:1.2.6 Changes: --- /work/SRC/openSUSE:Factory/rubygem-daemons/rubygem-daemons.changes 2017-10-23 16:53:35.247854615 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2018-01-02 16:36:00.759967396 +0100 @@ -1,0 +2,9 @@ +Tue Jan 2 09:22:12 UTC 2018 - dk...@suse.com + +- Updated to version 1.2.6 + + == Release 1.2.6: December 24, 2017 + + * Add links to rubydoc.info documentation. + +--- Old: daemons-1.2.5.gem New: daemons-1.2.6.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.5elfTi/_old 2018-01-02 16:36:01.511716706 +0100 +++ /var/tmp/diff_new_pack.5elfTi/_new 2018-01-02 16:36:01.515715374 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# 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-daemons -Version:1.2.5 +Version:1.2.6 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} ++ daemons-1.2.5.gem -> daemons-1.2.6.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-10-22 19:12:58.0 +0200 +++ new/README.md 2017-12-24 13:54:50.0 +0100 @@ -201,6 +201,11 @@ Daemons.run('myserver.rb', { show_status_callback: :custom_show_status }) ``` +Documenation +--- + +Documentation can be found at http://www.rubydoc.info/gems/daemons. + Author -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases2017-10-22 19:12:58.0 +0200 +++ new/Releases2017-12-24 13:54:50.0 +0100 @@ -1,5 +1,9 @@ = Daemons Release History +== Release 1.2.6: December 24, 2017 + +* Add links to rubydoc.info documentation. + == Release 1.2.5: October 22, 2017 * In Application#stop, call zap, not cleanup on the pidfile (thanks to wevanscfi) Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ 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 2017-10-22 19:12:58.0 +0200 +++ new/lib/daemons/version.rb 2017-12-24 13:54:50.0 +0100 @@ -1,3 +1,3 @@ module Daemons - VERSION = '1.2.5' + VERSION = '1.2.6' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2017-10-22 19:12:58.0 +0200 +++ new/metadata2017-12-24 13:54:50.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: daemons version: !ruby/object:Gem::Version - version: 1.2.5 + version: 1.2.6 platform: ruby authors: - Thomas Uehlinger autorequire: bindir: bin cert_chain: [] -date: 2017-10-22 00:00:00.0 Z +date: 2017-12-24 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -130,7 +130,8 @@ homepage: https://github.com/thuehlinger/daemons licenses: - MIT -metadata: {} +metadata: + documentation_uri: http://www.rubydoc.info/gems/daemons post_install_message: rdoc_options: [] require_paths:
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2017-10-23 16:52:56 Comparing /work/SRC/openSUSE:Factory/rubygem-daemons (Old) and /work/SRC/openSUSE:Factory/.rubygem-daemons.new (New) Package is "rubygem-daemons" Mon Oct 23 16:52:56 2017 rev:12 rq:535850 version:1.2.5 Changes: --- /work/SRC/openSUSE:Factory/rubygem-daemons/rubygem-daemons.changes 2016-08-25 09:55:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2017-10-23 16:53:35.247854615 +0200 @@ -1,0 +2,10 @@ +Mon Oct 23 05:47:31 UTC 2017 - mschnit...@suse.com + +- updated to version 1.2.5 + + == Release 1.2.5: October 22, 2017 + + * In Application#stop, call zap, not cleanup on the pidfile (thanks to wevanscfi) + * Use File.expand_path on and output and log files (thanks to Dave Harris) + +--- Old: daemons-1.2.4.gem New: daemons-1.2.5.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.bmOHxa/_old 2017-10-23 16:53:35.671834772 +0200 +++ /var/tmp/diff_new_pack.bmOHxa/_new 2017-10-23 16:53:35.675834584 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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-daemons -Version:1.2.4 +Version:1.2.5 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 Url:https://github.com/thuehlinger/daemons -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:A toolkit to create and control daemons in different ways License:MIT ++ daemons-1.2.4.gem -> daemons-1.2.5.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 2016-08-02 20:22:22.0 +0200 +++ new/LICENSE 2017-10-22 19:12:58.0 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2005-2016 Thomas Uehlinger, 2014-2016 Aaron Stone +Copyright (c) 2005-2017 Thomas Uehlinger, 2014-2016 Aaron Stone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-08-02 20:22:22.0 +0200 +++ new/README.md 2017-10-22 19:12:58.0 +0200 @@ -1,6 +1,6 @@ Ruby Daemons -[![Code Climate](https://codeclimate.com/github/acuppy/daemons/badges/gpa.svg)](https://codeclimate.com/github/acuppy/daemons)[![Test Coverage](https://circleci.com/gh/acuppy/daemons.svg?style=shield&circle-token=a4f96fd41f7682661d6543e30207427ac8870c0d)](https://circleci.com/gh/acuppy/daemons) +[![Build Status](https://travis-ci.org/thuehlinger/daemons.svg?branch=master)](https://travis-ci.org/thuehlinger/daemons)[![Code Climate](https://codeclimate.com/github/acuppy/daemons/badges/gpa.svg)](https://codeclimate.com/github/acuppy/daemons)[![Test Coverage](https://circleci.com/gh/acuppy/daemons.svg?style=shield&circle-token=a4f96fd41f7682661d6543e30207427ac8870c0d)](https://circleci.com/gh/acuppy/daemons) Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be _run as a daemon_ and to be _controlled by simple start/stop/restart commands_. @@ -204,4 +204,4 @@ Author -- -Written 2005-2016 by Thomas Uehlinger, 2014-2016 by Aaron Stone. +Written 2005-2017 by Thomas Uehlinger, 2014-2016 by Aaron Stone. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases2016-08-02 20:22:22.0 +0200 +++ new/Releases2017-10-22 19:12:58.0 +0200 @@ -1,5 +1,10 @@ = Daemons Release History +== Release 1.2.5: October 22, 2017 + +* In Application#stop, call zap, not cleanup on the pidfile (thanks to wevanscfi) +* Use File.expand_path on and output and log files (thanks to Dave Harris) + == Release 1.2.4: August 1, 2016 * add :shush option Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/dae
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2016-08-25 09:55:15 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-06-30 10:16:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2016-08-25 09:55:16.0 +0200 @@ -1,0 +2,6 @@ +Wed Aug 3 04:30:21 UTC 2016 - co...@suse.com + +- updated to version 1.2.4 + no changelog found + +--- Old: daemons-1.2.3.gem New: daemons-1.2.4.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.eJIEs0/_old 2016-08-25 09:55:17.0 +0200 +++ /var/tmp/diff_new_pack.eJIEs0/_new 2016-08-25 09:55:17.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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-daemons -Version:1.2.3 +Version:1.2.4 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} ++ daemons-1.2.3.gem -> daemons-1.2.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 2015-06-25 22:24:19.0 +0200 +++ new/LICENSE 2016-08-02 20:22:22.0 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2005-2015 Thomas Uehlinger, 2014-2015 Aaron Stone +Copyright (c) 2005-2016 Thomas Uehlinger, 2014-2016 Aaron Stone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-06-25 22:24:19.0 +0200 +++ new/README.md 2016-08-02 20:22:22.0 +0200 @@ -1,5 +1,6 @@ Ruby Daemons +[![Code Climate](https://codeclimate.com/github/acuppy/daemons/badges/gpa.svg)](https://codeclimate.com/github/acuppy/daemons)[![Test Coverage](https://circleci.com/gh/acuppy/daemons.svg?style=shield&circle-token=a4f96fd41f7682661d6543e30207427ac8870c0d)](https://circleci.com/gh/acuppy/daemons) Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be _run as a daemon_ and to be _controlled by simple start/stop/restart commands_. @@ -203,4 +204,4 @@ Author -- -Written 2005-2015 by Thomas Uehlinger , 2014-2015 by Aaron Stone . +Written 2005-2016 by Thomas Uehlinger, 2014-2016 by Aaron Stone. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases2015-06-25 22:24:19.0 +0200 +++ new/Releases2016-08-02 20:22:22.0 +0200 @@ -1,5 +1,11 @@ = Daemons Release History +== Release 1.2.4: August 1, 2016 + +* add :shush option +* add :monitor_interval option +* add :log_output_syslog option + == Release 1.2.3: June 25, 2015 * fix: ApplicationGroup now waits on subprocesses in start_all (thanks to tobithiel) @@ -27,12 +33,12 @@ == Release 1.1.9: August 10, 2012 -* daemonize.rb: do srand in the forked child process both in daemonize and call_as_daemon +* daemonize.rb: do srand in the forked child process both in daemonize and call_as_daemon (thanks to Andrew Havens). == Release 1.1.8: February 7, 2012 -* rename to daemonization.rb to daemonize.rb (and Daemonization to Daemonize) to +* rename to daemonization.rb to daemonize.rb (and Daemonization to Daemonize) to ensure compatibility. == Release 1.1.7: February 6, 2012 @@ -46,57 +52,57 @@ == Release 1.1.5: December 19, 2011 -* Catch the case where the pidfile is empty but not deleted +* Catch the case where the pidfile is empty but not deleted and restart the app (thanks to Rich Healey) == Release 1.1.4: June 17, 2011 -* Do not change the umask to when daemonizing anymore, just leave it as it +* Do not change the umask to when daemonizing anymore, just leave it as it was (thanks to Jon Botelho). == Release 1.1.3: April 14, 2011 * Fixed a bug in Application.stop: the cached pid number needs to be used to check for the status of a killed process (thanks to Jimmy Sieben). - + == Release 1.1.2: March 29, 201
commit rubygem-daemons for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2015-06-30 10:16:37.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.5iT6XY/_new 2015-06-30 10:16:38.0 +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/Releases2015-03-17 20:35:46.0 +0100 +++ new/Releases2015-06-25 22:24:19.0 +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.rb1970-01-01 01:00:00.0 +0100 +++ new/examples/run/ctrl_monitor_nocrash.rb2015-06-25 22:24:19.0 +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.rb2015-03-17 20:35:46.0 +0100 +++ new/lib/daemons/application_group.rb2015-06-25 22:24:19.0 +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.0 +0100 +++ new/lib/daemons/version.rb 2015-06-25 22:24:19.0 +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/metadata2015-03-17 20:35:46.0 +0100 +++ new/metadata2015-06-25 22:24:19.0 +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
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2015-03-25 10:01:20 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-18 13:03:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2015-03-25 10:01:33.0 +0100 @@ -1,0 +2,7 @@ +Sun Mar 22 09:14:13 UTC 2015 - co...@suse.com + +- updated to version 1.2.2 + * fix 100% CPU usage bug when using monitor mode. + * increase version number to be able to re-push to rubygems + +--- Old: daemons-1.2.0.gem New: daemons-1.2.2.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.KDcDCy/_old 2015-03-25 10:01:34.0 +0100 +++ /var/tmp/diff_new_pack.KDcDCy/_new 2015-03-25 10:01:34.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-daemons -Version:1.2.0 +Version:1.2.2 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} ++ daemons-1.2.0.gem -> daemons-1.2.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Releases new/Releases --- old/Releases1970-01-01 01:00:00.0 +0100 +++ new/Releases2015-03-17 20:35:46.0 +0100 @@ -1,5 +1,13 @@ = Daemons Release History +== Release 1.2.2: March 17, 2015 + +* fix 100% CPU usage bug when using monitor mode. + +== Release 1.2.1: March 10, 2015 + +* increase version number to be able to re-push to rubygems + == Release 1.2.0: March 8, 2015 * add options for custum log file names. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/examples/call/call.rb new/examples/call/call.rb --- old/examples/call/call.rb 1970-01-01 01:00:00.0 +0100 +++ new/examples/call/call.rb 2015-03-17 20:35:46.0 +0100 @@ -0,0 +1,54 @@ +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' + +testfile = File.expand_path(__FILE__) + '.log' + +# On the first call to , an application group (accessible by Daemons.group) +# will be created an the options will be kept within, so you only have to specify +# :multiple once. +# + +options = { + :app_name => 'mytask', +# :ontop => true, + :multiple => true +} + +Daemons.call(options) do + File.open(testfile, 'w') do |f| +f.puts 'test' + end + + loop { puts '1'; sleep 5 } +end +puts 'first task started' + +Daemons.call do + loop { puts '2'; sleep 4 } +end +puts 'second task started' + +# NOTE: this process will exit after 5 seconds +Daemons.call do + puts '3' + sleep 5 +end +puts 'third task started' + +puts 'waiting 20 seconds...' +sleep(20) + +# This call would result in an exception as it will try to kill the third process +# which has already terminated by that time; but using the 'true' parameter forces the +# stop_all procedure. +puts 'trying to stop all tasks...' +Daemons.group.stop_all(true) + +puts 'done' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/examples/call/call_monitor.rb new/examples/call/call_monitor.rb --- old/examples/call/call_monitor.rb 1970-01-01 01:00:00.0 +0100 +++ new/examples/call/call_monitor.rb 2015-03-17 20:35:46.0 +0100 @@ -0,0 +1,51 @@ +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' + +testfile = File.expand_path(__FILE__) + '.log' + +# On the first call to , an application group (accessible by Daemons.group) +# will be created an the options will be kept within, so you only have to specify +# :multiple once. +# + +options = { +# :ontop => true, + :multiple => true, + :monitor => true +} + +Daemons.call(options) do + loop { puts '1'; sleep 20 } +end +puts 'first task started' + +# NOTE: this process will exit after 5 seconds +Daemons.call do + File.open(testfile, 'a') do |f| +f.puts 'started...' +puts '2' + +sleep 5 + +f.puts '...exit' + end +end +puts 'second task started' + +puts 'waiting 100 seconds...' +sleep(100) + +# This call would result in an exception
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2015-03-18 13:03:55 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 2014-10-15 08:52:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2015-03-18 13:03:56.0 +0100 @@ -1,0 +2,5 @@ +Mon Mar 9 05:29:05 UTC 2015 - co...@suse.com + +- updated to version 1.2.0 + +--- Old: daemons-1.1.9.gem New: daemons-1.2.0.gem gem2rpm.yml Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.G8ghdn/_old 2015-03-18 13:03:57.0 +0100 +++ /var/tmp/diff_new_pack.G8ghdn/_new 2015-03-18 13:03:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,8 +16,15 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-daemons -Version:1.1.9 +Version:1.2.0 Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} @@ -25,20 +32,22 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url:http://daemons.rubyforge.org +Url:https://github.com/thuehlinger/daemons Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:A toolkit to create and control daemons in different ways -License:Ruby +License:MIT Group: Development/Languages/Ruby %description Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple -start/stop/restart commands. You can also call blocks as daemons and control -them from the parent or just daemonize the current process. Besides this -basic functionality, daemons offers many advanced features like exception -backtracing and logging (in case your ruby script crashes) and monitoring and -automatic restarting of your processes if they crash. +start/stop/restart commands. +You can also call blocks as daemons and control them from the parent or just +daemonize the current process. +Besides this basic functionality, daemons offers many advanced features like +exception backtracing and logging (in case your ruby script crashes) and +monitoring and automatic restarting of your processes if they crash. %prep @@ -46,7 +55,7 @@ %install %gem_install \ - --doc-files="LICENSE README" \ + --doc-files="LICENSE README.md" \ -f %gem_packages ++ daemons-1.1.9.gem -> daemons-1.2.0.gem ++ 5013 lines of diff (skipped) ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: #
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2014-10-15 08:51:49 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 2012-09-01 10:33:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2014-10-15 08:52:28.0 +0200 @@ -1,0 +2,5 @@ +Sun Oct 12 10:20:20 UTC 2014 - adr...@suse.de + +- adapt to new rubygem packaging style + +--- Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.EjxfxZ/_old 2014-10-15 08:52:30.0 +0200 +++ /var/tmp/diff_new_pack.EjxfxZ/_new 2014-10-15 08:52:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,11 +21,12 @@ Release:0 %define mod_name daemons %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 Url:http://daemons.rubyforge.org -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:A toolkit to create and control daemons in different ways License:Ruby Group: Development/Languages/Ruby @@ -39,33 +40,15 @@ backtracing and logging (in case your ruby script crashes) and monitoring and automatic restarting of your processes if they crash. -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f +%gem_install \ + --doc-files="LICENSE README" \ + -f -%files -%defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ +%gem_packages %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-daemons for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-daemons for openSUSE:Factory checked in at 2012-09-01 10:33:22 Comparing /work/SRC/openSUSE:Factory/rubygem-daemons (Old) and /work/SRC/openSUSE:Factory/.rubygem-daemons.new (New) Package is "rubygem-daemons", Maintainer is "mrueck...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/rubygem-daemons/rubygem-daemons.changes 2012-03-27 08:58:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-daemons.new/rubygem-daemons.changes 2012-09-01 10:33:25.0 +0200 @@ -1,0 +2,6 @@ +Fri Aug 10 09:45:10 UTC 2012 - co...@suse.com + +- updated to version 1.1.9 + * daemonize.rb: do srand in the forked child process both in daemonize and call_as_daemon + +--- Old: daemons-1.1.2.gem New: daemons-1.1.9.gem Other differences: -- ++ rubygem-daemons.spec ++ --- /var/tmp/diff_new_pack.k8CGtg/_old 2012-09-01 10:33:26.0 +0200 +++ /var/tmp/diff_new_pack.k8CGtg/_new 2012-09-01 10:33:26.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-daemons # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,65 +15,57 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild + Name: rubygem-daemons -Version:1.1.2 +Version:1.1.9 Release:0 %define mod_name daemons -# -Group: Development/Languages/Ruby -License:Ruby -# +%define mod_full_name %{mod_name}-%{version} + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -%rubygems_requires -# +BuildRequires: ruby-macros >= 1 Url:http://daemons.rubyforge.org -Source: %{mod_name}-%{version}.gem -# +Source: %{mod_full_name}.gem Summary:A toolkit to create and control daemons in different ways -%description -Daemons provides an easy way to wrap existing ruby scripts (for example -a self-written server) to be run as a daemon and to be controlled by -simple start/stop/restart commands. - -If you want, you can also use daemons to run blocks of ruby code in a -daemon process and to control these processes from the main -application. - -Besides this basic functionality, daemons offers many advanced features -like exception backtracing and logging (in case your ruby script -crashes) and monitoring and automatic restarting of your processes if -they crash. - -Daemons includes the daemonize.rb script written by Travis Whitton to -do the daemonization process. +License:Ruby +Group: Development/Languages/Ruby +%description +Daemons provides an easy way to wrap existing ruby scripts (for example a +self-written server) to be run as a daemon and to be controlled by simple +start/stop/restart commands. You can also call blocks as daemons and control +them from the parent or just daemonize the current process. Besides this +basic functionality, daemons offers many advanced features like exception +backtracing and logging (in case your ruby script crashes) and monitoring and +automatic restarting of your processes if they crash. %package doc Summary:RDoc documentation for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} + %description doc Documentation generated at gem installation time. Usually in RDoc and RI formats. %prep +#gem_unpack +#if you need patches, apply them here and replace the # with a % sign in the surrounding lines +#gem_build + %build -%install -%gem_install %{S:0} -%clean -%{__rm} -rf %{buildroot} +%install +%gem_install -f %files %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ +%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org