line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bundler::MultiGem; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
129207
|
use 5.006; |
|
4
|
|
|
|
|
26
|
|
4
|
4
|
|
|
4
|
|
25
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
90
|
|
5
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
151
|
|
6
|
4
|
|
|
4
|
|
1859
|
use App::Cmd::Setup -app; |
|
4
|
|
|
|
|
168123
|
|
|
4
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Bundler::MultiGem - bundle-multigem utility for gem versions benchmarking |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Version 0.02 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SYNOPSIS |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This package install a command line utility named C |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
$ bundle-multigem -h |
26
|
|
|
|
|
|
|
bundle-multigem [-?h] [long options...] |
27
|
|
|
|
|
|
|
-? -h --help show help |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Available commands: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
commands: list the application's commands |
32
|
|
|
|
|
|
|
help: display a command's help screen |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
initialize: Generate a configuration file (alias: init bootstrap b) |
35
|
|
|
|
|
|
|
setup: Create multiple gem versions out of a configuration file (alias: install i s) |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 opt_spec |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub opt_spec { |
44
|
0
|
|
|
0
|
1
|
|
my ( $class, $app ) = @_; |
45
|
|
|
|
|
|
|
return ( |
46
|
0
|
|
|
|
|
|
[ 'help' => "this usage screen" ], |
47
|
|
|
|
|
|
|
$class->options($app), |
48
|
|
|
|
|
|
|
) |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Mauro Berlanda, C<< >> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 BUGS |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Please report any bugs or feature requests to L, or through |
58
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
59
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SUPPORT |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
perldoc Bundler::MultiGem::Directories |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
You can also look for information at: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=over 2 |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * Github Repository |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
L |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=back |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Copyright 2018 Mauro Berlanda. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
91
|
|
|
|
|
|
|
under the terms of the the Artistic License (2.0). You may obtain a |
92
|
|
|
|
|
|
|
copy of the full license at: |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
L |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Any use, modification, and distribution of the Standard or Modified |
97
|
|
|
|
|
|
|
Versions is governed by this Artistic License. By using, modifying or |
98
|
|
|
|
|
|
|
distributing the Package, you accept this license. Do not use, modify, |
99
|
|
|
|
|
|
|
or distribute the Package, if you do not accept this license. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
If your Modified Version has been derived from a Modified Version made |
102
|
|
|
|
|
|
|
by someone other than you, you are nevertheless required to ensure that |
103
|
|
|
|
|
|
|
your Modified Version complies with the requirements of this license. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
This license does not grant you the right to use any trademark, service |
106
|
|
|
|
|
|
|
mark, tradename, or logo of the Copyright Holder. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
This license includes the non-exclusive, worldwide, free-of-charge |
109
|
|
|
|
|
|
|
patent license to make, have made, use, offer to sell, sell, import and |
110
|
|
|
|
|
|
|
otherwise transfer the Package with respect to any patent claims |
111
|
|
|
|
|
|
|
licensable by the Copyright Holder that are necessarily infringed by the |
112
|
|
|
|
|
|
|
Package. If you institute patent litigation (including a cross-claim or |
113
|
|
|
|
|
|
|
counterclaim) against any party alleging that the Package constitutes |
114
|
|
|
|
|
|
|
direct or contributory patent infringement, then this Artistic License |
115
|
|
|
|
|
|
|
to you shall terminate on the date that such litigation is filed. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER |
118
|
|
|
|
|
|
|
AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. |
119
|
|
|
|
|
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
120
|
|
|
|
|
|
|
PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY |
121
|
|
|
|
|
|
|
YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR |
122
|
|
|
|
|
|
|
CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR |
123
|
|
|
|
|
|
|
CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, |
124
|
|
|
|
|
|
|
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
1; |