WEBrick/1.3.1 (Ruby/1.9.0/2004-04-03) at localhost:7171
I’ll look into this soon.
I caught a bug and did a workaround now. Should be corrected now.
Old ‘regexp’ version 0.7 has a nil updated field so that
“history.updated.dup.gmtime.strftime…” in ERb crashed. I haven’t
remember that old entries do not have this field…
WEBrick/1.3.1 (Ruby/1.9.0/2004-04-03) at localhost:7171
I’ll look into this soon.
I caught a bug and did a workaround now. Should be corrected now.
Old ‘regexp’ version 0.7 has a nil updated field so that
“history.updated.dup.gmtime.strftime…” in ERb crashed. I haven’t
remember that old entries do not have this field…
I caught a bug and did a workaround now. Should be corrected now.
(Poor English composition. sigh.)
BTW: Thanks for the new RAA… I like the concept of multiple versions
and list of dependencies. Keep up the good work
Happy to hear it.
Within this week, you can retrieve and update RAA information via SOAP
interface. In fact, it already exists. If a person is familiar to WSDL
format, you can use RAA SOAP interface now. See WSDL at http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.3/ for detail.
If not familiar, wait a sample client that I’ll post in a few days…
Next, we’ll set up the SSL server for RAA so that RubyForge users could
automatically update RAA securely. At the next, rubygems cooperation
though I don’t know how rubygems developers think. I haven’t thought
well yet about how RAA and rubygems can cooperate.
I’m confused as to what might be the equivalent of Perl’s CPAN on Ruby.
I’ve found RAA and RubyGems but they don’t seem to be integrated in any
way and RAA seems just to be a list of stuff that has to be downloaded
and installed separately.
Am I missing something?
Sorry if this is a duplicate query, I didn’t find anything like this
wherever I looked.
Within this week, you can retrieve and update RAA information via SOAP
interface. In fact, it already exists. If a person is familiar to WSDL
format, you can use RAA SOAP interface now. See WSDL at http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.3/ for detail.
If not familiar, wait a sample client that I’ll post in a few days…
Here is a sample client. Each sample should work on ruby/CVS HEAD,
ruby/1.8.1 and ruby/1.6.8 + soap4r/1.5.2. Of course it should run with
soap4r/CVS.
name = ‘sampleproject’
pass = ‘sampleproject’
gem = raa.gem(name) # retrieve current information
gem.project.version.succ! # modify it
gem.updated = Time.now
raa.update(name, pass, gem) # update
By the way, above samples uses WSDL directly, so the client fetches WSDL
each time. It’s simple as a sample but could be a waste of time. With
a script wsdl2ruby.rb which is included in soap4r/1.5.2 or soap4r/CVS,
you can pregenerate skeleton driver script to avoid fetching WSDL each
time. (i.e. ruby/CVS HEAD and ruby/1.8.1 do not include the script
wsdl2ruby.rb).
I’m not familiar with rubygems, but raa is the ruby equiv of cpan
unless you’re referring to the cpan module for retrieving other modules
and dependencies.
Jeff.
···
On 07/05/2004, at 12:55 PM, Stephen Steiner wrote:
Hi!
I’m brand new to this list and to Ruby.
I’m confused as to what might be the equivalent of Perl’s CPAN on Ruby.
I’ve found RAA and RubyGems but they don’t seem to be integrated in
any way and RAA seems just to be a list of stuff that has to be
downloaded and installed separately.
Am I missing something?
Sorry if this is a duplicate query, I didn’t find anything like this
wherever I looked.
I’m confused as to what might be the equivalent of Perl’s CPAN on Ruby.
There’s no exact equivalent, in the sense of an archive that’s set up
the same way CPAN is. RAA is the general home for Ruby libraries
and applications, and RubyForge (http://rubyforge.org) is home to
a large number of projects in development.
I’ve found RAA and RubyGems but they don’t seem to be integrated in any
way and RAA seems just to be a list of stuff that has to be downloaded
and installed separately.
RubyGems is still in the early/alpha releases – hopefully integration
of all these things will happen presently.
Very nice! I tried it out, and it seems to work very well.
I wonder if the “gem” method might be a little misleading/confusing
until we can truly integrate the rubygems project with RAA?
This is fantastic work and should make other integration quite simple.
Chad
···
On 8/5/2004, at 9:28 AM, NAKAMURA, Hiroshi wrote:
Hi,
NAKAMURA, Hiroshi wrote:
Within this week, you can retrieve and update RAA information via
SOAP interface. In fact, it already exists. If a person is familiar
to WSDL format, you can use RAA SOAP interface now. See WSDL at http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.3/ for detail.
If not familiar, wait a sample client that I’ll post in a few days…
Here is a sample client. Each sample should work on ruby/CVS HEAD,
ruby/1.8.1 and ruby/1.6.8 + soap4r/1.5.2. Of course it should run
with soap4r/CVS.
I’m not familiar with rubygems, but raa is the ruby equiv of cpan
unless you’re referring to the cpan module for retrieving other
modules and dependencies.
Yes, I was referring to the cpan capabilities i.e. automatic retrieval
of modules and any dependencies and automatic installation thereof.
RubyGems seems to be an attempt to emulate, and surpass, the
functionality of the Perl cpan program.
It doesn’t seem to cooperate with RAA in any way and maintains its own,
separate directory structure outside the normal Ruby installation. The
concept is nice, as far as it goes, but it is not as well integrated
with RAA and Ruby as CPAN/cpan is with Perl.
Thanks for the info!
Steve
···
On May 7, 2004, at 12:44 AM, jm wrote:
Jeff.
On 07/05/2004, at 12:55 PM, Stephen Steiner wrote:
Hi!
I’m brand new to this list and to Ruby.
I’m confused as to what might be the equivalent of Perl’s CPAN on
Ruby.
I’ve found RAA and RubyGems but they don’t seem to be integrated in
any way and RAA seems just to be a list of stuff that has to be
downloaded and installed separately.
Am I missing something?
Sorry if this is a duplicate query, I didn’t find anything like this
wherever I looked.
Nahi and some of us RubyGems people have exchanged a few emails about
Rubygems and RAA integration. We would love to see it happen, but we
shouldn’t integrate the production RAA with alpha-level software.
This week, Nahi sent a message to this list with some of his upcoming,
prioritized TODO items. I believe it put secure rpc/RubyForge
integration at second place (following enhanced SOAP interface), then
followed by looking into RubyGems. That should probably match the
RubyGems timeframe quite nicely as well.
Chad
···
On Sat, 8 May 2004 03:12:48 +0900, Tom Copeland tom@infoether.com wrote:
On Fri, 2004-05-07 at 13:44, Mauricio Fernández wrote:
Yours,
Tom
P.S. Apologies for the repeat post from a few weeks back.