[Nitro] vcr_record, vcr_playback
george.moschovitis at gmail.com
Thu Aug 30 03:59:16 EDT 2007
I added the missing flags --record / --playback, to be used like this:
nitro --record session.rec
nitro --playback session.rec
however it does not work, i get the following error:
/usr/lib/ruby/1.8/yaml/rubytypes.rb:6:in `to_yaml': can't dump anonymous
class Class (TypeError)
I think the problem are the IO/File objects in the Webrick request/response
classes. Dunno how this used to work. If anyone can have a look at
raw/adapter/webrick/vcr.rb and offer some help, I would appreciate it.
On 8/30/07, George Moschovitis <george.moschovitis at gmail.com> wrote:
> let me verify that this functionality works in the repo version and I will
> get back to you later today.
> On 8/30/07, Bill Kelly < billk at cts.com> wrote:
> > Hi,
> > I'm interested in trying the vcr_record and vcr_playback
> > routines in raw/lib/raw/adapter/webrick/vcr.rb.
> > I remember some previous mention of these, but nothing
> > turned up in my google, oxyliquit, or mailing list
> > archives searches.
> > Could anyone provide a small example?
> > Thanks,
> > Bill
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general