Skip to content

Commit 370d081

Browse files
committed
updates for dev release 1.221_01
1 parent 9d6babd commit 370d081

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+109
-98
lines changed

Changes

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@ Revision history for Perl extension PPI
22

33
1.221_01
44
Summary:
5-
- remove unused PPI::Document->new timeout feature.
5+
- unit tests for many parts, both passing and TODO
6+
- many documentation fixes
7+
- remove unused PPI::Document->new timeout feature
8+
- removal of Test::NoWarnings
9+
- less uses of List::MoreUtils in favor of List::Util
610

711
Details:
812
- Remove undocumented, non-working 'timeout' attribute to
913
Document->new, including HAVE_ALARM and
1014
PPI::Exception::ParserTimeout. (GitHub #140) (MOREGAN)
11-
- Unit tests for PPI::Token::Symbol (GitHub #148) (MOREGAN)
15+
- first cut of a travis configuration
16+
- do hex number matching with [[:xdigit:]]
17+
- some readability improvements on the code of HereDoc.pm
1218

1319
1.220 Tue 11 Nov 2014
1420
Summary:

lib/PPI.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use strict;
88
# Set the version for CPAN
99
use vars qw{$VERSION $XS_COMPATIBLE @XS_EXCLUDE};
1010
BEGIN {
11-
$VERSION = '1.220';
11+
$VERSION = '1.221_01';
1212
$XS_COMPATIBLE = '0.845';
1313
@XS_EXCLUDE = ();
1414
}

lib/PPI/Cache.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use PPI::Document ();
5656

5757
use vars qw{$VERSION};
5858
BEGIN {
59-
$VERSION = '1.220';
59+
$VERSION = '1.221_01';
6060
}
6161

6262
use constant VMS => !! ( $^O eq 'VMS' );

lib/PPI/Document.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ use overload '""' => 'content';
7777

7878
use vars qw{$VERSION @ISA $errstr};
7979
BEGIN {
80-
$VERSION = '1.220';
80+
$VERSION = '1.221_01';
8181
@ISA = 'PPI::Node';
8282
$errstr = '';
8383
}

lib/PPI/Document/File.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use PPI::Document ();
2424

2525
use vars qw{$VERSION @ISA};
2626
BEGIN {
27-
$VERSION = '1.220';
27+
$VERSION = '1.221_01';
2828
@ISA = 'PPI::Document';
2929
}
3030

lib/PPI/Document/Fragment.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use PPI::Document ();
2323

2424
use vars qw{$VERSION @ISA};
2525
BEGIN {
26-
$VERSION = '1.220';
26+
$VERSION = '1.221_01';
2727
@ISA = 'PPI::Document';
2828
}
2929

lib/PPI/Document/Normalized.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use PPI::Util ();
4747

4848
use vars qw{$VERSION};
4949
BEGIN {
50-
$VERSION = '1.220';
50+
$VERSION = '1.221_01';
5151
}
5252

5353
use overload 'bool' => \&PPI::Util::TRUE;

lib/PPI/Dumper.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use Params::Util qw{_INSTANCE};
3737

3838
use vars qw{$VERSION};
3939
BEGIN {
40-
$VERSION = '1.220';
40+
$VERSION = '1.221_01';
4141
}
4242

4343

lib/PPI/Element.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use PPI::Node ();
3131

3232
use vars qw{$VERSION $errstr %_PARENT};
3333
BEGIN {
34-
$VERSION = '1.220';
34+
$VERSION = '1.221_01';
3535
$errstr = '';
3636

3737
# Master Child -> Parent index

lib/PPI/Exception.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use Params::Util qw{_INSTANCE};
2626

2727
use vars qw{$VERSION};
2828
BEGIN {
29-
$VERSION = '1.220';
29+
$VERSION = '1.221_01';
3030
}
3131

3232

lib/PPI/Exception/ParserRejection.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use PPI::Exception ();
55

66
use vars qw{$VERSION @ISA};
77
BEGIN {
8-
$VERSION = '1.220';
8+
$VERSION = '1.221_01';
99
@ISA = 'PPI::Exception';
1010
}
1111

lib/PPI/Find.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ use Params::Util qw{_INSTANCE};
7676

7777
use vars qw{$VERSION};
7878
BEGIN {
79-
$VERSION = '1.220';
79+
$VERSION = '1.221_01';
8080
}
8181

8282

lib/PPI/Lexer.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ use PPI::Exception ();
6262

6363
use vars qw{$VERSION $errstr *_PARENT %ROUND %RESOLVE};
6464
BEGIN {
65-
$VERSION = '1.220';
65+
$VERSION = '1.221_01';
6666
$errstr = '';
6767

6868
# Faster than having another method call just

lib/PPI/Node.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use PPI::Element ();
5757

5858
use vars qw{$VERSION @ISA *_PARENT};
5959
BEGIN {
60-
$VERSION = '1.220';
60+
$VERSION = '1.221_01';
6161
@ISA = 'PPI::Element';
6262
*_PARENT = *PPI::Element::_PARENT;
6363
}

lib/PPI/Normal.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use PPI::Document::Normalized ();
4242

4343
use vars qw{$VERSION %LAYER};
4444
BEGIN {
45-
$VERSION = '1.220';
45+
$VERSION = '1.221_01';
4646

4747
# Registered function store
4848
%LAYER = (

lib/PPI/Normal/Standard.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use strict;
2020

2121
use vars qw{$VERSION};
2222
BEGIN {
23-
$VERSION = '1.220';
23+
$VERSION = '1.221_01';
2424
}
2525

2626

lib/PPI/Statement.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ use PPI::Exception ();
154154

155155
use vars qw{$VERSION @ISA *_PARENT};
156156
BEGIN {
157-
$VERSION = '1.220';
157+
$VERSION = '1.221_01';
158158
@ISA = 'PPI::Node';
159159
*_PARENT = *PPI::Element::_PARENT;
160160
}

lib/PPI/Statement/Break.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use PPI::Statement ();
4242

4343
use vars qw{$VERSION @ISA};
4444
BEGIN {
45-
$VERSION = '1.220';
45+
$VERSION = '1.221_01';
4646
@ISA = 'PPI::Statement';
4747
}
4848

lib/PPI/Statement/Compound.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ use PPI::Statement ();
5555

5656
use vars qw{$VERSION @ISA %TYPES};
5757
BEGIN {
58-
$VERSION = '1.220';
58+
$VERSION = '1.221_01';
5959
@ISA = 'PPI::Statement';
6060

6161
# Keyword type map

lib/PPI/Statement/Data.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use PPI::Statement ();
4545

4646
use vars qw{$VERSION @ISA};
4747
BEGIN {
48-
$VERSION = '1.220';
48+
$VERSION = '1.221_01';
4949
@ISA = 'PPI::Statement';
5050
}
5151

lib/PPI/Statement/End.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use PPI::Statement ();
4949

5050
use vars qw{$VERSION @ISA};
5151
BEGIN {
52-
$VERSION = '1.220';
52+
$VERSION = '1.221_01';
5353
@ISA = 'PPI::Statement';
5454
}
5555

lib/PPI/Statement/Expression.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use PPI::Statement ();
4040

4141
use vars qw{$VERSION @ISA};
4242
BEGIN {
43-
$VERSION = '1.220';
43+
$VERSION = '1.221_01';
4444
@ISA = 'PPI::Statement';
4545
}
4646

lib/PPI/Statement/Given.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use PPI::Statement ();
3636

3737
use vars qw{$VERSION @ISA};
3838
BEGIN {
39-
$VERSION = '1.220';
39+
$VERSION = '1.221_01';
4040
@ISA = 'PPI::Statement';
4141
}
4242

lib/PPI/Statement/Include.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use PPI::Statement::Include::Perl6 ();
5050

5151
use vars qw{$VERSION @ISA};
5252
BEGIN {
53-
$VERSION = '1.220';
53+
$VERSION = '1.221_01';
5454
@ISA = 'PPI::Statement';
5555
}
5656

lib/PPI/Statement/Include/Perl6.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use PPI::Statement::Include ();
4343

4444
use vars qw{$VERSION @ISA};
4545
BEGIN {
46-
$VERSION = '1.220';
46+
$VERSION = '1.221_01';
4747
@ISA = 'PPI::Statement::Include';
4848
}
4949

lib/PPI/Statement/Null.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use PPI::Statement ();
4545

4646
use vars qw{$VERSION @ISA};
4747
BEGIN {
48-
$VERSION = '1.220';
48+
$VERSION = '1.221_01';
4949
@ISA = 'PPI::Statement';
5050
}
5151

lib/PPI/Statement/Package.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use PPI::Statement ();
4343

4444
use vars qw{$VERSION @ISA};
4545
BEGIN {
46-
$VERSION = '1.220';
46+
$VERSION = '1.221_01';
4747
@ISA = 'PPI::Statement';
4848
}
4949

lib/PPI/Statement/Scheduled.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ use PPI::Statement::Sub ();
5858

5959
use vars qw{$VERSION @ISA};
6060
BEGIN {
61-
$VERSION = '1.220';
61+
$VERSION = '1.221_01';
6262
@ISA = 'PPI::Statement::Sub';
6363
}
6464

lib/PPI/Statement/Sub.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use PPI::Statement ();
3737

3838
use vars qw{$VERSION @ISA};
3939
BEGIN {
40-
$VERSION = '1.220';
40+
$VERSION = '1.221_01';
4141
@ISA = 'PPI::Statement';
4242
}
4343

lib/PPI/Statement/Unknown.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use PPI::Statement ();
3737

3838
use vars qw{$VERSION @ISA};
3939
BEGIN {
40-
$VERSION = '1.220';
40+
$VERSION = '1.221_01';
4141
@ISA = 'PPI::Statement';
4242
}
4343

lib/PPI/Statement/UnmatchedBrace.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use PPI::Statement ();
4949

5050
use vars qw{$VERSION @ISA};
5151
BEGIN {
52-
$VERSION = '1.220';
52+
$VERSION = '1.221_01';
5353
@ISA = 'PPI::Statement';
5454
}
5555

lib/PPI/Statement/Variable.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use PPI::Statement::Expression ();
4444

4545
use vars qw{$VERSION @ISA};
4646
BEGIN {
47-
$VERSION = '1.220';
47+
$VERSION = '1.221_01';
4848
@ISA = 'PPI::Statement::Expression';
4949
}
5050

lib/PPI/Statement/When.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use PPI::Statement ();
4444

4545
use vars qw{$VERSION @ISA};
4646
BEGIN {
47-
$VERSION = '1.220';
47+
$VERSION = '1.221_01';
4848
@ISA = 'PPI::Statement';
4949
}
5050

lib/PPI/Structure.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ use PPI::Exception ();
9696

9797
use vars qw{$VERSION @ISA *_PARENT};
9898
BEGIN {
99-
$VERSION = '1.220';
99+
$VERSION = '1.221_01';
100100
@ISA = 'PPI::Node';
101101
*_PARENT = *PPI::Element::_PARENT;
102102
}

lib/PPI/Structure/Block.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use PPI::Structure ();
4545

4646
use vars qw{$VERSION @ISA};
4747
BEGIN {
48-
$VERSION = '1.220';
48+
$VERSION = '1.221_01';
4949
@ISA = 'PPI::Structure';
5050
}
5151

lib/PPI/Structure/Condition.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use PPI::Structure ();
4040

4141
use vars qw{$VERSION @ISA};
4242
BEGIN {
43-
$VERSION = '1.220';
43+
$VERSION = '1.221_01';
4444
@ISA = 'PPI::Structure';
4545
}
4646

lib/PPI/Structure/Constructor.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use PPI::Structure ();
3535

3636
use vars qw{$VERSION @ISA};
3737
BEGIN {
38-
$VERSION = '1.220';
38+
$VERSION = '1.221_01';
3939
@ISA = 'PPI::Structure';
4040
}
4141

lib/PPI/Structure/For.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use PPI::Structure ();
3636

3737
use vars qw{$VERSION @ISA};
3838
BEGIN {
39-
$VERSION = '1.220';
39+
$VERSION = '1.221_01';
4040
@ISA = 'PPI::Structure';
4141
}
4242

lib/PPI/Structure/Given.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use PPI::Structure ();
3636

3737
use vars qw{$VERSION @ISA};
3838
BEGIN {
39-
$VERSION = '1.220';
39+
$VERSION = '1.221_01';
4040
@ISA = 'PPI::Structure';
4141
}
4242

lib/PPI/Structure/List.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use PPI::Structure ();
3939

4040
use vars qw{$VERSION @ISA};
4141
BEGIN {
42-
$VERSION = '1.220';
42+
$VERSION = '1.221_01';
4343
@ISA = 'PPI::Structure';
4444
}
4545

lib/PPI/Structure/Subscript.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use PPI::Structure ();
4141

4242
use vars qw{$VERSION @ISA};
4343
BEGIN {
44-
$VERSION = '1.220';
44+
$VERSION = '1.221_01';
4545
@ISA = 'PPI::Structure';
4646
}
4747

lib/PPI/Structure/Unknown.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use PPI::Structure ();
4242

4343
use vars qw{$VERSION @ISA};
4444
BEGIN {
45-
$VERSION = '1.220';
45+
$VERSION = '1.221_01';
4646
@ISA = 'PPI::Structure';
4747
}
4848

lib/PPI/Structure/When.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use PPI::Structure ();
3636

3737
use vars qw{$VERSION @ISA};
3838
BEGIN {
39-
$VERSION = '1.220';
39+
$VERSION = '1.221_01';
4040
@ISA = 'PPI::Structure';
4141
}
4242

0 commit comments

Comments
 (0)