[ANN] Ruby CVS IRC bot, and Ruby CVS RSS feed

D

David Ross

Hello fellow rubists,

Thanks to our
wonderful Shugo, there is now RSS feed and a commit bot for
the cvs. Each time there is a cvs commit, the scripts send information to
the correct server for processing. The IRC bot messages the channel each
commit
for the Ruby CVS. Which is interesting, and hopefully messages can be
even more
improved with color tags in the XML which is sent.

The RSS Feed:
http://cia.navi.cx/stats/project/ruby/.rss
*created as an side-effect of settng up the CIA bot*

The IRC bot:
The bot can be found in #ruby-talk on Freenode
irc://irc.freenode.net/ruby-talk

dross
 
J

James Britt

Thanks to our wonderful Shugo, there is now RSS feed and a commit
bot for
the cvs. Each time there is a cvs commit, the scripts send information to
the correct server for processing. The IRC bot messages the channel each
commit
for the Ruby CVS. Which is interesting, and hopefully messages can be
even more
improved with color tags in the XML which is sent.

The RSS Feed:
http://cia.navi.cx/stats/project/ruby/.rss

Very nice. One gripe:

Content-Type: text/html


is not the correct content type for an RSS feed. text/xml would be better.

Thanks,

James
 
J

James Britt

James said:
Very nice. One gripe:

Content-Type: text/html


is not the correct content type for an RSS feed. text/xml would be better.


Ah, and now it comes as

Content-Type: text/xml


That was fast.

Thanks.


James
 
N

Nicholas Van Weerdenburg

Is there a way to get the name of the symbol passed to a method?

e.g.

def geterdone(array)
# funkify array- but I want to know name of original symbol, not
array, and prefix each element with it
newarray=array.select(...){...}
end

oldarray=[val1, val2, ...]
newarray=geterdone(oldarray)
# newarray is now ["oldarray:val1", "oldarray:val2", ...]

Thanks,
Nick
 
S

Sam Stephenson

Is there a way to get the name of the symbol passed to a method?

e.g.

def geterdone(array)
# funkify array- but I want to know name of original symbol, not
array, and prefix each element with it
newarray=array.select(...){...}
end

oldarray=[val1, val2, ...]
newarray=geterdone(oldarray)
# newarray is now ["oldarray:val1", "oldarray:val2", ...]

Not without one of the parse-tree hook extensions, I would think. And
even then, what would you expect to happen here?
| newarray = geterdone([val1, val2, ...])
Thanks,
Nick

Sam
 
N

Nicholas Van Weerdenburg

Is there a way to get the name of the symbol passed to a method?

e.g.

def geterdone(array)
# funkify array- but I want to know name of original symbol, not
array, and prefix each element with it
newarray=array.select(...){...}
end

oldarray=[val1, val2, ...]
newarray=geterdone(oldarray)
# newarray is now ["oldarray:val1", "oldarray:val2", ...]

Not without one of the parse-tree hook extensions, I would think. And
even then, what would you expect to happen here?
| newarray = geterdone([val1, val2, ...])

nil maybe.

Thanks,
Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top