Enable P4Ruby to handle jobspec fields with names that end in
numbers. Previously these were mistaken for entries in list
fields (wlist, llist).
This change introduces SpecDataRuby, a subclass of SpecData that
reads from/writes to Ruby P4::Spec objects. That makes it a snap
to parse and format specs using the same code the server does,
and that fixes this bug very neatly, and probably makes it faster
too.
I've also replaced the manual parsing of the specdef strings with
an implementation that uses the Spec, and SpecElem classes. That's
also going to be more reliable in the long run.
This change will be ported to P4Perl, P4Python, and should probably
also go into the upcoming P4PHP.
User-visible bug fix documented in p4rubynotes.txt