|#2||16213||perforce_software||Move files to proper depot path to view files correctly from project page.|
|#1||14756||tjuricek||p15.1 branch of p4ruby.|
Rework P4Ruby unit tests so they they are actually units. Now the
test order is irrelevant as all tests are standalone. Tidied up
the code formatting as well and removed all the tabs from the ruby
sources files. Added a modeline for vim users so consistent
indentation will be used.
Ensure iterator args are passed on
Forgot to pass on any arguments that the user may have supplied to their call
to 'each_<spec>'. Fixed this and also added a test for it.
Generic each_* methods
Simple method to iterate over a particular type of spec
This is a convenient wrapper for the pattern:
clients = p4.run_clients
client = p4.fetch_client( c['client'] )
<do something with spec>
NOTE: It's not possible to implicitly pass a block to a
delegate method, so I've implemented it here directly. Could use
Proc.new.call, but it looks like there is a serious performance
impact with that method.
job056520 : spec iterator implementation