Navigation Menu

Skip to content

Commit

Permalink
Released version 0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Aug 30, 2012
1 parent 1daa58d commit ca03e28
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 28 deletions.
5 changes: 5 additions & 0 deletions Changes
@@ -1,4 +1,9 @@
---
version: 0.27
date: Thu Aug 30 00:07:58 PDT 2012
changes:
- Use new Pegex version
---
version: 0.26
date: Mon Nov 7 20:27:00 PST 2011
changes:
Expand Down
6 changes: 3 additions & 3 deletions lib/TestML.pm
Expand Up @@ -6,7 +6,7 @@
# copyright: 2009, 2010, 2011, 2012
# see:
# - http://www.testml.org/
# - irc://irc.freenode.net#testml
# - irc://irc.freenode.net#testml

use 5.006001;
use strict;
Expand All @@ -20,7 +20,7 @@ package TestML;

use TestML::Runtime;

our $VERSION = '0.26';
our $VERSION = '0.27';

use constant XXX_skip => 1;
our $DumpModule = 'YAML::XS';
Expand Down Expand Up @@ -79,7 +79,7 @@ sub import {
Test::More::plan(
skip_all => "$module failed to load"
);
}
}
}
else {
die "Unknown option '$option'";
Expand Down
2 changes: 1 addition & 1 deletion lib/TestML/AST.pm
Expand Up @@ -40,7 +40,7 @@ sub got_code_statement {
my ($expression, $assertion);
my $points = $self->points;
$self->points([]);

for (@$list) {
if (ref eq 'TestML::Expression') {
$expression = $_;
Expand Down
2 changes: 1 addition & 1 deletion lib/TestML/Mo.pm
Expand Up @@ -3,7 +3,7 @@
# abstract: Mo Base Class for TestML
# author: Ingy döt Net <ingy@cpan.org>
# license: perl
# copyright: 2010, 2011
# copyright: 2010, 2011, 2012

package TestML::Mo;
# use Mo qw'build default builder xxx import';
Expand Down
32 changes: 9 additions & 23 deletions lib/TestML/Setup.pm
@@ -1,3 +1,10 @@
##
# name: TestML::Setup
# author: Ingy döt Net <ingy@cpan.org>
# abstract: Generate Test Files for a TestML Suite
# license: perl
# copyright: 2010-2012

package TestML::Setup;
use strict;
use warnings;
Expand Down Expand Up @@ -30,7 +37,7 @@ sub testml_setup {

my $src = "$base/$conf->{testml}/$testml_file";
my $dest = "$base/$conf->{local}/$testml_file";

if (@{$conf->{include}}) {
next unless grep {$name eq $_} @{$conf->{include}};
}
Expand Down Expand Up @@ -66,7 +73,7 @@ sub init {
die "Missing or invalid 'local' directory in $config_file"
unless $conf->{local} and -d "$base/$conf->{local}";
$conf->{testname} ||= '$name.t';

if ($conf->{template}) {
$template = io("$base/$conf->{template}")->all;
}
Expand Down Expand Up @@ -109,12 +116,6 @@ TestML::Runner::TAP.new(

1;

=encoding utf-8
=head1 NAME
TestML::Setup - Generate Test Files for a TestML Suite

=head1 SYNOPSIS
perl -MTestML::Setup -e setup testml.yaml
Expand All @@ -127,18 +128,3 @@ and runs it.

This module does that for you. By providing a small YAML file, this
module will generate all your testml runtime programs for you.

=head1 AUTHOR
Ingy döt Net <ingy@cpan.org>

=head1 COPYRIGHT
Copyright (c) 2010. Ingy döt Net.

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

See http://www.perl.com/perl/misc/Artistic.html

=cut

0 comments on commit ca03e28

Please sign in to comment.