This file is indexed.

/usr/share/perl5/Dist/Zilla/Plugin/BumpVersion.pm is in libdist-zilla-perl 5.043-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package Dist::Zilla::Plugin::BumpVersion;
# ABSTRACT: (DEPRECATED) bump the version number by one before building
$Dist::Zilla::Plugin::BumpVersion::VERSION = '5.043';
use Moose;
with 'Dist::Zilla::Role::BeforeBuild';

use namespace::autoclean;

#pod =head1 SYNOPSIS
#pod
#pod B<WARNING>  This plugin is deprecated and will be removed.  It is generally
#pod useless.  It does not do what you think it does.
#pod
#pod If loaded, this plugin will ensure that the distribution's version number is
#pod bumped up by one (in the smallest already-defined version units) before
#pod building begins.  In other words, if F<dist.ini>'s version reads C<0.002> then
#pod the newly built dist will be C<0.003>.
#pod
#pod =cut

sub before_build {
  my ($self) = @_;

  require Perl::Version;

  my $version = Perl::Version->new( $self->zilla->version );

  my ($r, $v, $s, $a) = map { scalar $version->$_ }
                        qw(revision version subversion alpha);

  my $method = $a > 0     ? 'inc_alpha'
             : defined $s ? 'inc_subversion'
             : defined $v ? 'inc_version'
             :              'inc_revision';

  $version->$method;

  $self->zilla->version("$version");
}

before register_component => sub {
  die "Dist::Zilla::Plugin::BumpVersion is incompatible with Dist::Zilla >=
  v5\n"
    if Dist::Zilla->VERSION >= 5;

  warn "!!! $_[0] will be removed in Dist::Zilla v5; remove it from your config\n";
};

__PACKAGE__->meta->make_immutable;
1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Dist::Zilla::Plugin::BumpVersion - (DEPRECATED) bump the version number by one before building

=head1 VERSION

version 5.043

=head1 SYNOPSIS

B<WARNING>  This plugin is deprecated and will be removed.  It is generally
useless.  It does not do what you think it does.

If loaded, this plugin will ensure that the distribution's version number is
bumped up by one (in the smallest already-defined version units) before
building begins.  In other words, if F<dist.ini>'s version reads C<0.002> then
the newly built dist will be C<0.003>.

=head1 AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut