@@ -1,32 +1,40 @@
Changes for Excel::Template::Plus
+0.05 Mon. Feb 22, 2010
+ - updates copyright on all files
+
+ * Test::Excel::Template::Plus
+ - Fixing some test failures because of an
+ internals change in Spreadsheet::ParseExcel
+ - thanks to Chris Travers
+
0.04 Mon. Dec. 31, 2007
* Excel::Template::Plus
- added example template to the docs
thanks to Peter Karman for this.
-
+
* Excel::Template::Plus::TT
- removed the 'use FindBin' at the top
which was doing nothing at all
0.03 Tues, July 3, 2007
* Excel::Template::Plus::TT
- - added template_class to allow for using
+ - added template_class to allow for using
subclasses of Template
- - removed File::Tempfile and File::Slurp dependency
+ - removed File::Tempfile and File::Slurp dependency
in favor of using IO::String instead
0.02 Tues, March 13, 2007
* Excel::Template::Plus
- - Now uses the Class::MOP::load_class
- method (bumped up the Moose dependency
+ - Now uses the Class::MOP::load_class
+ method (bumped up the Moose dependency
to make sure all is aligned)
* Excel::Template::Plus::TT
- - removed param method and added the
- MooseX::Param role instead
+ - removed param method and added the
+ MooseX::Param role instead
0.01 Friday, March 2, 2007
- initial module release
- - adapted from several in-house add-ons to
+ - adapted from several in-house add-ons to
Excel::Template and Excel::Template::TT
\ No newline at end of file
@@ -1,12 +1,17 @@
---
name: Excel-Template-Plus
-version: 0.04
+version: 0.05
author:
- 'Stevan Little E<lt>stevan@iinteractive.comE<gt>'
abstract: An extension to the Excel::Template module
license: perl
resources:
license: http://dev.perl.org/licenses/
+build_requires:
+ File::Spec: 0
+ FindBin: 0
+ Test::Exception: 0.21
+ Test::More: 0.47
requires:
Excel::Template: 0
IO::String: 0
@@ -15,22 +20,19 @@ requires:
Spreadsheet::ParseExcel: 0
Template: 0
Test::Deep: 0
-build_requires:
- File::Spec: 0
- FindBin: 0
- Test::Exception: 0.21
- Test::More: 0.47
+configure_requires:
+ Module::Build: 0.35
provides:
Excel::Template::Plus:
file: lib/Excel/Template/Plus.pm
- version: 0.04
+ version: 0.05
Excel::Template::Plus::TT:
file: lib/Excel/Template/Plus/TT.pm
- version: 0.04
+ version: 0.05
Test::Excel::Template::Plus:
file: lib/Test/Excel/Template/Plus.pm
- version: 0.01
-generated_by: Module::Build version 0.2808
+ version: 0.02
+generated_by: Module::Build version 0.35
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.35
use ExtUtils::MakeMaker;
WriteMakefile
(
@@ -19,6 +19,7 @@ WriteMakefile
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
- 'PL_FILES' => {}
+ 'PL_FILES' => {},
+ 'TESTS' => 't/*.t t/templates/*.t t/xls/*.t'
)
;
@@ -15,12 +15,12 @@ To install this module type the following:
DEPENDENCIES
This module requires these other modules and libraries:
-
+
Excel::Template
- Template
+ Template
IO::String
- Moose
- MooseX::Param
+ Moose
+ MooseX::Param
The Test::Excel::Template::Plus module also requires:
@@ -36,10 +36,10 @@ And requires these modules for testing:
COPYRIGHT AND LICENCE
-Copyright (C) 2007 Infinity Interactive, Inc.
+Copyright (C) 2007-2010 Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+it under the same terms as Perl itself.
@@ -8,7 +8,7 @@ use IO::String ();
use Excel::Template;
-our $VERSION = '0.04';
+our $VERSION = '0.05';
our $AUTHORITY = 'cpan:STEVAN';
with 'MooseX::Param';
@@ -203,7 +203,7 @@ Stevan Little E<lt>stevan@iinteractive.comE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2007 by Infinity Interactive, Inc.
+Copyright 2007-2010 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>
@@ -2,7 +2,7 @@
package Excel::Template::Plus;
use Moose;
-our $VERSION = '0.04';
+our $VERSION = '0.05';
our $AUTHORITY = 'cpan:STEVAN';
sub new {
@@ -160,7 +160,7 @@ Stevan Little E<lt>stevan@iinteractive.comE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2007 by Infinity Interactive, Inc.
+Copyright 2007-2010 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>
@@ -9,7 +9,7 @@ use Test::Builder ();
use Spreadsheet::ParseExcel;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
our $AUTHORITY = 'cpan:STEVAN';
require Exporter;
@@ -21,26 +21,26 @@ my $Test = Test::Builder->new;
sub cmp_excel_files ($$;$) {
my ($file1, $file2, $msg) = @_;
-
+
my $excel1 = Spreadsheet::ParseExcel::Workbook->Parse($file1);
my $excel2 = Spreadsheet::ParseExcel::Workbook->Parse($file2);
## NOTE:
- ## Clean out some data bits that
- ## dont seem to actually matter.
+ ## Clean out some data bits that
+ ## dont seem to actually matter.
## This is not perfect, so there
- ## might be others when comparing
- ## other xls files. This works for
+ ## might be others when comparing
+ ## other xls files. This works for
## me now though.
- foreach (qw/File Font/) {
+ foreach (qw/File Font Format _Pos/) {
$excel1->{$_} = undef;
$excel2->{$_} = undef;
}
my $worksheet_count_1 = scalar @{$excel1->{Worksheet}};
- my $worksheet_count_2 = scalar @{$excel2->{Worksheet}};
-
+ my $worksheet_count_2 = scalar @{$excel2->{Worksheet}};
+
if ($worksheet_count_1 != $worksheet_count_2) {
$Test->ok(0, $msg);
return;
@@ -57,7 +57,7 @@ sub cmp_excel_files ($$;$) {
$Test->ok(1, $msg);
}
else {
- $Test->ok(0, $msg);
+ $Test->ok(0, $msg);
}
}
@@ -68,7 +68,7 @@ __END__
=pod
-=head1 NAME
+=head1 NAME
Test::Excel::Template::Plus - Testing module for use with Excel::Template::Plus
@@ -76,7 +76,7 @@ Test::Excel::Template::Plus - Testing module for use with Excel::Template::Plus
use Test::More tests => 1;
use Test::Excel::Template::Plus;
-
+
my $template = Excel::Template::Plus->new(
engine => 'TT',
template => 'test.tmpl',
@@ -84,28 +84,28 @@ Test::Excel::Template::Plus - Testing module for use with Excel::Template::Plus
params => { ... }
);
$template->write_file('test.xls');
-
- # compare the file we just made with
+
+ # compare the file we just made with
# an existing example file ...
cmp_excel_files("test.xls", "t/xls/test.xls", '... the excel files matched');
=head1 DISCLAIMER
-This module is woefully incomplete. It works for my B<very> basic purposes right
-now, but it is surely going to need B<lots> or work in the future to make it
-really usable.
+This module is woefully incomplete. It works for my B<very> basic purposes right
+now, but it is surely going to need B<lots> or work in the future to make it
+really usable.
=head1 DESCRIPTION
-This module attempts to provide a means of testing and comparing dynamically
-generated excel files. Currently it only supports comparing two excel files
+This module attempts to provide a means of testing and comparing dynamically
+generated excel files. Currently it only supports comparing two excel files
for some approximation of strutural (values within cells) and visual (formatting
-of said cells) equivalence.
+of said cells) equivalence.
-As a by product of the implementation, elements may get compared which don't
+As a by product of the implementation, elements may get compared which don't
really need comparing, and things which do need comparing may be skipped. This
-will get refined as time goes by and the module is used in more heavyweight
-situations.
+will get refined as time goes by and the module is used in more heavyweight
+situations.
=head1 FUNCTIONS
@@ -117,7 +117,7 @@ situations.
=head1 BUGS
-All complex software has bugs lurking in it, and this module is no
+All complex software has bugs lurking in it, and this module is no
exception. If you find a bug please either email me, or add the bug
to cpan-RT.
@@ -127,11 +127,11 @@ Stevan Little E<lt>stevan@iinteractive.comE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2007 by Infinity Interactive, Inc.
+Copyright 2007-2010 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+it under the same terms as Perl itself.
=cut
\ No newline at end of file