Change 14643

jmistry
jmistry committed this change into //guest/perforce_software/p4ruby/main
Request Review
Download .zip
Implement P4#tickets for P4Ruby

P4#tickets checks P4#ticket_file, if it's a directory or does not exist it just
returns 'nil'.  Otherwise it iterates over the file and inserts each line into
an array of hashes.  Each hash is a single ticket entry:

    key: ticket key (hostname:port=user)
    value: ticket value

Update unit test to test new functionality.
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
lib/P4.rb#17
Loading...
test/10_password.rb#5
Loading...
Tip: Use n and p to cycle through the changes.