P4Ruby is a development tool designed to facilitate the communication between the Ruby scripts and the Perforce server. This programming language extension enables you to execute Perforce commands by running Ruby scripts.
You can use this tool to retrieve data from the Perforce server in a format compatible with the Ruby standards.
What's New in This Release:
New functionality:
· Added P4#run_tickets() method to list local tickets. Note that P4.run('tickets') still gives the old error message "Must upgrade to 2004.2 p4 to access tickets."
· Support for the new progress indicator API. P4Ruby supplies a new progress attribute, which can take an instance of P4::Progress class or subclass. Progress information is currently only supported for submits and 'sync -q'. Details can be found in the documentation.
· New convenience method P4#each_() that allows easy iteration through some or all spec objects such as clients or changes. Details can be found in the documentation.
Bugs fixed:
· Building P4Ruby with MinGW could generate the link error.
· g++: unrecognized option '-static-libstdc++'
· This has been fixed.
· P4#parse_client could raise the exception "Unknown field name 'StreamAtChange'." when parsing a stream client workspace. Internal spec definition has been updated to resolve this.