fluent_command_builder 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. data/lib/fluent_command_builder.rb +1 -0
  2. data/lib/fluent_command_builder/command_builder.rb +11 -15
  3. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +19 -19
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler_35.rb +19 -19
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +19 -19
  6. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +33 -33
  7. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +55 -55
  8. data/lib/fluent_command_builder/command_builders/installutil_11.rb +10 -10
  9. data/lib/fluent_command_builder/command_builders/installutil_20.rb +11 -11
  10. data/lib/fluent_command_builder/command_builders/installutil_35.rb +11 -11
  11. data/lib/fluent_command_builder/command_builders/installutil_40.rb +12 -12
  12. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +17 -17
  13. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +17 -17
  14. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +25 -25
  15. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +43 -43
  16. data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +34 -34
  17. data/lib/fluent_command_builder/command_builders/mstest_2005.rb +20 -20
  18. data/lib/fluent_command_builder/command_builders/mstest_2008.rb +21 -21
  19. data/lib/fluent_command_builder/command_builders/mstest_2010.rb +24 -24
  20. data/lib/fluent_command_builder/command_builders/netsh_2008.rb +84 -84
  21. data/lib/fluent_command_builder/command_builders/nunit_console_25.rb +25 -25
  22. data/lib/fluent_command_builder/command_builders/rake_09.rb +27 -27
  23. data/lib/fluent_command_builder/command_builders/simian_23.rb +27 -27
  24. data/lib/fluent_command_builder/command_builders/tf_2010.rb +395 -395
  25. data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +1951 -0
  26. metadata +3 -2
@@ -5,8 +5,8 @@ module FluentCommandBuilder
5
5
  module V2010
6
6
  class Tf
7
7
  def initialize command=nil
8
- @builder = CommandBuilder.new command
9
- @builder.append 'tf'
8
+ @b = CommandBuilder.new command
9
+ @b.append 'tf'
10
10
  self
11
11
  end
12
12
 
@@ -155,1890 +155,1890 @@ module FluentCommandBuilder
155
155
  end
156
156
 
157
157
  def to_s
158
- @builder.to_s
158
+ @b.to_s
159
159
  end
160
160
 
161
161
  end
162
162
 
163
163
  class Add
164
164
  def initialize command=nil
165
- @builder = CommandBuilder.new command
166
- @builder.append 'add'
165
+ @b = CommandBuilder.new command
166
+ @b.append 'add'
167
167
  self
168
168
  end
169
169
 
170
170
  def item_spec item_spec
171
- @builder.append "#{item_spec}"
171
+ @b.append "#{@b.format item_spec}"
172
172
  self
173
173
  end
174
174
 
175
175
  def lock lock_type
176
- @builder.append "/lock:#{lock_type}"
176
+ @b.append "/lock:#{@b.format lock_type}"
177
177
  self
178
178
  end
179
179
 
180
180
  def type file_type
181
- @builder.append "/type:#{file_type}"
181
+ @b.append "/type:#{@b.format file_type}"
182
182
  self
183
183
  end
184
184
 
185
185
  def no_prompt
186
- @builder.append "/noPrompt"
186
+ @b.append '/noPrompt'
187
187
  self
188
188
  end
189
189
 
190
190
  def recursive
191
- @builder.append "/recursive"
191
+ @b.append '/recursive'
192
192
  self
193
193
  end
194
194
 
195
195
  def login credentials
196
- @builder.append "/login:#{credentials}"
196
+ @b.append "/login:#{@b.format credentials}"
197
197
  self
198
198
  end
199
199
 
200
200
  def to_s
201
- @builder.to_s
201
+ @b.to_s
202
202
  end
203
203
 
204
204
  end
205
205
 
206
206
  class Branch
207
207
  def initialize command=nil
208
- @builder = CommandBuilder.new command
209
- @builder.append 'branch'
208
+ @b = CommandBuilder.new command
209
+ @b.append 'branch'
210
210
  self
211
211
  end
212
212
 
213
213
  def old_item old_item
214
- @builder.append "#{old_item}"
214
+ @b.append "#{@b.format old_item}"
215
215
  self
216
216
  end
217
217
 
218
218
  def new_item new_item
219
- @builder.append "#{new_item}"
219
+ @b.append "#{@b.format new_item}"
220
220
  self
221
221
  end
222
222
 
223
223
  def version version_spec
224
- @builder.append "/version:#{version_spec}"
224
+ @b.append "/version:#{@b.format version_spec}"
225
225
  self
226
226
  end
227
227
 
228
228
  def no_get
229
- @builder.append "/noGet"
229
+ @b.append '/noGet'
230
230
  self
231
231
  end
232
232
 
233
233
  def lock lock_type
234
- @builder.append "/lock:#{lock_type}"
234
+ @b.append "/lock:#{@b.format lock_type}"
235
235
  self
236
236
  end
237
237
 
238
238
  def no_prompt
239
- @builder.append "/noPrompt"
239
+ @b.append '/noPrompt'
240
240
  self
241
241
  end
242
242
 
243
243
  def silent
244
- @builder.append "/silent"
244
+ @b.append '/silent'
245
245
  self
246
246
  end
247
247
 
248
248
  def checkin
249
- @builder.append "/checkin"
249
+ @b.append '/checkin'
250
250
  self
251
251
  end
252
252
 
253
253
  def comment comment
254
- @builder.append "/comment:#{comment}"
254
+ @b.append "/comment:#{@b.format comment}"
255
255
  self
256
256
  end
257
257
 
258
258
  def author author_name
259
- @builder.append "/author:#{author_name}"
259
+ @b.append "/author:#{@b.format author_name}"
260
260
  self
261
261
  end
262
262
 
263
263
  def login credentials
264
- @builder.append "/login:#{credentials}"
264
+ @b.append "/login:#{@b.format credentials}"
265
265
  self
266
266
  end
267
267
 
268
268
  def to_s
269
- @builder.to_s
269
+ @b.to_s
270
270
  end
271
271
 
272
272
  end
273
273
 
274
274
  class Branches
275
275
  def initialize command=nil
276
- @builder = CommandBuilder.new command
277
- @builder.append 'branches'
276
+ @b = CommandBuilder.new command
277
+ @b.append 'branches'
278
278
  self
279
279
  end
280
280
 
281
281
  def item_spec item_spec
282
- @builder.append "#{item_spec}"
282
+ @b.append "#{@b.format item_spec}"
283
283
  self
284
284
  end
285
285
 
286
286
  def version version_spec
287
- @builder.append "/version:#{version_spec}"
287
+ @b.append "/version:#{@b.format version_spec}"
288
288
  self
289
289
  end
290
290
 
291
291
  def collection team_project_collection_url
292
- @builder.append "/collection:#{team_project_collection_url}"
292
+ @b.append "/collection:#{@b.format team_project_collection_url}"
293
293
  self
294
294
  end
295
295
 
296
296
  def login credentials
297
- @builder.append "/login:#{credentials}"
297
+ @b.append "/login:#{@b.format credentials}"
298
298
  self
299
299
  end
300
300
 
301
301
  def to_s
302
- @builder.to_s
302
+ @b.to_s
303
303
  end
304
304
 
305
305
  end
306
306
 
307
307
  class Changeset
308
308
  def initialize command=nil
309
- @builder = CommandBuilder.new command
310
- @builder.append 'changeset'
309
+ @b = CommandBuilder.new command
310
+ @b.append 'changeset'
311
311
  self
312
312
  end
313
313
 
314
314
  def comment comment
315
- @builder.append "/comment:#{comment}"
315
+ @b.append "/comment:#{@b.format comment}"
316
316
  self
317
317
  end
318
318
 
319
319
  def notes notes
320
- @builder.append "/notes:#{notes}"
320
+ @b.append "/notes:#{@b.format notes}"
321
321
  self
322
322
  end
323
323
 
324
324
  def no_prompt
325
- @builder.append "/noPrompt"
325
+ @b.append '/noPrompt'
326
326
  self
327
327
  end
328
328
 
329
329
  def collection team_project_collection_url
330
- @builder.append "/collection:#{team_project_collection_url}"
330
+ @b.append "/collection:#{@b.format team_project_collection_url}"
331
331
  self
332
332
  end
333
333
 
334
334
  def changeset_number changeset_number
335
- @builder.append "#{changeset_number}"
335
+ @b.append "#{@b.format changeset_number}"
336
336
  self
337
337
  end
338
338
 
339
339
  def latest
340
- @builder.append "/latest"
340
+ @b.append '/latest'
341
341
  self
342
342
  end
343
343
 
344
344
  def login credentials
345
- @builder.append "/login:#{credentials}"
345
+ @b.append "/login:#{@b.format credentials}"
346
346
  self
347
347
  end
348
348
 
349
349
  def to_s
350
- @builder.to_s
350
+ @b.to_s
351
351
  end
352
352
 
353
353
  end
354
354
 
355
355
  class Checkin
356
356
  def initialize command=nil
357
- @builder = CommandBuilder.new command
358
- @builder.append 'checkin'
357
+ @b = CommandBuilder.new command
358
+ @b.append 'checkin'
359
359
  self
360
360
  end
361
361
 
362
362
  def author author_name
363
- @builder.append "/author:#{author_name}"
363
+ @b.append "/author:#{@b.format author_name}"
364
364
  self
365
365
  end
366
366
 
367
367
  def comment comment
368
- @builder.append "/comment:#{comment}"
368
+ @b.append "/comment:#{@b.format comment}"
369
369
  self
370
370
  end
371
371
 
372
372
  def no_prompt
373
- @builder.append "/noPrompt"
373
+ @b.append '/noPrompt'
374
374
  self
375
375
  end
376
376
 
377
377
  def notes notes
378
- @builder.append "/notes:#{notes}"
378
+ @b.append "/notes:#{@b.format notes}"
379
379
  self
380
380
  end
381
381
 
382
382
  def override reason
383
- @builder.append "/override:#{reason}"
383
+ @b.append "/override:#{@b.format reason}"
384
384
  self
385
385
  end
386
386
 
387
387
  def recursive
388
- @builder.append "/recursive"
388
+ @b.append '/recursive'
389
389
  self
390
390
  end
391
391
 
392
392
  def saved
393
- @builder.append "/saved"
393
+ @b.append '/saved'
394
394
  self
395
395
  end
396
396
 
397
397
  def validate
398
- @builder.append "/validate"
398
+ @b.append '/validate'
399
399
  self
400
400
  end
401
401
 
402
402
  def item_spec item_spec
403
- @builder.append "#{item_spec}"
403
+ @b.append "#{@b.format item_spec}"
404
404
  self
405
405
  end
406
406
 
407
407
  def bypass
408
- @builder.append "/bypass"
408
+ @b.append '/bypass'
409
409
  self
410
410
  end
411
411
 
412
412
  def login credentials
413
- @builder.append "/login:#{credentials}"
413
+ @b.append "/login:#{@b.format credentials}"
414
414
  self
415
415
  end
416
416
 
417
417
  def shelveset shelveset_name
418
- @builder.append "/shelveset:#{shelveset_name}"
418
+ @b.append "/shelveset:#{@b.format shelveset_name}"
419
419
  self
420
420
  end
421
421
 
422
422
  def collection team_project_collection_url
423
- @builder.append "/collection:#{team_project_collection_url}"
423
+ @b.append "/collection:#{@b.format team_project_collection_url}"
424
424
  self
425
425
  end
426
426
 
427
427
  def force
428
- @builder.append "/force"
428
+ @b.append '/force'
429
429
  self
430
430
  end
431
431
 
432
432
  def to_s
433
- @builder.to_s
433
+ @b.to_s
434
434
  end
435
435
 
436
436
  end
437
437
 
438
438
  class Checkout
439
439
  def initialize command=nil
440
- @builder = CommandBuilder.new command
441
- @builder.append 'checkout'
440
+ @b = CommandBuilder.new command
441
+ @b.append 'checkout'
442
442
  self
443
443
  end
444
444
 
445
445
  def lock lock_type
446
- @builder.append "/lock:#{lock_type}"
446
+ @b.append "/lock:#{@b.format lock_type}"
447
447
  self
448
448
  end
449
449
 
450
450
  def recursive
451
- @builder.append "/recursive"
451
+ @b.append '/recursive'
452
452
  self
453
453
  end
454
454
 
455
455
  def type encoding
456
- @builder.append "/type:#{encoding}"
456
+ @b.append "/type:#{@b.format encoding}"
457
457
  self
458
458
  end
459
459
 
460
460
  def item_spec item_spec
461
- @builder.append "#{item_spec}"
461
+ @b.append "#{@b.format item_spec}"
462
462
  self
463
463
  end
464
464
 
465
465
  def login credentials
466
- @builder.append "/login:#{credentials}"
466
+ @b.append "/login:#{@b.format credentials}"
467
467
  self
468
468
  end
469
469
 
470
470
  def to_s
471
- @builder.to_s
471
+ @b.to_s
472
472
  end
473
473
 
474
474
  end
475
475
 
476
476
  class Configure
477
477
  def initialize command=nil
478
- @builder = CommandBuilder.new command
479
- @builder.append 'configure'
478
+ @b = CommandBuilder.new command
479
+ @b.append 'configure'
480
480
  self
481
481
  end
482
482
 
483
483
  def path_of_team_project path_of_team_project
484
- @builder.append "#{path_of_team_project}"
484
+ @b.append "#{@b.format path_of_team_project}"
485
485
  self
486
486
  end
487
487
 
488
488
  def collection team_project_collection_url
489
- @builder.append "/collection:#{team_project_collection_url}"
489
+ @b.append "/collection:#{@b.format team_project_collection_url}"
490
490
  self
491
491
  end
492
492
 
493
493
  def login credentials
494
- @builder.append "/login:#{credentials}"
494
+ @b.append "/login:#{@b.format credentials}"
495
495
  self
496
496
  end
497
497
 
498
498
  def to_s
499
- @builder.to_s
499
+ @b.to_s
500
500
  end
501
501
 
502
502
  end
503
503
 
504
504
  class Delete
505
505
  def initialize command=nil
506
- @builder = CommandBuilder.new command
507
- @builder.append 'delete'
506
+ @b = CommandBuilder.new command
507
+ @b.append 'delete'
508
508
  self
509
509
  end
510
510
 
511
511
  def lock lock_type
512
- @builder.append "/lock:#{lock_type}"
512
+ @b.append "/lock:#{@b.format lock_type}"
513
513
  self
514
514
  end
515
515
 
516
516
  def recursive
517
- @builder.append "/recursive"
517
+ @b.append '/recursive'
518
518
  self
519
519
  end
520
520
 
521
521
  def login credentials
522
- @builder.append "/login:#{credentials}"
522
+ @b.append "/login:#{@b.format credentials}"
523
523
  self
524
524
  end
525
525
 
526
526
  def item_spec item_spec
527
- @builder.append "#{item_spec}"
527
+ @b.append "#{@b.format item_spec}"
528
528
  self
529
529
  end
530
530
 
531
531
  def to_s
532
- @builder.to_s
532
+ @b.to_s
533
533
  end
534
534
 
535
535
  end
536
536
 
537
537
  class Destroy
538
538
  def initialize command=nil
539
- @builder = CommandBuilder.new command
540
- @builder.append 'destroy'
539
+ @b = CommandBuilder.new command
540
+ @b.append 'destroy'
541
541
  self
542
542
  end
543
543
 
544
544
  def t_o_d_o
545
- @builder.append "/TODO"
545
+ @b.append '/TODO'
546
546
  self
547
547
  end
548
548
 
549
549
  def to_s
550
- @builder.to_s
550
+ @b.to_s
551
551
  end
552
552
 
553
553
  end
554
554
 
555
555
  class Diff
556
556
  def initialize command=nil
557
- @builder = CommandBuilder.new command
558
- @builder.append 'diff'
557
+ @b = CommandBuilder.new command
558
+ @b.append 'diff'
559
559
  self
560
560
  end
561
561
 
562
562
  def item_spec item_spec
563
- @builder.append "#{item_spec}"
563
+ @b.append "#{@b.format item_spec}"
564
564
  self
565
565
  end
566
566
 
567
567
  def item_spec2 item_spec2
568
- @builder.append "#{item_spec2}"
568
+ @b.append "#{@b.format item_spec2}"
569
569
  self
570
570
  end
571
571
 
572
572
  def version version_spec
573
- @builder.append "/version:#{version_spec}"
573
+ @b.append "/version:#{@b.format version_spec}"
574
574
  self
575
575
  end
576
576
 
577
577
  def type file_type
578
- @builder.append "/type:#{file_type}"
578
+ @b.append "/type:#{@b.format file_type}"
579
579
  self
580
580
  end
581
581
 
582
582
  def format format
583
- @builder.append "/format:#{format}"
583
+ @b.append "/format:#{@b.format format}"
584
584
  self
585
585
  end
586
586
 
587
587
  def ignore_space
588
- @builder.append "/ignoreSpace"
588
+ @b.append '/ignoreSpace'
589
589
  self
590
590
  end
591
591
 
592
592
  def ignore_eol
593
- @builder.append "/ignoreEol"
593
+ @b.append '/ignoreEol'
594
594
  self
595
595
  end
596
596
 
597
597
  def ignore_case
598
- @builder.append "/ignoreCase"
598
+ @b.append '/ignoreCase'
599
599
  self
600
600
  end
601
601
 
602
602
  def recursive
603
- @builder.append "/recursive"
603
+ @b.append '/recursive'
604
604
  self
605
605
  end
606
606
 
607
607
  def options
608
- @builder.append "/options"
608
+ @b.append '/options'
609
609
  self
610
610
  end
611
611
 
612
612
  def no_prompt
613
- @builder.append "/noPrompt"
613
+ @b.append '/noPrompt'
614
614
  self
615
615
  end
616
616
 
617
617
  def login credentials
618
- @builder.append "/login:#{credentials}"
618
+ @b.append "/login:#{@b.format credentials}"
619
619
  self
620
620
  end
621
621
 
622
622
  def shelveset shelveset_name
623
- @builder.append "/shelveset:#{shelveset_name}"
623
+ @b.append "/shelveset:#{@b.format shelveset_name}"
624
624
  self
625
625
  end
626
626
 
627
627
  def shelveset_itemspec shelveset_itemspec
628
- @builder.append "#{shelveset_itemspec}"
628
+ @b.append "#{@b.format shelveset_itemspec}"
629
629
  self
630
630
  end
631
631
 
632
632
  def configure
633
- @builder.append "/configure"
633
+ @b.append '/configure'
634
634
  self
635
635
  end
636
636
 
637
637
  def to_s
638
- @builder.to_s
638
+ @b.to_s
639
639
  end
640
640
 
641
641
  end
642
642
 
643
643
  class Dir
644
644
  def initialize command=nil
645
- @builder = CommandBuilder.new command
646
- @builder.append 'dir'
645
+ @b = CommandBuilder.new command
646
+ @b.append 'dir'
647
647
  self
648
648
  end
649
649
 
650
650
  def item_spec item_spec
651
- @builder.append "#{item_spec}"
651
+ @b.append "#{@b.format item_spec}"
652
652
  self
653
653
  end
654
654
 
655
655
  def version version_spec
656
- @builder.append "/version:#{version_spec}"
656
+ @b.append "/version:#{@b.format version_spec}"
657
657
  self
658
658
  end
659
659
 
660
660
  def recursive
661
- @builder.append "/recursive"
661
+ @b.append '/recursive'
662
662
  self
663
663
  end
664
664
 
665
665
  def folders
666
- @builder.append "/folders"
666
+ @b.append '/folders'
667
667
  self
668
668
  end
669
669
 
670
670
  def deleted
671
- @builder.append "/deleted"
671
+ @b.append '/deleted'
672
672
  self
673
673
  end
674
674
 
675
675
  def login credentials
676
- @builder.append "/login:#{credentials}"
676
+ @b.append "/login:#{@b.format credentials}"
677
677
  self
678
678
  end
679
679
 
680
680
  def collection team_project_collection_url
681
- @builder.append "/collection:#{team_project_collection_url}"
681
+ @b.append "/collection:#{@b.format team_project_collection_url}"
682
682
  self
683
683
  end
684
684
 
685
685
  def to_s
686
- @builder.to_s
686
+ @b.to_s
687
687
  end
688
688
 
689
689
  end
690
690
 
691
691
  class FolderDiff
692
692
  def initialize command=nil
693
- @builder = CommandBuilder.new command
694
- @builder.append 'folderDiff'
693
+ @b = CommandBuilder.new command
694
+ @b.append 'folderDiff'
695
695
  self
696
696
  end
697
697
 
698
698
  def source_path source_path
699
- @builder.append "#{source_path}"
699
+ @b.append "#{@b.format source_path}"
700
700
  self
701
701
  end
702
702
 
703
703
  def target_path target_path
704
- @builder.append "#{target_path}"
704
+ @b.append "#{@b.format target_path}"
705
705
  self
706
706
  end
707
707
 
708
708
  def recursive
709
- @builder.append "/recursive"
709
+ @b.append '/recursive'
710
710
  self
711
711
  end
712
712
 
713
713
  def no_prompt
714
- @builder.append "/noPrompt"
714
+ @b.append '/noPrompt'
715
715
  self
716
716
  end
717
717
 
718
718
  def collection team_project_collection_url
719
- @builder.append "/collection:#{team_project_collection_url}"
719
+ @b.append "/collection:#{@b.format team_project_collection_url}"
720
720
  self
721
721
  end
722
722
 
723
723
  def filter filter
724
- @builder.append "/filter:#{filter}"
724
+ @b.append "/filter:#{@b.format filter}"
725
725
  self
726
726
  end
727
727
 
728
728
  def filter_local_paths_only
729
- @builder.append "/filterLocalPathsOnly"
729
+ @b.append '/filterLocalPathsOnly'
730
730
  self
731
731
  end
732
732
 
733
733
  def login credentials
734
- @builder.append "/login:#{credentials}"
734
+ @b.append "/login:#{@b.format credentials}"
735
735
  self
736
736
  end
737
737
 
738
738
  def view view
739
- @builder.append "/view:#{view}"
739
+ @b.append "/view:#{@b.format view}"
740
740
  self
741
741
  end
742
742
 
743
743
  def to_s
744
- @builder.to_s
744
+ @b.to_s
745
745
  end
746
746
 
747
747
  end
748
748
 
749
749
  class Get
750
750
  def initialize command=nil
751
- @builder = CommandBuilder.new command
752
- @builder.append 'get'
751
+ @b = CommandBuilder.new command
752
+ @b.append 'get'
753
753
  self
754
754
  end
755
755
 
756
756
  def item_spec item_spec
757
- @builder.append "#{item_spec}"
757
+ @b.append "#{@b.format item_spec}"
758
758
  self
759
759
  end
760
760
 
761
761
  def version version_spec
762
- @builder.append "/version:#{version_spec}"
762
+ @b.append "/version:#{@b.format version_spec}"
763
763
  self
764
764
  end
765
765
 
766
766
  def all
767
- @builder.append "/all"
767
+ @b.append '/all'
768
768
  self
769
769
  end
770
770
 
771
771
  def overwrite
772
- @builder.append "/overwrite"
772
+ @b.append '/overwrite'
773
773
  self
774
774
  end
775
775
 
776
776
  def force
777
- @builder.append "/force"
777
+ @b.append '/force'
778
778
  self
779
779
  end
780
780
 
781
781
  def preview
782
- @builder.append "/preview"
782
+ @b.append '/preview'
783
783
  self
784
784
  end
785
785
 
786
786
  def recursive
787
- @builder.append "/recursive"
787
+ @b.append '/recursive'
788
788
  self
789
789
  end
790
790
 
791
791
  def remap
792
- @builder.append "/remap"
792
+ @b.append '/remap'
793
793
  self
794
794
  end
795
795
 
796
796
  def no_prompt
797
- @builder.append "/noPrompt"
797
+ @b.append '/noPrompt'
798
798
  self
799
799
  end
800
800
 
801
801
  def login credentials
802
- @builder.append "/login:#{credentials}"
802
+ @b.append "/login:#{@b.format credentials}"
803
803
  self
804
804
  end
805
805
 
806
806
  def to_s
807
- @builder.to_s
807
+ @b.to_s
808
808
  end
809
809
 
810
810
  end
811
811
 
812
812
  class History
813
813
  def initialize command=nil
814
- @builder = CommandBuilder.new command
815
- @builder.append 'history'
814
+ @b = CommandBuilder.new command
815
+ @b.append 'history'
816
816
  self
817
817
  end
818
818
 
819
819
  def item_spec item_spec
820
- @builder.append "#{item_spec}"
820
+ @b.append "#{@b.format item_spec}"
821
821
  self
822
822
  end
823
823
 
824
824
  def version version_spec
825
- @builder.append "/version:#{version_spec}"
825
+ @b.append "/version:#{@b.format version_spec}"
826
826
  self
827
827
  end
828
828
 
829
829
  def stop_after number
830
- @builder.append "/stopAfter:#{number}"
830
+ @b.append "/stopAfter:#{@b.format number}"
831
831
  self
832
832
  end
833
833
 
834
834
  def recursive
835
- @builder.append "/recursive"
835
+ @b.append '/recursive'
836
836
  self
837
837
  end
838
838
 
839
839
  def user user_name
840
- @builder.append "/user:#{user_name}"
840
+ @b.append "/user:#{@b.format user_name}"
841
841
  self
842
842
  end
843
843
 
844
844
  def format format
845
- @builder.append "/format:#{format}"
845
+ @b.append "/format:#{@b.format format}"
846
846
  self
847
847
  end
848
848
 
849
849
  def slot_mode
850
- @builder.append "/slotMode"
850
+ @b.append '/slotMode'
851
851
  self
852
852
  end
853
853
 
854
854
  def item_mode
855
- @builder.append "/itemMode"
855
+ @b.append '/itemMode'
856
856
  self
857
857
  end
858
858
 
859
859
  def no_prompt
860
- @builder.append "/noPrompt"
860
+ @b.append '/noPrompt'
861
861
  self
862
862
  end
863
863
 
864
864
  def login credentials
865
- @builder.append "/login:#{credentials}"
865
+ @b.append "/login:#{@b.format credentials}"
866
866
  self
867
867
  end
868
868
 
869
869
  def sort sort
870
- @builder.append "/sort:#{sort}"
870
+ @b.append "/sort:#{@b.format sort}"
871
871
  self
872
872
  end
873
873
 
874
874
  def collection team_project_collection_url
875
- @builder.append "/collection:#{team_project_collection_url}"
875
+ @b.append "/collection:#{@b.format team_project_collection_url}"
876
876
  self
877
877
  end
878
878
 
879
879
  def to_s
880
- @builder.to_s
880
+ @b.to_s
881
881
  end
882
882
 
883
883
  end
884
884
 
885
885
  class Label
886
886
  def initialize command=nil
887
- @builder = CommandBuilder.new command
888
- @builder.append 'label'
887
+ @b = CommandBuilder.new command
888
+ @b.append 'label'
889
889
  self
890
890
  end
891
891
 
892
892
  def label_name label_name
893
- @builder.append "#{label_name}"
893
+ @b.append "#{@b.format label_name}"
894
894
  self
895
895
  end
896
896
 
897
897
  def owner owner_name
898
- @builder.append "/owner:#{owner_name}"
898
+ @b.append "/owner:#{@b.format owner_name}"
899
899
  self
900
900
  end
901
901
 
902
902
  def item_spec item_spec
903
- @builder.append "#{item_spec}"
903
+ @b.append "#{@b.format item_spec}"
904
904
  self
905
905
  end
906
906
 
907
907
  def version version_spec
908
- @builder.append "/version:#{version_spec}"
908
+ @b.append "/version:#{@b.format version_spec}"
909
909
  self
910
910
  end
911
911
 
912
912
  def comment comment
913
- @builder.append "/comment:#{comment}"
913
+ @b.append "/comment:#{@b.format comment}"
914
914
  self
915
915
  end
916
916
 
917
917
  def child lock_type
918
- @builder.append "/child:#{lock_type}"
918
+ @b.append "/child:#{@b.format lock_type}"
919
919
  self
920
920
  end
921
921
 
922
922
  def recursive
923
- @builder.append "/recursive"
923
+ @b.append '/recursive'
924
924
  self
925
925
  end
926
926
 
927
927
  def login credentials
928
- @builder.append "/login:#{credentials}"
928
+ @b.append "/login:#{@b.format credentials}"
929
929
  self
930
930
  end
931
931
 
932
932
  def collection team_project_collection_url
933
- @builder.append "/collection:#{team_project_collection_url}"
933
+ @b.append "/collection:#{@b.format team_project_collection_url}"
934
934
  self
935
935
  end
936
936
 
937
937
  def delete
938
- @builder.append "/delete"
938
+ @b.append '/delete'
939
939
  self
940
940
  end
941
941
 
942
942
  def to_s
943
- @builder.to_s
943
+ @b.to_s
944
944
  end
945
945
 
946
946
  end
947
947
 
948
948
  class Labels
949
949
  def initialize command=nil
950
- @builder = CommandBuilder.new command
951
- @builder.append 'labels'
950
+ @b = CommandBuilder.new command
951
+ @b.append 'labels'
952
952
  self
953
953
  end
954
954
 
955
955
  def owner owner_name
956
- @builder.append "/owner:#{owner_name}"
956
+ @b.append "/owner:#{@b.format owner_name}"
957
957
  self
958
958
  end
959
959
 
960
960
  def format format
961
- @builder.append "/format:#{format}"
961
+ @b.append "/format:#{@b.format format}"
962
962
  self
963
963
  end
964
964
 
965
965
  def collection team_project_collection_url
966
- @builder.append "/collection:#{team_project_collection_url}"
966
+ @b.append "/collection:#{@b.format team_project_collection_url}"
967
967
  self
968
968
  end
969
969
 
970
970
  def label_name label_name
971
- @builder.append "#{label_name}"
971
+ @b.append "#{@b.format label_name}"
972
972
  self
973
973
  end
974
974
 
975
975
  def login credentials
976
- @builder.append "/login:#{credentials}"
976
+ @b.append "/login:#{@b.format credentials}"
977
977
  self
978
978
  end
979
979
 
980
980
  def to_s
981
- @builder.to_s
981
+ @b.to_s
982
982
  end
983
983
 
984
984
  end
985
985
 
986
986
  class LocalVersions
987
987
  def initialize command=nil
988
- @builder = CommandBuilder.new command
989
- @builder.append 'localVersions'
988
+ @b = CommandBuilder.new command
989
+ @b.append 'localVersions'
990
990
  self
991
991
  end
992
992
 
993
993
  def item_spec item_spec
994
- @builder.append "#{item_spec}"
994
+ @b.append "#{@b.format item_spec}"
995
995
  self
996
996
  end
997
997
 
998
998
  def recursive
999
- @builder.append "/recursive"
999
+ @b.append '/recursive'
1000
1000
  self
1001
1001
  end
1002
1002
 
1003
1003
  def format format
1004
- @builder.append "/format:#{format}"
1004
+ @b.append "/format:#{@b.format format}"
1005
1005
  self
1006
1006
  end
1007
1007
 
1008
1008
  def workspace workspace_name
1009
- @builder.append "/workspace:#{workspace_name}"
1009
+ @b.append "/workspace:#{@b.format workspace_name}"
1010
1010
  self
1011
1011
  end
1012
1012
 
1013
1013
  def collection team_project_collection_url
1014
- @builder.append "/collection:#{team_project_collection_url}"
1014
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1015
1015
  self
1016
1016
  end
1017
1017
 
1018
1018
  def to_s
1019
- @builder.to_s
1019
+ @b.to_s
1020
1020
  end
1021
1021
 
1022
1022
  end
1023
1023
 
1024
1024
  class Lock
1025
1025
  def initialize command=nil
1026
- @builder = CommandBuilder.new command
1027
- @builder.append 'lock'
1026
+ @b = CommandBuilder.new command
1027
+ @b.append 'lock'
1028
1028
  self
1029
1029
  end
1030
1030
 
1031
1031
  def item_spec item_spec
1032
- @builder.append "#{item_spec}"
1032
+ @b.append "#{@b.format item_spec}"
1033
1033
  self
1034
1034
  end
1035
1035
 
1036
1036
  def lock lock_type
1037
- @builder.append "/lock:#{lock_type}"
1037
+ @b.append "/lock:#{@b.format lock_type}"
1038
1038
  self
1039
1039
  end
1040
1040
 
1041
1041
  def workspace workspace_name
1042
- @builder.append "/workspace:#{workspace_name}"
1042
+ @b.append "/workspace:#{@b.format workspace_name}"
1043
1043
  self
1044
1044
  end
1045
1045
 
1046
1046
  def recursive
1047
- @builder.append "/recursive"
1047
+ @b.append '/recursive'
1048
1048
  self
1049
1049
  end
1050
1050
 
1051
1051
  def login credentials
1052
- @builder.append "/login:#{credentials}"
1052
+ @b.append "/login:#{@b.format credentials}"
1053
1053
  self
1054
1054
  end
1055
1055
 
1056
1056
  def collection team_project_collection_url
1057
- @builder.append "/collection:#{team_project_collection_url}"
1057
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1058
1058
  self
1059
1059
  end
1060
1060
 
1061
1061
  def to_s
1062
- @builder.to_s
1062
+ @b.to_s
1063
1063
  end
1064
1064
 
1065
1065
  end
1066
1066
 
1067
1067
  class Merge
1068
1068
  def initialize command=nil
1069
- @builder = CommandBuilder.new command
1070
- @builder.append 'merge'
1069
+ @b = CommandBuilder.new command
1070
+ @b.append 'merge'
1071
1071
  self
1072
1072
  end
1073
1073
 
1074
1074
  def recursive
1075
- @builder.append "/recursive"
1075
+ @b.append '/recursive'
1076
1076
  self
1077
1077
  end
1078
1078
 
1079
1079
  def force
1080
- @builder.append "/force"
1080
+ @b.append '/force'
1081
1081
  self
1082
1082
  end
1083
1083
 
1084
1084
  def candidate
1085
- @builder.append "/candidate"
1085
+ @b.append '/candidate'
1086
1086
  self
1087
1087
  end
1088
1088
 
1089
1089
  def discard
1090
- @builder.append "/discard"
1090
+ @b.append '/discard'
1091
1091
  self
1092
1092
  end
1093
1093
 
1094
1094
  def version version_spec
1095
- @builder.append "/version:#{version_spec}"
1095
+ @b.append "/version:#{@b.format version_spec}"
1096
1096
  self
1097
1097
  end
1098
1098
 
1099
1099
  def lock lock_type
1100
- @builder.append "/lock:#{lock_type}"
1100
+ @b.append "/lock:#{@b.format lock_type}"
1101
1101
  self
1102
1102
  end
1103
1103
 
1104
1104
  def preview
1105
- @builder.append "/preview"
1105
+ @b.append '/preview'
1106
1106
  self
1107
1107
  end
1108
1108
 
1109
1109
  def baseless
1110
- @builder.append "/baseless"
1110
+ @b.append '/baseless'
1111
1111
  self
1112
1112
  end
1113
1113
 
1114
1114
  def no_summary
1115
- @builder.append "/noSummary"
1115
+ @b.append '/noSummary'
1116
1116
  self
1117
1117
  end
1118
1118
 
1119
1119
  def no_implicit_baseless
1120
- @builder.append "/noImplicitBaseless"
1120
+ @b.append '/noImplicitBaseless'
1121
1121
  self
1122
1122
  end
1123
1123
 
1124
1124
  def conservative
1125
- @builder.append "/conservative"
1125
+ @b.append '/conservative'
1126
1126
  self
1127
1127
  end
1128
1128
 
1129
1129
  def format format
1130
- @builder.append "/format:#{format}"
1130
+ @b.append "/format:#{@b.format format}"
1131
1131
  self
1132
1132
  end
1133
1133
 
1134
1134
  def no_prompt
1135
- @builder.append "/noPrompt"
1135
+ @b.append '/noPrompt'
1136
1136
  self
1137
1137
  end
1138
1138
 
1139
1139
  def login credentials
1140
- @builder.append "/login:#{credentials}"
1140
+ @b.append "/login:#{@b.format credentials}"
1141
1141
  self
1142
1142
  end
1143
1143
 
1144
1144
  def source source
1145
- @builder.append "#{source}"
1145
+ @b.append "#{@b.format source}"
1146
1146
  self
1147
1147
  end
1148
1148
 
1149
1149
  def destination destination
1150
- @builder.append "#{destination}"
1150
+ @b.append "#{@b.format destination}"
1151
1151
  self
1152
1152
  end
1153
1153
 
1154
1154
  def to_s
1155
- @builder.to_s
1155
+ @b.to_s
1156
1156
  end
1157
1157
 
1158
1158
  end
1159
1159
 
1160
1160
  class Merges
1161
1161
  def initialize command=nil
1162
- @builder = CommandBuilder.new command
1163
- @builder.append 'merges'
1162
+ @b = CommandBuilder.new command
1163
+ @b.append 'merges'
1164
1164
  self
1165
1165
  end
1166
1166
 
1167
1167
  def source source
1168
- @builder.append "#{source}"
1168
+ @b.append "#{@b.format source}"
1169
1169
  self
1170
1170
  end
1171
1171
 
1172
1172
  def destination destination
1173
- @builder.append "#{destination}"
1173
+ @b.append "#{@b.format destination}"
1174
1174
  self
1175
1175
  end
1176
1176
 
1177
1177
  def recursive
1178
- @builder.append "/recursive"
1178
+ @b.append '/recursive'
1179
1179
  self
1180
1180
  end
1181
1181
 
1182
1182
  def extended
1183
- @builder.append "/extended"
1183
+ @b.append '/extended'
1184
1184
  self
1185
1185
  end
1186
1186
 
1187
1187
  def format format
1188
- @builder.append "/format:#{format}"
1188
+ @b.append "/format:#{@b.format format}"
1189
1189
  self
1190
1190
  end
1191
1191
 
1192
1192
  def login credentials
1193
- @builder.append "/login:#{credentials}"
1193
+ @b.append "/login:#{@b.format credentials}"
1194
1194
  self
1195
1195
  end
1196
1196
 
1197
1197
  def show_all
1198
- @builder.append "/showAll"
1198
+ @b.append '/showAll'
1199
1199
  self
1200
1200
  end
1201
1201
 
1202
1202
  def collection team_project_collection_url
1203
- @builder.append "/collection:#{team_project_collection_url}"
1203
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1204
1204
  self
1205
1205
  end
1206
1206
 
1207
1207
  def to_s
1208
- @builder.to_s
1208
+ @b.to_s
1209
1209
  end
1210
1210
 
1211
1211
  end
1212
1212
 
1213
1213
  class Permissions
1214
1214
  def initialize command=nil
1215
- @builder = CommandBuilder.new command
1216
- @builder.append 'permissions'
1215
+ @b = CommandBuilder.new command
1216
+ @b.append 'permissions'
1217
1217
  self
1218
1218
  end
1219
1219
 
1220
1220
  def allow permission
1221
- @builder.append "/allow:#{permission}"
1221
+ @b.append "/allow:#{@b.format permission}"
1222
1222
  self
1223
1223
  end
1224
1224
 
1225
1225
  def deny permission
1226
- @builder.append "/deny:#{permission}"
1226
+ @b.append "/deny:#{@b.format permission}"
1227
1227
  self
1228
1228
  end
1229
1229
 
1230
1230
  def remove permission
1231
- @builder.append "/remove:#{permission}"
1231
+ @b.append "/remove:#{@b.format permission}"
1232
1232
  self
1233
1233
  end
1234
1234
 
1235
1235
  def inherit inherit
1236
- @builder.append "/inherit:#{inherit}"
1236
+ @b.append "/inherit:#{@b.format inherit}"
1237
1237
  self
1238
1238
  end
1239
1239
 
1240
1240
  def user user_name
1241
- @builder.append "/user:#{user_name}"
1241
+ @b.append "/user:#{@b.format user_name}"
1242
1242
  self
1243
1243
  end
1244
1244
 
1245
1245
  def group group_name
1246
- @builder.append "/group:#{group_name}"
1246
+ @b.append "/group:#{@b.format group_name}"
1247
1247
  self
1248
1248
  end
1249
1249
 
1250
1250
  def collection team_project_collection_url
1251
- @builder.append "/collection:#{team_project_collection_url}"
1251
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1252
1252
  self
1253
1253
  end
1254
1254
 
1255
1255
  def recursive
1256
- @builder.append "/recursive"
1256
+ @b.append '/recursive'
1257
1257
  self
1258
1258
  end
1259
1259
 
1260
1260
  def item_spec item_spec
1261
- @builder.append "#{item_spec}"
1261
+ @b.append "#{@b.format item_spec}"
1262
1262
  self
1263
1263
  end
1264
1264
 
1265
1265
  def global
1266
- @builder.append "/global"
1266
+ @b.append '/global'
1267
1267
  self
1268
1268
  end
1269
1269
 
1270
1270
  def login credentials
1271
- @builder.append "/login:#{credentials}"
1271
+ @b.append "/login:#{@b.format credentials}"
1272
1272
  self
1273
1273
  end
1274
1274
 
1275
1275
  def to_s
1276
- @builder.to_s
1276
+ @b.to_s
1277
1277
  end
1278
1278
 
1279
1279
  end
1280
1280
 
1281
1281
  class Properties
1282
1282
  def initialize command=nil
1283
- @builder = CommandBuilder.new command
1284
- @builder.append 'properties'
1283
+ @b = CommandBuilder.new command
1284
+ @b.append 'properties'
1285
1285
  self
1286
1286
  end
1287
1287
 
1288
1288
  def collection team_project_collection_url
1289
- @builder.append "/collection:#{team_project_collection_url}"
1289
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1290
1290
  self
1291
1291
  end
1292
1292
 
1293
1293
  def recursive
1294
- @builder.append "/recursive"
1294
+ @b.append '/recursive'
1295
1295
  self
1296
1296
  end
1297
1297
 
1298
1298
  def login credentials
1299
- @builder.append "/login:#{credentials}"
1299
+ @b.append "/login:#{@b.format credentials}"
1300
1300
  self
1301
1301
  end
1302
1302
 
1303
1303
  def item_spec item_spec
1304
- @builder.append "#{item_spec}"
1304
+ @b.append "#{@b.format item_spec}"
1305
1305
  self
1306
1306
  end
1307
1307
 
1308
1308
  def version version_spec
1309
- @builder.append "/version:#{version_spec}"
1309
+ @b.append "/version:#{@b.format version_spec}"
1310
1310
  self
1311
1311
  end
1312
1312
 
1313
1313
  def workspace
1314
- @builder.append "/workspace"
1314
+ @b.append '/workspace'
1315
1315
  self
1316
1316
  end
1317
1317
 
1318
1318
  def to_s
1319
- @builder.to_s
1319
+ @b.to_s
1320
1320
  end
1321
1321
 
1322
1322
  end
1323
1323
 
1324
1324
  class Rename
1325
1325
  def initialize command=nil
1326
- @builder = CommandBuilder.new command
1327
- @builder.append 'rename'
1326
+ @b = CommandBuilder.new command
1327
+ @b.append 'rename'
1328
1328
  self
1329
1329
  end
1330
1330
 
1331
1331
  def lock lock_type
1332
- @builder.append "/lock:#{lock_type}"
1332
+ @b.append "/lock:#{@b.format lock_type}"
1333
1333
  self
1334
1334
  end
1335
1335
 
1336
1336
  def login credentials
1337
- @builder.append "/login:#{credentials}"
1337
+ @b.append "/login:#{@b.format credentials}"
1338
1338
  self
1339
1339
  end
1340
1340
 
1341
1341
  def old_item old_item
1342
- @builder.append "#{old_item}"
1342
+ @b.append "#{@b.format old_item}"
1343
1343
  self
1344
1344
  end
1345
1345
 
1346
1346
  def new_item new_item
1347
- @builder.append "#{new_item}"
1347
+ @b.append "#{@b.format new_item}"
1348
1348
  self
1349
1349
  end
1350
1350
 
1351
1351
  def to_s
1352
- @builder.to_s
1352
+ @b.to_s
1353
1353
  end
1354
1354
 
1355
1355
  end
1356
1356
 
1357
1357
  class Resolve
1358
1358
  def initialize command=nil
1359
- @builder = CommandBuilder.new command
1360
- @builder.append 'resolve'
1359
+ @b = CommandBuilder.new command
1360
+ @b.append 'resolve'
1361
1361
  self
1362
1362
  end
1363
1363
 
1364
1364
  def item_spec item_spec
1365
- @builder.append "#{item_spec}"
1365
+ @b.append "#{@b.format item_spec}"
1366
1366
  self
1367
1367
  end
1368
1368
 
1369
1369
  def auto resolution
1370
- @builder.append "/auto:#{resolution}"
1370
+ @b.append "/auto:#{@b.format resolution}"
1371
1371
  self
1372
1372
  end
1373
1373
 
1374
1374
  def preview
1375
- @builder.append "/preview"
1375
+ @b.append '/preview'
1376
1376
  self
1377
1377
  end
1378
1378
 
1379
1379
  def override_type override_type
1380
- @builder.append "/overrideType:#{override_type}"
1380
+ @b.append "/overrideType:#{@b.format override_type}"
1381
1381
  self
1382
1382
  end
1383
1383
 
1384
1384
  def convert_to_type convert_type
1385
- @builder.append "/convertToType:#{convert_type}"
1385
+ @b.append "/convertToType:#{@b.format convert_type}"
1386
1386
  self
1387
1387
  end
1388
1388
 
1389
1389
  def recursive
1390
- @builder.append "/recursive"
1390
+ @b.append '/recursive'
1391
1391
  self
1392
1392
  end
1393
1393
 
1394
1394
  def new_name path
1395
- @builder.append "/newName:#{path}"
1395
+ @b.append "/newName:#{@b.format path}"
1396
1396
  self
1397
1397
  end
1398
1398
 
1399
1399
  def no_prompt
1400
- @builder.append "/noPrompt"
1400
+ @b.append '/noPrompt'
1401
1401
  self
1402
1402
  end
1403
1403
 
1404
1404
  def login credentials
1405
- @builder.append "/login:#{credentials}"
1405
+ @b.append "/login:#{@b.format credentials}"
1406
1406
  self
1407
1407
  end
1408
1408
 
1409
1409
  def to_s
1410
- @builder.to_s
1410
+ @b.to_s
1411
1411
  end
1412
1412
 
1413
1413
  end
1414
1414
 
1415
1415
  class Rollback
1416
1416
  def initialize command=nil
1417
- @builder = CommandBuilder.new command
1418
- @builder.append 'rollback'
1417
+ @b = CommandBuilder.new command
1418
+ @b.append 'rollback'
1419
1419
  self
1420
1420
  end
1421
1421
 
1422
1422
  def to_version version_spec
1423
- @builder.append "/toVersion:#{version_spec}"
1423
+ @b.append "/toVersion:#{@b.format version_spec}"
1424
1424
  self
1425
1425
  end
1426
1426
 
1427
1427
  def item_spec item_spec
1428
- @builder.append "#{item_spec}"
1428
+ @b.append "#{@b.format item_spec}"
1429
1429
  self
1430
1430
  end
1431
1431
 
1432
1432
  def recursive
1433
- @builder.append "/recursive"
1433
+ @b.append '/recursive'
1434
1434
  self
1435
1435
  end
1436
1436
 
1437
1437
  def lock lock_type
1438
- @builder.append "/lock:#{lock_type}"
1438
+ @b.append "/lock:#{@b.format lock_type}"
1439
1439
  self
1440
1440
  end
1441
1441
 
1442
1442
  def version version_spec
1443
- @builder.append "/version:#{version_spec}"
1443
+ @b.append "/version:#{@b.format version_spec}"
1444
1444
  self
1445
1445
  end
1446
1446
 
1447
1447
  def keep_merge_history
1448
- @builder.append "/keepMergeHistory"
1448
+ @b.append '/keepMergeHistory'
1449
1449
  self
1450
1450
  end
1451
1451
 
1452
1452
  def login credentials
1453
- @builder.append "/login:#{credentials}"
1453
+ @b.append "/login:#{@b.format credentials}"
1454
1454
  self
1455
1455
  end
1456
1456
 
1457
1457
  def no_prompt
1458
- @builder.append "/noPrompt"
1458
+ @b.append '/noPrompt'
1459
1459
  self
1460
1460
  end
1461
1461
 
1462
1462
  def changeset changeset
1463
- @builder.append "/changeset:#{changeset}"
1463
+ @b.append "/changeset:#{@b.format changeset}"
1464
1464
  self
1465
1465
  end
1466
1466
 
1467
1467
  def to_s
1468
- @builder.to_s
1468
+ @b.to_s
1469
1469
  end
1470
1470
 
1471
1471
  end
1472
1472
 
1473
1473
  class Shelve
1474
1474
  def initialize command=nil
1475
- @builder = CommandBuilder.new command
1476
- @builder.append 'shelve'
1475
+ @b = CommandBuilder.new command
1476
+ @b.append 'shelve'
1477
1477
  self
1478
1478
  end
1479
1479
 
1480
1480
  def replace
1481
- @builder.append "/replace"
1481
+ @b.append '/replace'
1482
1482
  self
1483
1483
  end
1484
1484
 
1485
1485
  def comment comment
1486
- @builder.append "/comment:#{comment}"
1486
+ @b.append "/comment:#{@b.format comment}"
1487
1487
  self
1488
1488
  end
1489
1489
 
1490
1490
  def shelveset_name shelveset_name
1491
- @builder.append "#{shelveset_name}"
1491
+ @b.append "#{@b.format shelveset_name}"
1492
1492
  self
1493
1493
  end
1494
1494
 
1495
1495
  def validate
1496
- @builder.append "/validate"
1496
+ @b.append '/validate'
1497
1497
  self
1498
1498
  end
1499
1499
 
1500
1500
  def no_prompt
1501
- @builder.append "/noPrompt"
1501
+ @b.append '/noPrompt'
1502
1502
  self
1503
1503
  end
1504
1504
 
1505
1505
  def login credentials
1506
- @builder.append "/login:#{credentials}"
1506
+ @b.append "/login:#{@b.format credentials}"
1507
1507
  self
1508
1508
  end
1509
1509
 
1510
1510
  def move
1511
- @builder.append "/move"
1511
+ @b.append '/move'
1512
1512
  self
1513
1513
  end
1514
1514
 
1515
1515
  def recursive
1516
- @builder.append "/recursive"
1516
+ @b.append '/recursive'
1517
1517
  self
1518
1518
  end
1519
1519
 
1520
1520
  def item_spec item_spec
1521
- @builder.append "#{item_spec}"
1521
+ @b.append "#{@b.format item_spec}"
1522
1522
  self
1523
1523
  end
1524
1524
 
1525
1525
  def delete
1526
- @builder.append "/delete"
1526
+ @b.append '/delete'
1527
1527
  self
1528
1528
  end
1529
1529
 
1530
1530
  def collection team_project_collection_url
1531
- @builder.append "/collection:#{team_project_collection_url}"
1531
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1532
1532
  self
1533
1533
  end
1534
1534
 
1535
1535
  def to_s
1536
- @builder.to_s
1536
+ @b.to_s
1537
1537
  end
1538
1538
 
1539
1539
  end
1540
1540
 
1541
1541
  class Shelvesets
1542
1542
  def initialize command=nil
1543
- @builder = CommandBuilder.new command
1544
- @builder.append 'shelvesets'
1543
+ @b = CommandBuilder.new command
1544
+ @b.append 'shelvesets'
1545
1545
  self
1546
1546
  end
1547
1547
 
1548
1548
  def owner owner_name
1549
- @builder.append "/owner:#{owner_name}"
1549
+ @b.append "/owner:#{@b.format owner_name}"
1550
1550
  self
1551
1551
  end
1552
1552
 
1553
1553
  def format format
1554
- @builder.append "/format:#{format}"
1554
+ @b.append "/format:#{@b.format format}"
1555
1555
  self
1556
1556
  end
1557
1557
 
1558
1558
  def collection team_project_collection_url
1559
- @builder.append "/collection:#{team_project_collection_url}"
1559
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1560
1560
  self
1561
1561
  end
1562
1562
 
1563
1563
  def login credentials
1564
- @builder.append "/login:#{credentials}"
1564
+ @b.append "/login:#{@b.format credentials}"
1565
1565
  self
1566
1566
  end
1567
1567
 
1568
1568
  def shelveset_name shelveset_name
1569
- @builder.append "#{shelveset_name}"
1569
+ @b.append "#{@b.format shelveset_name}"
1570
1570
  self
1571
1571
  end
1572
1572
 
1573
1573
  def to_s
1574
- @builder.to_s
1574
+ @b.to_s
1575
1575
  end
1576
1576
 
1577
1577
  end
1578
1578
 
1579
1579
  class Status
1580
1580
  def initialize command=nil
1581
- @builder = CommandBuilder.new command
1582
- @builder.append 'status'
1581
+ @b = CommandBuilder.new command
1582
+ @b.append 'status'
1583
1583
  self
1584
1584
  end
1585
1585
 
1586
1586
  def item_spec item_spec
1587
- @builder.append "#{item_spec}"
1587
+ @b.append "#{@b.format item_spec}"
1588
1588
  self
1589
1589
  end
1590
1590
 
1591
1591
  def collection team_project_collection_url
1592
- @builder.append "/collection:#{team_project_collection_url}"
1592
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1593
1593
  self
1594
1594
  end
1595
1595
 
1596
1596
  def login credentials
1597
- @builder.append "/login:#{credentials}"
1597
+ @b.append "/login:#{@b.format credentials}"
1598
1598
  self
1599
1599
  end
1600
1600
 
1601
1601
  def workspace workspace_name
1602
- @builder.append "/workspace:#{workspace_name}"
1602
+ @b.append "/workspace:#{@b.format workspace_name}"
1603
1603
  self
1604
1604
  end
1605
1605
 
1606
1606
  def shelveset shelveset_name
1607
- @builder.append "/shelveset:#{shelveset_name}"
1607
+ @b.append "/shelveset:#{@b.format shelveset_name}"
1608
1608
  self
1609
1609
  end
1610
1610
 
1611
1611
  def format format
1612
- @builder.append "/format:#{format}"
1612
+ @b.append "/format:#{@b.format format}"
1613
1613
  self
1614
1614
  end
1615
1615
 
1616
1616
  def recursive
1617
- @builder.append "/recursive"
1617
+ @b.append '/recursive'
1618
1618
  self
1619
1619
  end
1620
1620
 
1621
1621
  def user user_name
1622
- @builder.append "/user:#{user_name}"
1622
+ @b.append "/user:#{@b.format user_name}"
1623
1623
  self
1624
1624
  end
1625
1625
 
1626
1626
  def to_s
1627
- @builder.to_s
1627
+ @b.to_s
1628
1628
  end
1629
1629
 
1630
1630
  end
1631
1631
 
1632
1632
  class Undelete
1633
1633
  def initialize command=nil
1634
- @builder = CommandBuilder.new command
1635
- @builder.append 'undelete'
1634
+ @b = CommandBuilder.new command
1635
+ @b.append 'undelete'
1636
1636
  self
1637
1637
  end
1638
1638
 
1639
1639
  def no_get
1640
- @builder.append "/noGet"
1640
+ @b.append '/noGet'
1641
1641
  self
1642
1642
  end
1643
1643
 
1644
1644
  def lock lock_type
1645
- @builder.append "/lock:#{lock_type}"
1645
+ @b.append "/lock:#{@b.format lock_type}"
1646
1646
  self
1647
1647
  end
1648
1648
 
1649
1649
  def recursive
1650
- @builder.append "/recursive"
1650
+ @b.append '/recursive'
1651
1651
  self
1652
1652
  end
1653
1653
 
1654
1654
  def item_spec item_spec
1655
- @builder.append "#{item_spec}"
1655
+ @b.append "#{@b.format item_spec}"
1656
1656
  self
1657
1657
  end
1658
1658
 
1659
1659
  def login credentials
1660
- @builder.append "/login:#{credentials}"
1660
+ @b.append "/login:#{@b.format credentials}"
1661
1661
  self
1662
1662
  end
1663
1663
 
1664
1664
  def to_s
1665
- @builder.to_s
1665
+ @b.to_s
1666
1666
  end
1667
1667
 
1668
1668
  end
1669
1669
 
1670
1670
  class Undo
1671
1671
  def initialize command=nil
1672
- @builder = CommandBuilder.new command
1673
- @builder.append 'undo'
1672
+ @b = CommandBuilder.new command
1673
+ @b.append 'undo'
1674
1674
  self
1675
1675
  end
1676
1676
 
1677
1677
  def workspace workspace_name
1678
- @builder.append "/workspace:#{workspace_name}"
1678
+ @b.append "/workspace:#{@b.format workspace_name}"
1679
1679
  self
1680
1680
  end
1681
1681
 
1682
1682
  def recursive
1683
- @builder.append "/recursive"
1683
+ @b.append '/recursive'
1684
1684
  self
1685
1685
  end
1686
1686
 
1687
1687
  def item_spec item_spec
1688
- @builder.append "#{item_spec}"
1688
+ @b.append "#{@b.format item_spec}"
1689
1689
  self
1690
1690
  end
1691
1691
 
1692
1692
  def no_prompt
1693
- @builder.append "/noPrompt"
1693
+ @b.append '/noPrompt'
1694
1694
  self
1695
1695
  end
1696
1696
 
1697
1697
  def login credentials
1698
- @builder.append "/login:#{credentials}"
1698
+ @b.append "/login:#{@b.format credentials}"
1699
1699
  self
1700
1700
  end
1701
1701
 
1702
1702
  def collection team_project_collection_url
1703
- @builder.append "/collection:#{team_project_collection_url}"
1703
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1704
1704
  self
1705
1705
  end
1706
1706
 
1707
1707
  def to_s
1708
- @builder.to_s
1708
+ @b.to_s
1709
1709
  end
1710
1710
 
1711
1711
  end
1712
1712
 
1713
1713
  class Unlabel
1714
1714
  def initialize command=nil
1715
- @builder = CommandBuilder.new command
1716
- @builder.append 'unlabel'
1715
+ @b = CommandBuilder.new command
1716
+ @b.append 'unlabel'
1717
1717
  self
1718
1718
  end
1719
1719
 
1720
1720
  def collection team_project_collection_url
1721
- @builder.append "/collection:#{team_project_collection_url}"
1721
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1722
1722
  self
1723
1723
  end
1724
1724
 
1725
1725
  def recursive
1726
- @builder.append "/recursive"
1726
+ @b.append '/recursive'
1727
1727
  self
1728
1728
  end
1729
1729
 
1730
1730
  def login credentials
1731
- @builder.append "/login:#{credentials}"
1731
+ @b.append "/login:#{@b.format credentials}"
1732
1732
  self
1733
1733
  end
1734
1734
 
1735
1735
  def label_name label_name
1736
- @builder.append "#{label_name}"
1736
+ @b.append "#{@b.format label_name}"
1737
1737
  self
1738
1738
  end
1739
1739
 
1740
1740
  def item_spec item_spec
1741
- @builder.append "#{item_spec}"
1741
+ @b.append "#{@b.format item_spec}"
1742
1742
  self
1743
1743
  end
1744
1744
 
1745
1745
  def to_s
1746
- @builder.to_s
1746
+ @b.to_s
1747
1747
  end
1748
1748
 
1749
1749
  end
1750
1750
 
1751
1751
  class Unshelve
1752
1752
  def initialize command=nil
1753
- @builder = CommandBuilder.new command
1754
- @builder.append 'unshelve'
1753
+ @b = CommandBuilder.new command
1754
+ @b.append 'unshelve'
1755
1755
  self
1756
1756
  end
1757
1757
 
1758
1758
  def move
1759
- @builder.append "/move"
1759
+ @b.append '/move'
1760
1760
  self
1761
1761
  end
1762
1762
 
1763
1763
  def shelveset_name shelveset_name
1764
- @builder.append "#{shelveset_name}"
1764
+ @b.append "#{@b.format shelveset_name}"
1765
1765
  self
1766
1766
  end
1767
1767
 
1768
1768
  def item_spec item_spec
1769
- @builder.append "#{item_spec}"
1769
+ @b.append "#{@b.format item_spec}"
1770
1770
  self
1771
1771
  end
1772
1772
 
1773
1773
  def recursive
1774
- @builder.append "/recursive"
1774
+ @b.append '/recursive'
1775
1775
  self
1776
1776
  end
1777
1777
 
1778
1778
  def no_prompt
1779
- @builder.append "/noPrompt"
1779
+ @b.append '/noPrompt'
1780
1780
  self
1781
1781
  end
1782
1782
 
1783
1783
  def login credentials
1784
- @builder.append "/login:#{credentials}"
1784
+ @b.append "/login:#{@b.format credentials}"
1785
1785
  self
1786
1786
  end
1787
1787
 
1788
1788
  def to_s
1789
- @builder.to_s
1789
+ @b.to_s
1790
1790
  end
1791
1791
 
1792
1792
  end
1793
1793
 
1794
1794
  class View
1795
1795
  def initialize command=nil
1796
- @builder = CommandBuilder.new command
1797
- @builder.append 'view'
1796
+ @b = CommandBuilder.new command
1797
+ @b.append 'view'
1798
1798
  self
1799
1799
  end
1800
1800
 
1801
1801
  def collection team_project_collection_url
1802
- @builder.append "/collection:#{team_project_collection_url}"
1802
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1803
1803
  self
1804
1804
  end
1805
1805
 
1806
1806
  def console
1807
- @builder.append "/console"
1807
+ @b.append '/console'
1808
1808
  self
1809
1809
  end
1810
1810
 
1811
1811
  def recursive
1812
- @builder.append "/recursive"
1812
+ @b.append '/recursive'
1813
1813
  self
1814
1814
  end
1815
1815
 
1816
1816
  def output local_file
1817
- @builder.append "/output:#{local_file}"
1817
+ @b.append "/output:#{@b.format local_file}"
1818
1818
  self
1819
1819
  end
1820
1820
 
1821
1821
  def shelveset shelveset_name
1822
- @builder.append "/shelveset:#{shelveset_name}"
1822
+ @b.append "/shelveset:#{@b.format shelveset_name}"
1823
1823
  self
1824
1824
  end
1825
1825
 
1826
1826
  def no_prompt
1827
- @builder.append "/noPrompt"
1827
+ @b.append '/noPrompt'
1828
1828
  self
1829
1829
  end
1830
1830
 
1831
1831
  def item_spec item_spec
1832
- @builder.append "#{item_spec}"
1832
+ @b.append "#{@b.format item_spec}"
1833
1833
  self
1834
1834
  end
1835
1835
 
1836
1836
  def version
1837
- @builder.append "/version:versionSpec"
1837
+ @b.append '/version:versionSpec'
1838
1838
  self
1839
1839
  end
1840
1840
 
1841
1841
  def login credentials
1842
- @builder.append "/login:#{credentials}"
1842
+ @b.append "/login:#{@b.format credentials}"
1843
1843
  self
1844
1844
  end
1845
1845
 
1846
1846
  def to_s
1847
- @builder.to_s
1847
+ @b.to_s
1848
1848
  end
1849
1849
 
1850
1850
  end
1851
1851
 
1852
1852
  class Workfold
1853
1853
  def initialize command=nil
1854
- @builder = CommandBuilder.new command
1855
- @builder.append 'workfold'
1854
+ @b = CommandBuilder.new command
1855
+ @b.append 'workfold'
1856
1856
  self
1857
1857
  end
1858
1858
 
1859
1859
  def login credentials
1860
- @builder.append "/login:#{credentials}"
1860
+ @b.append "/login:#{@b.format credentials}"
1861
1861
  self
1862
1862
  end
1863
1863
 
1864
1864
  def workspace workspace_name
1865
- @builder.append "/workspace:#{workspace_name}"
1865
+ @b.append "/workspace:#{@b.format workspace_name}"
1866
1866
  self
1867
1867
  end
1868
1868
 
1869
1869
  def collection team_project_collection_url
1870
- @builder.append "/collection:#{team_project_collection_url}"
1870
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1871
1871
  self
1872
1872
  end
1873
1873
 
1874
1874
  def map
1875
- @builder.append "/map"
1875
+ @b.append '/map'
1876
1876
  self
1877
1877
  end
1878
1878
 
1879
1879
  def server_folder server_folder
1880
- @builder.append "#{server_folder}"
1880
+ @b.append "#{@b.format server_folder}"
1881
1881
  self
1882
1882
  end
1883
1883
 
1884
1884
  def local_folder local_folder
1885
- @builder.append "#{local_folder}"
1885
+ @b.append "#{@b.format local_folder}"
1886
1886
  self
1887
1887
  end
1888
1888
 
1889
1889
  def unmap
1890
- @builder.append "/unmap"
1890
+ @b.append '/unmap'
1891
1891
  self
1892
1892
  end
1893
1893
 
1894
1894
  def recursive
1895
- @builder.append "/recursive"
1895
+ @b.append '/recursive'
1896
1896
  self
1897
1897
  end
1898
1898
 
1899
1899
  def cloak
1900
- @builder.append "/cloak"
1900
+ @b.append '/cloak'
1901
1901
  self
1902
1902
  end
1903
1903
 
1904
1904
  def decloak
1905
- @builder.append "/decloak"
1905
+ @b.append '/decloak'
1906
1906
  self
1907
1907
  end
1908
1908
 
1909
1909
  def to_s
1910
- @builder.to_s
1910
+ @b.to_s
1911
1911
  end
1912
1912
 
1913
1913
  end
1914
1914
 
1915
1915
  class Workspace
1916
1916
  def initialize command=nil
1917
- @builder = CommandBuilder.new command
1918
- @builder.append 'workspace'
1917
+ @b = CommandBuilder.new command
1918
+ @b.append 'workspace'
1919
1919
  self
1920
1920
  end
1921
1921
 
1922
1922
  def new
1923
- @builder.append "/new"
1923
+ @b.append '/new'
1924
1924
  self
1925
1925
  end
1926
1926
 
1927
1927
  def no_prompt
1928
- @builder.append "/noPrompt"
1928
+ @b.append '/noPrompt'
1929
1929
  self
1930
1930
  end
1931
1931
 
1932
1932
  def template workspace_name
1933
- @builder.append "/template:#{workspace_name}"
1933
+ @b.append "/template:#{@b.format workspace_name}"
1934
1934
  self
1935
1935
  end
1936
1936
 
1937
1937
  def computer computer_name
1938
- @builder.append "/computer:#{computer_name}"
1938
+ @b.append "/computer:#{@b.format computer_name}"
1939
1939
  self
1940
1940
  end
1941
1941
 
1942
1942
  def comment comment
1943
- @builder.append "/comment:#{comment}"
1943
+ @b.append "/comment:#{@b.format comment}"
1944
1944
  self
1945
1945
  end
1946
1946
 
1947
1947
  def collection team_project_collection_url
1948
- @builder.append "/collection:#{team_project_collection_url}"
1948
+ @b.append "/collection:#{@b.format team_project_collection_url}"
1949
1949
  self
1950
1950
  end
1951
1951
 
1952
1952
  def permission permission
1953
- @builder.append "/permission:#{permission}"
1953
+ @b.append "/permission:#{@b.format permission}"
1954
1954
  self
1955
1955
  end
1956
1956
 
1957
1957
  def workspace_name workspace_name
1958
- @builder.append "#{workspace_name}"
1958
+ @b.append "#{@b.format workspace_name}"
1959
1959
  self
1960
1960
  end
1961
1961
 
1962
1962
  def login credentials
1963
- @builder.append "/login:#{credentials}"
1963
+ @b.append "/login:#{@b.format credentials}"
1964
1964
  self
1965
1965
  end
1966
1966
 
1967
1967
  def delete
1968
- @builder.append "/delete"
1968
+ @b.append '/delete'
1969
1969
  self
1970
1970
  end
1971
1971
 
1972
1972
  def new_name workspace_name
1973
- @builder.append "/newName:#{workspace_name}"
1973
+ @b.append "/newName:#{@b.format workspace_name}"
1974
1974
  self
1975
1975
  end
1976
1976
 
1977
1977
  def new_owner owner_name
1978
- @builder.append "/newOwner:#{owner_name}"
1978
+ @b.append "/newOwner:#{@b.format owner_name}"
1979
1979
  self
1980
1980
  end
1981
1981
 
1982
1982
  def to_s
1983
- @builder.to_s
1983
+ @b.to_s
1984
1984
  end
1985
1985
 
1986
1986
  end
1987
1987
 
1988
1988
  class Workspaces
1989
1989
  def initialize command=nil
1990
- @builder = CommandBuilder.new command
1991
- @builder.append 'workspaces'
1990
+ @b = CommandBuilder.new command
1991
+ @b.append 'workspaces'
1992
1992
  self
1993
1993
  end
1994
1994
 
1995
1995
  def owner owner_name
1996
- @builder.append "/owner:#{owner_name}"
1996
+ @b.append "/owner:#{@b.format owner_name}"
1997
1997
  self
1998
1998
  end
1999
1999
 
2000
2000
  def computer computer_name
2001
- @builder.append "/computer:#{computer_name}"
2001
+ @b.append "/computer:#{@b.format computer_name}"
2002
2002
  self
2003
2003
  end
2004
2004
 
2005
2005
  def collection team_project_collection_url
2006
- @builder.append "/collection:#{team_project_collection_url}"
2006
+ @b.append "/collection:#{@b.format team_project_collection_url}"
2007
2007
  self
2008
2008
  end
2009
2009
 
2010
2010
  def format format
2011
- @builder.append "/format:#{format}"
2011
+ @b.append "/format:#{@b.format format}"
2012
2012
  self
2013
2013
  end
2014
2014
 
2015
2015
  def update_user_name old_user_name
2016
- @builder.append "/updateUserName:#{old_user_name}"
2016
+ @b.append "/updateUserName:#{@b.format old_user_name}"
2017
2017
  self
2018
2018
  end
2019
2019
 
2020
2020
  def update_computer_name old_computer_name
2021
- @builder.append "/updateComputerName:#{old_computer_name}"
2021
+ @b.append "/updateComputerName:#{@b.format old_computer_name}"
2022
2022
  self
2023
2023
  end
2024
2024
 
2025
2025
  def workspace_name workspace_name
2026
- @builder.append "#{workspace_name}"
2026
+ @b.append "#{@b.format workspace_name}"
2027
2027
  self
2028
2028
  end
2029
2029
 
2030
2030
  def login credentials
2031
- @builder.append "/login:#{credentials}"
2031
+ @b.append "/login:#{@b.format credentials}"
2032
2032
  self
2033
2033
  end
2034
2034
 
2035
2035
  def remove workspace_name
2036
- @builder.append "/remove:#{workspace_name}"
2036
+ @b.append "/remove:#{@b.format workspace_name}"
2037
2037
  self
2038
2038
  end
2039
2039
 
2040
2040
  def to_s
2041
- @builder.to_s
2041
+ @b.to_s
2042
2042
  end
2043
2043
 
2044
2044
  end
@@ -2051,7 +2051,7 @@ module FluentCommandBuilder
2051
2051
 
2052
2052
  end
2053
2053
 
2054
- def tf2010
2054
+ def tf_2010
2055
2055
  Tf::V2010::Tf.new
2056
2056
  end
2057
2057