Change 1015

tony_smith (Tony Smith)
Tony Smith committed this change into //guest/tony_smith/perforce/API/Ruby/main
Request Review
Download .zip
First cut of Perforce bindings for the Ruby scripting language.
Similar functionality to the Perl API stuff, but "rubyfied".
Supports error reporting via exceptions, and presents tagged
output and parsed forms as hash structures, with nested arrays
where required.

Still early days so the docs are thin on the ground. See the
example.pl for a brief guide.

Built with Ruby 1.6.4 on Linux.  May still be some memory
management issues as the Ruby Garbage Collection API has
changed a little since the docs I've got and I've just
dodged garbage collection for now.

Not indexing this just yet.
  • Files 10
  • Comments 0
0 edited 10 added 0 deleted
README#1
Loading...
clientuserruby.cc#1
Loading...
clientuserruby.h#1
Loading...
example.rb#1
Loading...
p4.cc#1
Loading...
p4clientapi.cc#1
Loading...
p4clientapi.h#1
Loading...
p4conf.rb#1
Loading...
p4exception.cc#1
Loading...
p4exception.h#1
Loading...
Tip: Use n and p to cycle through the changes.