Enable custom publishers
Reported by Craig | February 13th, 2009 @ 10:56 AM
The following patch introduces the possibility to import your own publishers.
This was the easiest implementation I could think of.
The custom publisher needs just two configuration attributes. The attributes are class_name and require.
publisher: active: irccat irccat:
class_name: Irccat
require: cerberus-irccat-publisher
host: localhost #irccat specific
port: 10040 #irccat specific
The need for me was that the irc publisher did not work and I got irccat working so I needed an irccat publisher.
Just copy some publisher as your starting point for your own publisher.
Comments and changes to this ticket
-
Craig February 13th, 2009 @ 10:57 AM
- State changed from new to accepted
-
Craig February 13th, 2009 @ 10:58 AM
Thanks Niklas,
I'll take a look at this patch.
I was unaware the IRC publisher wasn't working as I don't use it regularly. The last time a new version of the gem was released, IRC was working. Are you sure it's not just something with your configuration?
Also, why not just fix the broken IRC implementation or replace it with your new implementation?
I like the idea of custom publishers and will look at the code and try to fold it into trunk as it will be useful in the future.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby.
People watching this ticket
Attachments
Referenced by
- 6 Error when sending the email Versions are: Rails 2.3.2 ruby 1.8.7 (2008-08-11 patchlev...