bunchr 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.md +148 -116
  2. data/bunchr.gemspec +1 -1
  3. data/lib/bunchr/version.rb +1 -1
  4. data/lib/bunchr.rb +2 -0
  5. data/pkg/bunchr-0.1.1/README.md +355 -0
  6. data/pkg/bunchr-0.1.1/Rakefile +9 -0
  7. data/pkg/bunchr-0.1.1/TODO +7 -0
  8. data/pkg/bunchr-0.1.1/bunchr.gemspec +34 -0
  9. data/pkg/bunchr-0.1.1/doc/Bunchr/Logger.html +201 -0
  10. data/pkg/bunchr-0.1.1/doc/Bunchr/Ohai.html +201 -0
  11. data/pkg/bunchr-0.1.1/doc/Bunchr/Packages.html +1840 -0
  12. data/pkg/bunchr-0.1.1/doc/Bunchr/Software.html +1727 -0
  13. data/pkg/bunchr-0.1.1/doc/Bunchr/Utils.html +334 -0
  14. data/pkg/bunchr-0.1.1/doc/Bunchr.html +124 -0
  15. data/pkg/bunchr-0.1.1/doc/_index.html +181 -0
  16. data/pkg/bunchr-0.1.1/doc/class_list.html +47 -0
  17. data/pkg/bunchr-0.1.1/doc/css/common.css +1 -0
  18. data/pkg/bunchr-0.1.1/doc/css/full_list.css +55 -0
  19. data/pkg/bunchr-0.1.1/doc/css/style.css +322 -0
  20. data/pkg/bunchr-0.1.1/doc/file.README.html +376 -0
  21. data/pkg/bunchr-0.1.1/doc/file_list.html +49 -0
  22. data/pkg/bunchr-0.1.1/doc/frames.html +13 -0
  23. data/pkg/bunchr-0.1.1/doc/index.html +376 -0
  24. data/pkg/bunchr-0.1.1/doc/js/app.js +205 -0
  25. data/pkg/bunchr-0.1.1/doc/js/full_list.js +173 -0
  26. data/pkg/bunchr-0.1.1/doc/js/jquery.js +16 -0
  27. data/pkg/bunchr-0.1.1/doc/method_list.html +438 -0
  28. data/pkg/bunchr-0.1.1/doc/top-level-namespace.html +105 -0
  29. data/pkg/bunchr-0.1.1/example_recipes/autoconf.rake +18 -0
  30. data/pkg/bunchr-0.1.1/example_recipes/libyaml.rake +18 -0
  31. data/pkg/bunchr-0.1.1/example_recipes/openssl.rake +54 -0
  32. data/pkg/bunchr-0.1.1/example_recipes/ruby.rake +38 -0
  33. data/pkg/bunchr-0.1.1/example_recipes/sensu.rake +18 -0
  34. data/pkg/bunchr-0.1.1/example_recipes/sensu_bin_stubs.rake +17 -0
  35. data/pkg/bunchr-0.1.1/example_recipes/sensu_configs.rake +30 -0
  36. data/pkg/bunchr-0.1.1/example_recipes/sensu_dashboard.rake +17 -0
  37. data/pkg/bunchr-0.1.1/example_recipes/zlib.rake +32 -0
  38. data/pkg/bunchr-0.1.1/lib/bunchr/logger.rb +18 -0
  39. data/pkg/bunchr-0.1.1/lib/bunchr/ohai.rb +18 -0
  40. data/pkg/bunchr-0.1.1/lib/bunchr/packages.rb +176 -0
  41. data/pkg/bunchr-0.1.1/lib/bunchr/software.rb +164 -0
  42. data/pkg/bunchr-0.1.1/lib/bunchr/utils.rb +36 -0
  43. data/pkg/bunchr-0.1.1/lib/bunchr/version.rb +3 -0
  44. data/pkg/bunchr-0.1.1/lib/bunchr.rb +44 -0
  45. data/pkg/bunchr-0.1.1.gem +0 -0
  46. metadata +123 -62
@@ -0,0 +1,1840 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Bunchr::Packages
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (P)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Bunchr.html" title="Bunchr (module)">Bunchr</a></span></span>
38
+ &raquo;
39
+ <span class="title">Packages</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Bunchr::Packages
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Rake::TaskLib</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Rake::TaskLib</li>
75
+
76
+ <li class="next">Bunchr::Packages</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+ <dt class="r2">Includes:</dt>
89
+ <dd class="r2"><span class='object_link'><a href="Utils.html" title="Bunchr::Utils (module)">Utils</a></span></dd>
90
+
91
+
92
+
93
+
94
+
95
+ <dt class="r1 last">Defined in:</dt>
96
+ <dd class="r1 last">lib/bunchr/packages.rb</dd>
97
+
98
+ </dl>
99
+ <div class="clear"></div>
100
+
101
+
102
+ <h2>Constant Summary</h2>
103
+
104
+ <dl class="constants">
105
+
106
+ <dt id="RPM_PLATFORMS-constant" class="">RPM_PLATFORMS =
107
+ <div class="docstring">
108
+ <div class="discussion">
109
+ <p>
110
+ only attempt to build .rpm&#8217;s on these platforms (as reported by
111
+ ohai.platform)
112
+ </p>
113
+
114
+
115
+ </div>
116
+ </div>
117
+ <div class="tags">
118
+
119
+
120
+ </div>
121
+ </dt>
122
+ <dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='tstring_content'>centos</span><span class='words_sep'> </span><span class='tstring_content'>redhat</span><span class='words_sep'> </span><span class='tstring_content'>fedora</span><span class='words_sep'> </span><span class='tstring_content'>scientific</span><span class='words_sep'>]</span></pre></dd>
123
+
124
+ <dt id="DEB_PLATFORMS-constant" class="">DEB_PLATFORMS =
125
+ <div class="docstring">
126
+ <div class="discussion">
127
+ <p>
128
+ only attempt to build .deb&#8217;s on these platforms (as reported by
129
+ ohai.platform)
130
+ </p>
131
+
132
+
133
+ </div>
134
+ </div>
135
+ <div class="tags">
136
+
137
+
138
+ </div>
139
+ </dt>
140
+ <dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='tstring_content'>debian</span><span class='words_sep'> </span><span class='tstring_content'>ubuntu</span><span class='words_sep'>]</span></pre></dd>
141
+
142
+ </dl>
143
+
144
+
145
+
146
+
147
+
148
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
149
+ <ul class="summary">
150
+
151
+ <li class="public ">
152
+ <span class="summary_signature">
153
+
154
+ <a href="#category-instance_method" title="#category (instance method)">- (Object) <strong>category</strong> </a>
155
+
156
+
157
+
158
+ </span>
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ <span class="summary_desc"><div class='inline'><p>
171
+ Returns the value of attribute category.
172
+ </p>
173
+ </div></span>
174
+
175
+ </li>
176
+
177
+
178
+ <li class="public ">
179
+ <span class="summary_signature">
180
+
181
+ <a href="#config_files-instance_method" title="#config_files (instance method)">- (Object) <strong>config_files</strong> </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <span class="summary_desc"><div class='inline'><p>
198
+ Returns the value of attribute config_files.
199
+ </p>
200
+ </div></span>
201
+
202
+ </li>
203
+
204
+
205
+ <li class="public ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+ <span class="summary_desc"><div class='inline'><p>
225
+ Returns the value of attribute description.
226
+ </p>
227
+ </div></span>
228
+
229
+ </li>
230
+
231
+
232
+ <li class="public ">
233
+ <span class="summary_signature">
234
+
235
+ <a href="#files-instance_method" title="#files (instance method)">- (Object) <strong>files</strong> </a>
236
+
237
+
238
+
239
+ </span>
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+ <span class="summary_desc"><div class='inline'><p>
252
+ Returns the value of attribute files.
253
+ </p>
254
+ </div></span>
255
+
256
+ </li>
257
+
258
+
259
+ <li class="public ">
260
+ <span class="summary_signature">
261
+
262
+ <a href="#iteration-instance_method" title="#iteration (instance method)">- (Object) <strong>iteration</strong> </a>
263
+
264
+
265
+
266
+ </span>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+ <span class="summary_desc"><div class='inline'><p>
279
+ Returns the value of attribute iteration.
280
+ </p>
281
+ </div></span>
282
+
283
+ </li>
284
+
285
+
286
+ <li class="public ">
287
+ <span class="summary_signature">
288
+
289
+ <a href="#license-instance_method" title="#license (instance method)">- (Object) <strong>license</strong> </a>
290
+
291
+
292
+
293
+ </span>
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+ <span class="summary_desc"><div class='inline'><p>
306
+ Returns the value of attribute license.
307
+ </p>
308
+ </div></span>
309
+
310
+ </li>
311
+
312
+
313
+ <li class="public ">
314
+ <span class="summary_signature">
315
+
316
+ <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
317
+
318
+
319
+
320
+ </span>
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+ <span class="summary_desc"><div class='inline'><p>
333
+ Returns the value of attribute name.
334
+ </p>
335
+ </div></span>
336
+
337
+ </li>
338
+
339
+
340
+ <li class="public ">
341
+ <span class="summary_signature">
342
+
343
+ <a href="#scripts-instance_method" title="#scripts (instance method)">- (Object) <strong>scripts</strong> </a>
344
+
345
+
346
+
347
+ </span>
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <span class="summary_desc"><div class='inline'><p>
360
+ Returns the value of attribute scripts.
361
+ </p>
362
+ </div></span>
363
+
364
+ </li>
365
+
366
+
367
+ <li class="public ">
368
+ <span class="summary_signature">
369
+
370
+ <a href="#url-instance_method" title="#url (instance method)">- (Object) <strong>url</strong> </a>
371
+
372
+
373
+
374
+ </span>
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+ <span class="summary_desc"><div class='inline'><p>
387
+ Returns the value of attribute url.
388
+ </p>
389
+ </div></span>
390
+
391
+ </li>
392
+
393
+
394
+ <li class="public ">
395
+ <span class="summary_signature">
396
+
397
+ <a href="#vendor-instance_method" title="#vendor (instance method)">- (Object) <strong>vendor</strong> </a>
398
+
399
+
400
+
401
+ </span>
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ <span class="summary_desc"><div class='inline'><p>
414
+ Returns the value of attribute vendor.
415
+ </p>
416
+ </div></span>
417
+
418
+ </li>
419
+
420
+
421
+ <li class="public ">
422
+ <span class="summary_signature">
423
+
424
+ <a href="#version-instance_method" title="#version (instance method)">- (Object) <strong>version</strong> </a>
425
+
426
+
427
+
428
+ </span>
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+ <span class="summary_desc"><div class='inline'><p>
441
+ Returns the value of attribute version.
442
+ </p>
443
+ </div></span>
444
+
445
+ </li>
446
+
447
+
448
+ </ul>
449
+
450
+
451
+
452
+
453
+
454
+ <h2>
455
+ Instance Method Summary
456
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
457
+ </h2>
458
+
459
+ <ul class="summary">
460
+
461
+ <li class="public ">
462
+ <span class="summary_signature">
463
+
464
+ <a href="#arch-instance_method" title="#arch (instance method)">- (Object) <strong>arch</strong> </a>
465
+
466
+
467
+
468
+ </span>
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+ <span class="summary_desc"><div class='inline'><p>
478
+ returns the current architecture.
479
+ </p>
480
+ </div></span>
481
+
482
+ </li>
483
+
484
+
485
+ <li class="public ">
486
+ <span class="summary_signature">
487
+
488
+ <a href="#arch%3D-instance_method" title="#arch= (instance method)">- (Object) <strong>arch=</strong>(a) </a>
489
+
490
+
491
+
492
+ </span>
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+ <span class="summary_desc"><div class='inline'><p>
502
+ explicitly set @arch to `a`.
503
+ </p>
504
+ </div></span>
505
+
506
+ </li>
507
+
508
+
509
+ <li class="public ">
510
+ <span class="summary_signature">
511
+
512
+ <a href="#define-instance_method" title="#define (instance method)">- (Object) <strong>define</strong> </a>
513
+
514
+
515
+
516
+ </span>
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+
525
+ <span class="summary_desc"><div class='inline'></div></span>
526
+
527
+ </li>
528
+
529
+
530
+ <li class="public ">
531
+ <span class="summary_signature">
532
+
533
+ <a href="#define_build_all-instance_method" title="#define_build_all (instance method)">- (Object) <strong>define_build_all</strong> </a>
534
+
535
+
536
+
537
+ </span>
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+ <span class="summary_desc"><div class='inline'></div></span>
547
+
548
+ </li>
549
+
550
+
551
+ <li class="public ">
552
+ <span class="summary_signature">
553
+
554
+ <a href="#define_build_deb-instance_method" title="#define_build_deb (instance method)">- (Object) <strong>define_build_deb</strong> </a>
555
+
556
+
557
+
558
+ </span>
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+ <span class="summary_desc"><div class='inline'></div></span>
568
+
569
+ </li>
570
+
571
+
572
+ <li class="public ">
573
+ <span class="summary_signature">
574
+
575
+ <a href="#define_build_rpm-instance_method" title="#define_build_rpm (instance method)">- (Object) <strong>define_build_rpm</strong> </a>
576
+
577
+
578
+
579
+ </span>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+ <span class="summary_desc"><div class='inline'></div></span>
589
+
590
+ </li>
591
+
592
+
593
+ <li class="public ">
594
+ <span class="summary_signature">
595
+
596
+ <a href="#define_build_tarball-instance_method" title="#define_build_tarball (instance method)">- (Object) <strong>define_build_tarball</strong> </a>
597
+
598
+
599
+
600
+ </span>
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+ <span class="summary_desc"><div class='inline'></div></span>
610
+
611
+ </li>
612
+
613
+
614
+ <li class="public ">
615
+ <span class="summary_signature">
616
+
617
+ <a href="#fpm_config_files_args-instance_method" title="#fpm_config_files_args (instance method)">- (Object) <strong>fpm_config_files_args</strong> </a>
618
+
619
+
620
+
621
+ </span>
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+ <span class="summary_desc"><div class='inline'><p>
631
+ return an argument string for fpm with &#8217;--config-files&#8217;
632
+ prefixed to every file in the config_files array.
633
+ </p>
634
+ </div></span>
635
+
636
+ </li>
637
+
638
+
639
+ <li class="public ">
640
+ <span class="summary_signature">
641
+
642
+ <a href="#fpm_scripts_args-instance_method" title="#fpm_scripts_args (instance method)">- (Object) <strong>fpm_scripts_args</strong> </a>
643
+
644
+
645
+
646
+ </span>
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+ <span class="summary_desc"><div class='inline'><p>
656
+ returns an argument string for fpm with files from the scripts hash, eg:.
657
+ </p>
658
+ </div></span>
659
+
660
+ </li>
661
+
662
+
663
+ <li class="public ">
664
+ <span class="summary_signature">
665
+
666
+ <a href="#include_software-instance_method" title="#include_software (instance method)">- (Object) <strong>include_software</strong>(other_dependency) </a>
667
+
668
+
669
+
670
+ </span>
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+
679
+ <span class="summary_desc"><div class='inline'><p>
680
+ depend on a <span class='object_link'><a href="Software.html" title="Bunchr::Software (class)">Software</a></span> object to be built and installed.
681
+ </p>
682
+ </div></span>
683
+
684
+ </li>
685
+
686
+
687
+ <li class="public ">
688
+ <span class="summary_signature">
689
+
690
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Packages) <strong>initialize</strong> {|_self| ... }</a>
691
+
692
+
693
+
694
+ </span>
695
+
696
+ <span class="note title constructor">constructor</span>
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+ <span class="summary_desc"><div class='inline'><p>
706
+ A new instance of Packages.
707
+ </p>
708
+ </div></span>
709
+
710
+ </li>
711
+
712
+
713
+ </ul>
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Utils.html" title="Bunchr::Utils (module)">Utils</a></span></h3>
725
+ <p class="inherited"><span class='object_link'><a href="Utils.html#logger-instance_method" title="Bunchr::Utils#logger (method)">#logger</a></span>, <span class='object_link'><a href="Utils.html#ohai-instance_method" title="Bunchr::Utils#ohai (method)">#ohai</a></span>, <span class='object_link'><a href="Utils.html#sh-instance_method" title="Bunchr::Utils#sh (method)">#sh</a></span></p>
726
+
727
+ <div id="constructor_details" class="method_details_list">
728
+ <h2>Constructor Details</h2>
729
+
730
+ <div class="method_details first">
731
+ <p class="signature first" id="initialize-instance_method">
732
+
733
+ - (<tt><span class='object_link'><a href="" title="Bunchr::Packages (class)">Packages</a></span></tt>) <strong>initialize</strong> {|_self| ... }
734
+
735
+
736
+
737
+ </p><div class="docstring">
738
+ <div class="discussion">
739
+ <p>
740
+ A new instance of Packages
741
+ </p>
742
+
743
+
744
+ </div>
745
+ </div>
746
+ <div class="tags">
747
+
748
+ <h3>Yields:</h3>
749
+ <ul class="yield">
750
+
751
+ <li>
752
+
753
+
754
+ <span class='type'>(<tt>_self</tt>)</span>
755
+
756
+
757
+
758
+ </li>
759
+
760
+ </ul>
761
+ <h3>Yield Parameters:</h3>
762
+ <ul class="yieldparam">
763
+
764
+ <li>
765
+
766
+ <span class='name'>_self</span>
767
+
768
+
769
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Bunchr::Packages (class)">Bunchr::Packages</a></span></tt>)</span>
770
+
771
+
772
+
773
+ &mdash;
774
+ <div class='inline'><p>
775
+ the object that the method was called on
776
+ </p>
777
+ </div>
778
+
779
+ </li>
780
+
781
+ </ul>
782
+
783
+ </div><table class="source_code">
784
+ <tr>
785
+ <td>
786
+ <pre class="lines">
787
+
788
+
789
+ 23
790
+ 24
791
+ 25
792
+ 26
793
+ 27
794
+ 28
795
+ 29
796
+ 30
797
+ 31
798
+ 32
799
+ 33
800
+ 34
801
+ 35
802
+ 36
803
+ 37
804
+ 38</pre>
805
+ </td>
806
+ <td>
807
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 23</span>
808
+
809
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
810
+ <span class='ivar'>@name</span> <span class='op'>=</span> <span class='kw'>nil</span>
811
+ <span class='ivar'>@version</span> <span class='op'>=</span> <span class='kw'>nil</span>
812
+ <span class='ivar'>@iteration</span> <span class='op'>=</span> <span class='kw'>nil</span>
813
+ <span class='ivar'>@arch</span> <span class='op'>=</span> <span class='id identifier rubyid_ohai'>ohai</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>kernel</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>machine</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
814
+ <span class='ivar'>@license</span> <span class='op'>=</span> <span class='kw'>nil</span>
815
+ <span class='ivar'>@vendor</span> <span class='op'>=</span> <span class='kw'>nil</span>
816
+ <span class='ivar'>@category</span> <span class='op'>=</span> <span class='kw'>nil</span>
817
+ <span class='ivar'>@url</span> <span class='op'>=</span> <span class='kw'>nil</span>
818
+ <span class='ivar'>@description</span> <span class='op'>=</span> <span class='kw'>nil</span>
819
+ <span class='ivar'>@files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
820
+ <span class='ivar'>@config_files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
821
+ <span class='ivar'>@scripts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
822
+ <span class='kw'>yield</span> <span class='kw'>self</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
823
+ <span class='id identifier rubyid_define'>define</span> <span class='kw'>unless</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='id identifier rubyid_version'>version</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
824
+ <span class='kw'>end</span></pre>
825
+ </td>
826
+ </tr>
827
+ </table>
828
+ </div>
829
+
830
+ </div>
831
+
832
+ <div id="instance_attr_details" class="attr_details">
833
+ <h2>Instance Attribute Details</h2>
834
+
835
+
836
+ <span id="category=-instance_method"></span>
837
+ <span id="category-instance_method"></span>
838
+ <div class="method_details first">
839
+ <p class="signature first" id="category-instance_method">
840
+
841
+ - (<tt>Object</tt>) <strong>category</strong>
842
+
843
+
844
+
845
+ </p><div class="docstring">
846
+ <div class="discussion">
847
+ <p>
848
+ Returns the value of attribute category
849
+ </p>
850
+
851
+
852
+ </div>
853
+ </div>
854
+ <div class="tags">
855
+
856
+
857
+ </div><table class="source_code">
858
+ <tr>
859
+ <td>
860
+ <pre class="lines">
861
+
862
+
863
+ 19
864
+ 20
865
+ 21</pre>
866
+ </td>
867
+ <td>
868
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
869
+
870
+ <span class='kw'>def</span> <span class='id identifier rubyid_category'>category</span>
871
+ <span class='ivar'>@category</span>
872
+ <span class='kw'>end</span></pre>
873
+ </td>
874
+ </tr>
875
+ </table>
876
+ </div>
877
+
878
+
879
+ <span id="config_files=-instance_method"></span>
880
+ <span id="config_files-instance_method"></span>
881
+ <div class="method_details ">
882
+ <p class="signature " id="config_files-instance_method">
883
+
884
+ - (<tt>Object</tt>) <strong>config_files</strong>
885
+
886
+
887
+
888
+ </p><div class="docstring">
889
+ <div class="discussion">
890
+ <p>
891
+ Returns the value of attribute config_files
892
+ </p>
893
+
894
+
895
+ </div>
896
+ </div>
897
+ <div class="tags">
898
+
899
+
900
+ </div><table class="source_code">
901
+ <tr>
902
+ <td>
903
+ <pre class="lines">
904
+
905
+
906
+ 21
907
+ 22
908
+ 23</pre>
909
+ </td>
910
+ <td>
911
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 21</span>
912
+
913
+ <span class='kw'>def</span> <span class='id identifier rubyid_config_files'>config_files</span>
914
+ <span class='ivar'>@config_files</span>
915
+ <span class='kw'>end</span></pre>
916
+ </td>
917
+ </tr>
918
+ </table>
919
+ </div>
920
+
921
+
922
+ <span id="description=-instance_method"></span>
923
+ <span id="description-instance_method"></span>
924
+ <div class="method_details ">
925
+ <p class="signature " id="description-instance_method">
926
+
927
+ - (<tt>Object</tt>) <strong>description</strong>
928
+
929
+
930
+
931
+ </p><div class="docstring">
932
+ <div class="discussion">
933
+ <p>
934
+ Returns the value of attribute description
935
+ </p>
936
+
937
+
938
+ </div>
939
+ </div>
940
+ <div class="tags">
941
+
942
+
943
+ </div><table class="source_code">
944
+ <tr>
945
+ <td>
946
+ <pre class="lines">
947
+
948
+
949
+ 20
950
+ 21
951
+ 22</pre>
952
+ </td>
953
+ <td>
954
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 20</span>
955
+
956
+ <span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
957
+ <span class='ivar'>@description</span>
958
+ <span class='kw'>end</span></pre>
959
+ </td>
960
+ </tr>
961
+ </table>
962
+ </div>
963
+
964
+
965
+ <span id="files=-instance_method"></span>
966
+ <span id="files-instance_method"></span>
967
+ <div class="method_details ">
968
+ <p class="signature " id="files-instance_method">
969
+
970
+ - (<tt>Object</tt>) <strong>files</strong>
971
+
972
+
973
+
974
+ </p><div class="docstring">
975
+ <div class="discussion">
976
+ <p>
977
+ Returns the value of attribute files
978
+ </p>
979
+
980
+
981
+ </div>
982
+ </div>
983
+ <div class="tags">
984
+
985
+
986
+ </div><table class="source_code">
987
+ <tr>
988
+ <td>
989
+ <pre class="lines">
990
+
991
+
992
+ 21
993
+ 22
994
+ 23</pre>
995
+ </td>
996
+ <td>
997
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 21</span>
998
+
999
+ <span class='kw'>def</span> <span class='id identifier rubyid_files'>files</span>
1000
+ <span class='ivar'>@files</span>
1001
+ <span class='kw'>end</span></pre>
1002
+ </td>
1003
+ </tr>
1004
+ </table>
1005
+ </div>
1006
+
1007
+
1008
+ <span id="iteration=-instance_method"></span>
1009
+ <span id="iteration-instance_method"></span>
1010
+ <div class="method_details ">
1011
+ <p class="signature " id="iteration-instance_method">
1012
+
1013
+ - (<tt>Object</tt>) <strong>iteration</strong>
1014
+
1015
+
1016
+
1017
+ </p><div class="docstring">
1018
+ <div class="discussion">
1019
+ <p>
1020
+ Returns the value of attribute iteration
1021
+ </p>
1022
+
1023
+
1024
+ </div>
1025
+ </div>
1026
+ <div class="tags">
1027
+
1028
+
1029
+ </div><table class="source_code">
1030
+ <tr>
1031
+ <td>
1032
+ <pre class="lines">
1033
+
1034
+
1035
+ 19
1036
+ 20
1037
+ 21</pre>
1038
+ </td>
1039
+ <td>
1040
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1041
+
1042
+ <span class='kw'>def</span> <span class='id identifier rubyid_iteration'>iteration</span>
1043
+ <span class='ivar'>@iteration</span>
1044
+ <span class='kw'>end</span></pre>
1045
+ </td>
1046
+ </tr>
1047
+ </table>
1048
+ </div>
1049
+
1050
+
1051
+ <span id="license=-instance_method"></span>
1052
+ <span id="license-instance_method"></span>
1053
+ <div class="method_details ">
1054
+ <p class="signature " id="license-instance_method">
1055
+
1056
+ - (<tt>Object</tt>) <strong>license</strong>
1057
+
1058
+
1059
+
1060
+ </p><div class="docstring">
1061
+ <div class="discussion">
1062
+ <p>
1063
+ Returns the value of attribute license
1064
+ </p>
1065
+
1066
+
1067
+ </div>
1068
+ </div>
1069
+ <div class="tags">
1070
+
1071
+
1072
+ </div><table class="source_code">
1073
+ <tr>
1074
+ <td>
1075
+ <pre class="lines">
1076
+
1077
+
1078
+ 19
1079
+ 20
1080
+ 21</pre>
1081
+ </td>
1082
+ <td>
1083
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1084
+
1085
+ <span class='kw'>def</span> <span class='id identifier rubyid_license'>license</span>
1086
+ <span class='ivar'>@license</span>
1087
+ <span class='kw'>end</span></pre>
1088
+ </td>
1089
+ </tr>
1090
+ </table>
1091
+ </div>
1092
+
1093
+
1094
+ <span id="name=-instance_method"></span>
1095
+ <span id="name-instance_method"></span>
1096
+ <div class="method_details ">
1097
+ <p class="signature " id="name-instance_method">
1098
+
1099
+ - (<tt>Object</tt>) <strong>name</strong>
1100
+
1101
+
1102
+
1103
+ </p><div class="docstring">
1104
+ <div class="discussion">
1105
+ <p>
1106
+ Returns the value of attribute name
1107
+ </p>
1108
+
1109
+
1110
+ </div>
1111
+ </div>
1112
+ <div class="tags">
1113
+
1114
+
1115
+ </div><table class="source_code">
1116
+ <tr>
1117
+ <td>
1118
+ <pre class="lines">
1119
+
1120
+
1121
+ 19
1122
+ 20
1123
+ 21</pre>
1124
+ </td>
1125
+ <td>
1126
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1127
+
1128
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
1129
+ <span class='ivar'>@name</span>
1130
+ <span class='kw'>end</span></pre>
1131
+ </td>
1132
+ </tr>
1133
+ </table>
1134
+ </div>
1135
+
1136
+
1137
+ <span id="scripts=-instance_method"></span>
1138
+ <span id="scripts-instance_method"></span>
1139
+ <div class="method_details ">
1140
+ <p class="signature " id="scripts-instance_method">
1141
+
1142
+ - (<tt>Object</tt>) <strong>scripts</strong>
1143
+
1144
+
1145
+
1146
+ </p><div class="docstring">
1147
+ <div class="discussion">
1148
+ <p>
1149
+ Returns the value of attribute scripts
1150
+ </p>
1151
+
1152
+
1153
+ </div>
1154
+ </div>
1155
+ <div class="tags">
1156
+
1157
+
1158
+ </div><table class="source_code">
1159
+ <tr>
1160
+ <td>
1161
+ <pre class="lines">
1162
+
1163
+
1164
+ 21
1165
+ 22
1166
+ 23</pre>
1167
+ </td>
1168
+ <td>
1169
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 21</span>
1170
+
1171
+ <span class='kw'>def</span> <span class='id identifier rubyid_scripts'>scripts</span>
1172
+ <span class='ivar'>@scripts</span>
1173
+ <span class='kw'>end</span></pre>
1174
+ </td>
1175
+ </tr>
1176
+ </table>
1177
+ </div>
1178
+
1179
+
1180
+ <span id="url=-instance_method"></span>
1181
+ <span id="url-instance_method"></span>
1182
+ <div class="method_details ">
1183
+ <p class="signature " id="url-instance_method">
1184
+
1185
+ - (<tt>Object</tt>) <strong>url</strong>
1186
+
1187
+
1188
+
1189
+ </p><div class="docstring">
1190
+ <div class="discussion">
1191
+ <p>
1192
+ Returns the value of attribute url
1193
+ </p>
1194
+
1195
+
1196
+ </div>
1197
+ </div>
1198
+ <div class="tags">
1199
+
1200
+
1201
+ </div><table class="source_code">
1202
+ <tr>
1203
+ <td>
1204
+ <pre class="lines">
1205
+
1206
+
1207
+ 19
1208
+ 20
1209
+ 21</pre>
1210
+ </td>
1211
+ <td>
1212
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1213
+
1214
+ <span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
1215
+ <span class='ivar'>@url</span>
1216
+ <span class='kw'>end</span></pre>
1217
+ </td>
1218
+ </tr>
1219
+ </table>
1220
+ </div>
1221
+
1222
+
1223
+ <span id="vendor=-instance_method"></span>
1224
+ <span id="vendor-instance_method"></span>
1225
+ <div class="method_details ">
1226
+ <p class="signature " id="vendor-instance_method">
1227
+
1228
+ - (<tt>Object</tt>) <strong>vendor</strong>
1229
+
1230
+
1231
+
1232
+ </p><div class="docstring">
1233
+ <div class="discussion">
1234
+ <p>
1235
+ Returns the value of attribute vendor
1236
+ </p>
1237
+
1238
+
1239
+ </div>
1240
+ </div>
1241
+ <div class="tags">
1242
+
1243
+
1244
+ </div><table class="source_code">
1245
+ <tr>
1246
+ <td>
1247
+ <pre class="lines">
1248
+
1249
+
1250
+ 19
1251
+ 20
1252
+ 21</pre>
1253
+ </td>
1254
+ <td>
1255
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1256
+
1257
+ <span class='kw'>def</span> <span class='id identifier rubyid_vendor'>vendor</span>
1258
+ <span class='ivar'>@vendor</span>
1259
+ <span class='kw'>end</span></pre>
1260
+ </td>
1261
+ </tr>
1262
+ </table>
1263
+ </div>
1264
+
1265
+
1266
+ <span id="version=-instance_method"></span>
1267
+ <span id="version-instance_method"></span>
1268
+ <div class="method_details ">
1269
+ <p class="signature " id="version-instance_method">
1270
+
1271
+ - (<tt>Object</tt>) <strong>version</strong>
1272
+
1273
+
1274
+
1275
+ </p><div class="docstring">
1276
+ <div class="discussion">
1277
+ <p>
1278
+ Returns the value of attribute version
1279
+ </p>
1280
+
1281
+
1282
+ </div>
1283
+ </div>
1284
+ <div class="tags">
1285
+
1286
+
1287
+ </div><table class="source_code">
1288
+ <tr>
1289
+ <td>
1290
+ <pre class="lines">
1291
+
1292
+
1293
+ 19
1294
+ 20
1295
+ 21</pre>
1296
+ </td>
1297
+ <td>
1298
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 19</span>
1299
+
1300
+ <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
1301
+ <span class='ivar'>@version</span>
1302
+ <span class='kw'>end</span></pre>
1303
+ </td>
1304
+ </tr>
1305
+ </table>
1306
+ </div>
1307
+
1308
+ </div>
1309
+
1310
+
1311
+ <div id="instance_method_details" class="method_details_list">
1312
+ <h2>Instance Method Details</h2>
1313
+
1314
+
1315
+ <div class="method_details first">
1316
+ <p class="signature first" id="arch-instance_method">
1317
+
1318
+ - (<tt>Object</tt>) <strong>arch</strong>
1319
+
1320
+
1321
+
1322
+ </p><div class="docstring">
1323
+ <div class="discussion">
1324
+ <p>
1325
+ returns the current architecture. Convert some architectures for the
1326
+ underlying packaging systems, such as i686 to i386.
1327
+ </p>
1328
+
1329
+
1330
+ </div>
1331
+ </div>
1332
+ <div class="tags">
1333
+
1334
+
1335
+ </div><table class="source_code">
1336
+ <tr>
1337
+ <td>
1338
+ <pre class="lines">
1339
+
1340
+
1341
+ 43
1342
+ 44
1343
+ 45
1344
+ 46
1345
+ 47
1346
+ 48
1347
+ 49
1348
+ 50</pre>
1349
+ </td>
1350
+ <td>
1351
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 43</span>
1352
+
1353
+ <span class='kw'>def</span> <span class='id identifier rubyid_arch'>arch</span>
1354
+ <span class='kw'>case</span> <span class='ivar'>@arch</span>
1355
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i686</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i386</span><span class='tstring_end'>'</span></span>
1356
+ <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i386</span><span class='tstring_end'>'</span></span>
1357
+ <span class='kw'>else</span>
1358
+ <span class='ivar'>@arch</span>
1359
+ <span class='kw'>end</span>
1360
+ <span class='kw'>end</span></pre>
1361
+ </td>
1362
+ </tr>
1363
+ </table>
1364
+ </div>
1365
+
1366
+ <div class="method_details ">
1367
+ <p class="signature " id="arch=-instance_method">
1368
+
1369
+ - (<tt>Object</tt>) <strong>arch=</strong>(a)
1370
+
1371
+
1372
+
1373
+ </p><div class="docstring">
1374
+ <div class="discussion">
1375
+ <p>
1376
+ explicitly set @arch to `a`
1377
+ </p>
1378
+
1379
+
1380
+ </div>
1381
+ </div>
1382
+ <div class="tags">
1383
+
1384
+
1385
+ </div><table class="source_code">
1386
+ <tr>
1387
+ <td>
1388
+ <pre class="lines">
1389
+
1390
+
1391
+ 53
1392
+ 54
1393
+ 55</pre>
1394
+ </td>
1395
+ <td>
1396
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 53</span>
1397
+
1398
+ <span class='kw'>def</span> <span class='id identifier rubyid_arch='>arch=</span><span class='lparen'>(</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
1399
+ <span class='ivar'>@arch</span> <span class='op'>=</span> <span class='id identifier rubyid_a'>a</span>
1400
+ <span class='kw'>end</span></pre>
1401
+ </td>
1402
+ </tr>
1403
+ </table>
1404
+ </div>
1405
+
1406
+ <div class="method_details ">
1407
+ <p class="signature " id="define-instance_method">
1408
+
1409
+ - (<tt>Object</tt>) <strong>define</strong>
1410
+
1411
+
1412
+
1413
+ </p><table class="source_code">
1414
+ <tr>
1415
+ <td>
1416
+ <pre class="lines">
1417
+
1418
+
1419
+ 57
1420
+ 58
1421
+ 59
1422
+ 60
1423
+ 61
1424
+ 62
1425
+ 63
1426
+ 64
1427
+ 65
1428
+ 66
1429
+ 67
1430
+ 68
1431
+ 69
1432
+ 70
1433
+ 71
1434
+ 72
1435
+ 73
1436
+ 74
1437
+ 75</pre>
1438
+ </td>
1439
+ <td>
1440
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 57</span>
1441
+
1442
+ <span class='kw'>def</span> <span class='id identifier rubyid_define'>define</span>
1443
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Defining tasks for package:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1444
+
1445
+ <span class='id identifier rubyid_namespace'>namespace</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>packages</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
1446
+ <span class='id identifier rubyid_namespace'>namespace</span> <span class='id identifier rubyid_name'>name</span> <span class='kw'>do</span>
1447
+ <span class='id identifier rubyid_define_build_tarball'>define_build_tarball</span>
1448
+ <span class='id identifier rubyid_define_build_rpm'>define_build_rpm</span>
1449
+ <span class='id identifier rubyid_define_build_deb'>define_build_deb</span>
1450
+ <span class='comment'># TODO-future: build solaris pkgs, windows too?!
1451
+ </span>
1452
+ <span class='id identifier rubyid_define_build_all'>define_build_all</span>
1453
+
1454
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:done</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>:build</span><span class='tstring_end'>&quot;</span></span>
1455
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:default</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>:done</span><span class='tstring_end'>&quot;</span></span>
1456
+ <span class='kw'>end</span>
1457
+ <span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Create bunchr packages for </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1458
+ <span class='id identifier rubyid_task'>task</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>:default</span><span class='tstring_end'>&quot;</span></span>
1459
+ <span class='kw'>end</span>
1460
+ <span class='kw'>end</span></pre>
1461
+ </td>
1462
+ </tr>
1463
+ </table>
1464
+ </div>
1465
+
1466
+ <div class="method_details ">
1467
+ <p class="signature " id="define_build_all-instance_method">
1468
+
1469
+ - (<tt>Object</tt>) <strong>define_build_all</strong>
1470
+
1471
+
1472
+
1473
+ </p><table class="source_code">
1474
+ <tr>
1475
+ <td>
1476
+ <pre class="lines">
1477
+
1478
+
1479
+ 144
1480
+ 145
1481
+ 146
1482
+ 147</pre>
1483
+ </td>
1484
+ <td>
1485
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 144</span>
1486
+
1487
+ <span class='kw'>def</span> <span class='id identifier rubyid_define_build_all'>define_build_all</span>
1488
+ <span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Build all packages: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1489
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:build</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='symbol'>:build_tarball</span><span class='comma'>,</span> <span class='symbol'>:build_rpm</span><span class='comma'>,</span> <span class='symbol'>:build_deb</span><span class='rbracket'>]</span>
1490
+ <span class='kw'>end</span></pre>
1491
+ </td>
1492
+ </tr>
1493
+ </table>
1494
+ </div>
1495
+
1496
+ <div class="method_details ">
1497
+ <p class="signature " id="define_build_deb-instance_method">
1498
+
1499
+ - (<tt>Object</tt>) <strong>define_build_deb</strong>
1500
+
1501
+
1502
+
1503
+ </p><table class="source_code">
1504
+ <tr>
1505
+ <td>
1506
+ <pre class="lines">
1507
+
1508
+
1509
+ 117
1510
+ 118
1511
+ 119
1512
+ 120
1513
+ 121
1514
+ 122
1515
+ 123
1516
+ 124
1517
+ 125
1518
+ 126
1519
+ 127
1520
+ 128
1521
+ 129
1522
+ 130
1523
+ 131
1524
+ 132
1525
+ 133
1526
+ 134
1527
+ 135
1528
+ 136
1529
+ 137
1530
+ 138
1531
+ 139
1532
+ 140
1533
+ 141
1534
+ 142</pre>
1535
+ </td>
1536
+ <td>
1537
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 117</span>
1538
+
1539
+ <span class='kw'>def</span> <span class='id identifier rubyid_define_build_deb'>define_build_deb</span>
1540
+ <span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Build deb: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1541
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:build_deb</span> <span class='kw'>do</span>
1542
+
1543
+ <span class='kw'>if</span> <span class='const'>DEB_PLATFORMS</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_ohai'>ohai</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
1544
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Building DEB '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_content'>'</span><span class='tstring_end'>&quot;</span></span>
1545
+
1546
+ <span class='id identifier rubyid_sh'>sh</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>fpm -s dir -t deb -a </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_content'> -n </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'> -v </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'> \
1547
+ --iteration </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'> \
1548
+ --url '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_url'>url</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1549
+ --description '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_description'>description</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1550
+ --license '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_license'>license</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1551
+ --vendor '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_vendor'>vendor</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1552
+ --category '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_category'>category</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1553
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fpm_scripts_args'>fpm_scripts_args</span><span class='rbrace'>}</span><span class='tstring_content'> \
1554
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fpm_config_files_args'>fpm_config_files_args</span><span class='rbrace'>}</span><span class='tstring_content'> \
1555
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_config_files'>config_files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'> \
1556
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_files'>files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1557
+
1558
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>DEB built.</span><span class='tstring_end'>&quot;</span></span>
1559
+ <span class='kw'>else</span>
1560
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Not building DEB, platform [</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ohai'>ohai</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='rbrace'>}</span><span class='tstring_content'>] does not support it.</span><span class='tstring_end'>&quot;</span></span>
1561
+ <span class='kw'>end</span>
1562
+
1563
+ <span class='kw'>end</span>
1564
+ <span class='kw'>end</span></pre>
1565
+ </td>
1566
+ </tr>
1567
+ </table>
1568
+ </div>
1569
+
1570
+ <div class="method_details ">
1571
+ <p class="signature " id="define_build_rpm-instance_method">
1572
+
1573
+ - (<tt>Object</tt>) <strong>define_build_rpm</strong>
1574
+
1575
+
1576
+
1577
+ </p><table class="source_code">
1578
+ <tr>
1579
+ <td>
1580
+ <pre class="lines">
1581
+
1582
+
1583
+ 90
1584
+ 91
1585
+ 92
1586
+ 93
1587
+ 94
1588
+ 95
1589
+ 96
1590
+ 97
1591
+ 98
1592
+ 99
1593
+ 100
1594
+ 101
1595
+ 102
1596
+ 103
1597
+ 104
1598
+ 105
1599
+ 106
1600
+ 107
1601
+ 108
1602
+ 109
1603
+ 110
1604
+ 111
1605
+ 112
1606
+ 113
1607
+ 114
1608
+ 115</pre>
1609
+ </td>
1610
+ <td>
1611
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 90</span>
1612
+
1613
+ <span class='kw'>def</span> <span class='id identifier rubyid_define_build_rpm'>define_build_rpm</span>
1614
+ <span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Build RPM: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1615
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:build_rpm</span> <span class='kw'>do</span>
1616
+
1617
+ <span class='kw'>if</span> <span class='const'>RPM_PLATFORMS</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_ohai'>ohai</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
1618
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Building RPM '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_content'>'</span><span class='tstring_end'>&quot;</span></span>
1619
+
1620
+ <span class='id identifier rubyid_sh'>sh</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>fpm -s dir -t rpm -a </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_content'> -n </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'> -v </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'> \
1621
+ --iteration </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'> \
1622
+ --url '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_url'>url</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1623
+ --description '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_description'>description</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1624
+ --license '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_license'>license</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1625
+ --vendor '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_vendor'>vendor</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1626
+ --category '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_category'>category</span><span class='rbrace'>}</span><span class='tstring_content'>' \
1627
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fpm_scripts_args'>fpm_scripts_args</span><span class='rbrace'>}</span><span class='tstring_content'> \
1628
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fpm_config_files_args'>fpm_config_files_args</span><span class='rbrace'>}</span><span class='tstring_content'> \
1629
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_config_files'>config_files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'> \
1630
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_files'>files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1631
+
1632
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>RPM built.</span><span class='tstring_end'>&quot;</span></span>
1633
+ <span class='kw'>else</span>
1634
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Not building RPM, platform [</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ohai'>ohai</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='rbrace'>}</span><span class='tstring_content'>] does not support it.</span><span class='tstring_end'>&quot;</span></span>
1635
+ <span class='kw'>end</span>
1636
+
1637
+ <span class='kw'>end</span>
1638
+ <span class='kw'>end</span></pre>
1639
+ </td>
1640
+ </tr>
1641
+ </table>
1642
+ </div>
1643
+
1644
+ <div class="method_details ">
1645
+ <p class="signature " id="define_build_tarball-instance_method">
1646
+
1647
+ - (<tt>Object</tt>) <strong>define_build_tarball</strong>
1648
+
1649
+
1650
+
1651
+ </p><table class="source_code">
1652
+ <tr>
1653
+ <td>
1654
+ <pre class="lines">
1655
+
1656
+
1657
+ 77
1658
+ 78
1659
+ 79
1660
+ 80
1661
+ 81
1662
+ 82
1663
+ 83
1664
+ 84
1665
+ 85
1666
+ 86
1667
+ 87
1668
+ 88</pre>
1669
+ </td>
1670
+ <td>
1671
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 77</span>
1672
+
1673
+ <span class='kw'>def</span> <span class='id identifier rubyid_define_build_tarball'>define_build_tarball</span>
1674
+ <span class='id identifier rubyid_tarball_name'>tarball_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_iteration'>iteration</span><span class='rbrace'>}</span><span class='tstring_content'>-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arch'>arch</span><span class='rbrace'>}</span><span class='tstring_content'>.tar.gz</span><span class='tstring_end'>&quot;</span></span>
1675
+
1676
+ <span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Build tarball: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_tarball_name'>tarball_name</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1677
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:build_tarball</span> <span class='kw'>do</span>
1678
+
1679
+ <span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Building tarball '</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_tarball_name'>tarball_name</span><span class='rbrace'>}</span><span class='tstring_content'>'</span><span class='tstring_end'>&quot;</span></span>
1680
+
1681
+ <span class='id identifier rubyid_files_str'>files_str</span> <span class='op'>=</span> <span class='id identifier rubyid_files'>files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_config_files'>config_files</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
1682
+ <span class='id identifier rubyid_sh'>sh</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>tar czf </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_tarball_name'>tarball_name</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_files_str'>files_str</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
1683
+ <span class='kw'>end</span>
1684
+ <span class='kw'>end</span></pre>
1685
+ </td>
1686
+ </tr>
1687
+ </table>
1688
+ </div>
1689
+
1690
+ <div class="method_details ">
1691
+ <p class="signature " id="fpm_config_files_args-instance_method">
1692
+
1693
+ - (<tt>Object</tt>) <strong>fpm_config_files_args</strong>
1694
+
1695
+
1696
+
1697
+ </p><div class="docstring">
1698
+ <div class="discussion">
1699
+ <p>
1700
+ return an argument string for fpm with &#8217;--config-files&#8217;
1701
+ prefixed to every file in the config_files array.
1702
+ </p>
1703
+ <pre class="code ruby"><code>
1704
+ eg: '--config-files /etc/file1 --config-files /etc/file2'</code></pre>
1705
+
1706
+
1707
+ </div>
1708
+ </div>
1709
+ <div class="tags">
1710
+
1711
+
1712
+ </div><table class="source_code">
1713
+ <tr>
1714
+ <td>
1715
+ <pre class="lines">
1716
+
1717
+
1718
+ 161
1719
+ 162
1720
+ 163</pre>
1721
+ </td>
1722
+ <td>
1723
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 161</span>
1724
+
1725
+ <span class='kw'>def</span> <span class='id identifier rubyid_fpm_config_files_args'>fpm_config_files_args</span>
1726
+ <span class='id identifier rubyid_config_files'>config_files</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>--config-files </span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_f'>f</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
1727
+ <span class='kw'>end</span></pre>
1728
+ </td>
1729
+ </tr>
1730
+ </table>
1731
+ </div>
1732
+
1733
+ <div class="method_details ">
1734
+ <p class="signature " id="fpm_scripts_args-instance_method">
1735
+
1736
+ - (<tt>Object</tt>) <strong>fpm_scripts_args</strong>
1737
+
1738
+
1739
+
1740
+ </p><div class="docstring">
1741
+ <div class="discussion">
1742
+ <p>
1743
+ returns an argument string for fpm with files from the scripts hash, eg:
1744
+ </p>
1745
+ <pre class="code ruby"><code>
1746
+ <span class='id identifier rubyid_scripts'>scripts</span><span class='lbracket'>[</span><span class='symbol'>:after_install</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>file1</span><span class='tstring_end'>'</span></span>
1747
+ <span class='id identifier rubyid_scripts'>scripts</span><span class='lbracket'>[</span><span class='symbol'>:before_remove</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>file2</span><span class='tstring_end'>'</span></span>
1748
+ <span class='id identifier rubyid_fpm_scripts_args'>fpm_scripts_args</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='comment'># =&gt; '--after-install file1 --before-remove file2'</span></code></pre>
1749
+
1750
+
1751
+ </div>
1752
+ </div>
1753
+ <div class="tags">
1754
+
1755
+
1756
+ </div><table class="source_code">
1757
+ <tr>
1758
+ <td>
1759
+ <pre class="lines">
1760
+
1761
+
1762
+ 169
1763
+ 170
1764
+ 171
1765
+ 172
1766
+ 173</pre>
1767
+ </td>
1768
+ <td>
1769
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 169</span>
1770
+
1771
+ <span class='kw'>def</span> <span class='id identifier rubyid_fpm_scripts_args'>fpm_scripts_args</span>
1772
+ <span class='id identifier rubyid_scripts'>scripts</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
1773
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_v'>v</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span>
1774
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
1775
+ <span class='kw'>end</span></pre>
1776
+ </td>
1777
+ </tr>
1778
+ </table>
1779
+ </div>
1780
+
1781
+ <div class="method_details ">
1782
+ <p class="signature " id="include_software-instance_method">
1783
+
1784
+ - (<tt>Object</tt>) <strong>include_software</strong>(other_dependency)
1785
+
1786
+
1787
+
1788
+ </p><div class="docstring">
1789
+ <div class="discussion">
1790
+ <p>
1791
+ depend on a <span class='object_link'><a href="Software.html" title="Bunchr::Software (class)">Software</a></span> object to be built and installed
1792
+ </p>
1793
+
1794
+
1795
+ </div>
1796
+ </div>
1797
+ <div class="tags">
1798
+
1799
+
1800
+ </div><table class="source_code">
1801
+ <tr>
1802
+ <td>
1803
+ <pre class="lines">
1804
+
1805
+
1806
+ 150
1807
+ 151
1808
+ 152
1809
+ 153
1810
+ 154
1811
+ 155
1812
+ 156</pre>
1813
+ </td>
1814
+ <td>
1815
+ <pre class="code"><span class="info file"># File 'lib/bunchr/packages.rb', line 150</span>
1816
+
1817
+ <span class='kw'>def</span> <span class='id identifier rubyid_include_software'>include_software</span><span class='lparen'>(</span><span class='id identifier rubyid_other_dependency'>other_dependency</span><span class='rparen'>)</span>
1818
+ <span class='id identifier rubyid_namespace'>namespace</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>packages</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
1819
+ <span class='id identifier rubyid_namespace'>namespace</span> <span class='id identifier rubyid_name'>name</span> <span class='kw'>do</span>
1820
+ <span class='id identifier rubyid_task'>task</span> <span class='symbol'>:build</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>software:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_other_dependency'>other_dependency</span><span class='rbrace'>}</span><span class='tstring_content'>:done</span><span class='tstring_end'>&quot;</span></span>
1821
+ <span class='kw'>end</span>
1822
+ <span class='kw'>end</span>
1823
+ <span class='kw'>end</span></pre>
1824
+ </td>
1825
+ </tr>
1826
+ </table>
1827
+ </div>
1828
+
1829
+ </div>
1830
+
1831
+ </div>
1832
+
1833
+ <div id="footer">
1834
+ Generated on Wed Apr 18 17:18:48 2012 by
1835
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1836
+ 0.7.5 (ruby-1.9.2).
1837
+ </div>
1838
+
1839
+ </body>
1840
+ </html>