Permalink
Browse files

Changed from daemon_kit to daemon-kit (generator)

  • Loading branch information...
1 parent b0c66ba commit fad9c0250a46a2b7bbc7120a19af2566c6011b30 @kennethkalmer committed Aug 14, 2009
Showing with 24 additions and 12 deletions.
  1. +7 −1 History.txt
  2. +1 −1 Manifest.txt
  3. +1 −1 PostInstall.txt
  4. +8 −8 README.rdoc
  5. 0 bin/{daemon_kit → daemon-kit}
  6. +1 −1 lib/daemon_kit.rb
  7. +6 −0 lib/daemon_kit/abstract_logger.rb
View
@@ -1,4 +1,10 @@
-== 0.1.7.10 (2009-08-12)
+== 0.2 (WIP)
+
+* Renamed 'daemon_kit' executable to 'daemon-kit'
+* Fixed some broken links in README.rdoc
+* Sneaked in << on AbstractLogger for better Logger compatibility
+
+== 0.1.7.10 2009-08-12
* Ruote remote participants
* Allow process umask to be configured, defaults to 022
View
@@ -26,7 +26,7 @@ app_generators/daemon_kit/templates/libexec/daemon.erb
app_generators/daemon_kit/templates/script/console
app_generators/daemon_kit/templates/script/destroy
app_generators/daemon_kit/templates/script/generate
-bin/daemon_kit
+bin/daemon-kit
daemon_generators/amqp/USAGE
daemon_generators/amqp/amqp_generator.rb
daemon_generators/amqp/templates/config/amqp.yml
View
@@ -1,6 +1,6 @@
For more information on daemon-kit, see http://kit.rubyforge.org/daemon-kit
-To get started quickly run 'daemon_kit' without any arguments
+To get started quickly run 'daemon-kit' without any arguments
View
@@ -26,15 +26,15 @@ Supported generators:
== Synopsis
- $ daemon_kit -h
+ $ daemon-kit -h
Get some help
- $ daemon_kit [/path/to/your/daemon] [options]
+ $ daemon-kit [/path/to/your/daemon] [options]
The above command generates a skeleton daemon environment for you to adapt.
- $ daemon_kit [/path/to/your/daemon] -i jabber
+ $ daemon-kit [/path/to/your/daemon] -i jabber
Use the 'jabber' generator instead of the default one.
@@ -46,23 +46,23 @@ The default generator creates a simple daemon with an infinite loop inside that
=== Jabber Generator
-The jabber generator creates a simple daemon that leverages the "xmpp4r-simple":http://xmpp4r-simple.rubyforge.org/ gem to process inbound messages. The daemon will manage the roster and other little tasks, leaving you to provide the hooks for processing messages, presence notifications and subscription request.
+The jabber generator creates a simple daemon that leverages the xmpp4r-simple[http://xmpp4r-simple.rubyforge.org/] gem to process inbound messages. The daemon will manage the roster and other little tasks, leaving you to provide the hooks for processing messages, presence notifications and subscription request.
=== Cron Generator
-The cron generator creates a simple daemon that leverages the "rufus-scheduler":http://github.com/jmettraux/rufus-scheduler gem to create a simple cron-lie daemon. Please be aware that this daemon could never be a replacement for the battle-tested "cron utility":http://www.gentoo.org/doc/en/cron-guide.xml shipped standard with most *nix distributions.
+The cron generator creates a simple daemon that leverages the rufus-scheduler[http://github.com/jmettraux/rufus-scheduler] gem to create a simple cron-lie daemon. Please be aware that this daemon could never be a replacement for the battle-tested cron[http://www.gentoo.org/doc/en/cron-guide.xml] utility shipped standard with most *nix distributions.
@epitron
epitron May 11, 2012

Typo: "cron-lie daemon"

=== AMQP Consumer Generator
-The AMQP generator creates a simple daemon that has all the stub code and configuration in place to help you write AMQP consumers quickly and effectively. The generated daemon relies on the presence of the "amqp":http://github.com/tmm1/amqp gem.
+The AMQP generator creates a simple daemon that has all the stub code and configuration in place to help you write AMQP consumers quickly and effectively. The generated daemon relies on the presence of the amqp[http://github.com/tmm1/amqp] gem.
=== Nanite Agent Generator
-The "nanite":http://github.com/ezmobius/nanite agent generator gets you up and running with nanite agents very quickly.
+The nanite[http://github.com/ezmobius/nanite] agent generator gets you up and running with nanite agents very quickly.
=== ruote Remote Participants
-The "ruote":http://openwfe.rubyforge.org remote participant generator speeds up the development of workflow participants that run outside of the Ruby process that houses the engine. Daemon-kit handles all the communication and delegation logic, allowing you to focus purely on your participant's activities.
+The ruote[http://openwfe.rubyforge.org] remote participant generator speeds up the development of workflow participants that run outside of the Ruby process that houses the engine. Daemon-kit handles all the communication and delegation logic, allowing you to focus purely on your participant's activities.
== Requirements
File renamed without changes.
View
@@ -18,7 +18,7 @@
$:.include?( File.dirname(__FILE__).to_absolute_path )
module DaemonKit
- VERSION = '0.1.7.10'
+ VERSION = '0.2.0'
autoload :Initializer, 'daemon_kit/initializer'
autoload :Application, 'daemon_kit/application'
@@ -63,6 +63,12 @@ def silence( temporary_level = :error )
end
end
+ # Write unformatted message to logging device, mostly useful for Logger interface
+ # compatibility and debugging soap4r (possibly others)
+ def <<( msg ) #:nodoc:
+ self.logger.write( msg ) if self.logger && self.logger.respond_to?( :write )
+ end
+
def debug( msg )
add( :debug, msg )
end

0 comments on commit fad9c02

Please sign in to comment.