Skip to content

Commit

Permalink
move to M::B directly, bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Feb 6, 2013
1 parent e93e4bf commit fc7ae49
Show file tree
Hide file tree
Showing 9 changed files with 163 additions and 48 deletions.
31 changes: 31 additions & 0 deletions Build.PL
@@ -0,0 +1,31 @@
use strict;
use warnings;

use Module::Build 0.3601;

my $builder = Module::Build->new(
module_name => 'Tie::Array::CSV',
dist_author => 'Joel Berger',
license => 'perl',
requires => {
'perl' => 5.006001,
'Tie::File' => 0,
'Text::CSV' => 0,
'Scalar::Util' => 0,
},
configure_requires => {
'Module::Build' => 0.3601,
},
meta_merge => {
resources => {
repository => "http://github.com/jberger/Tie-Array-CSV",
bugtracker => "http://github.com/jberger/Tie-Array-CSV/issues",
},
no_index => {
file => [ 'README.pod' ],
},
}
);

$builder->create_build_script;

4 changes: 3 additions & 1 deletion Changes
@@ -1,6 +1,8 @@
Revision history for Perl module Tie::Array::CSV.

- force Tie::File to use \n as line separator, fixing tests on Win32
0.06 Feb 6, 2013
- Force Tie::File to use \n as line separator, fixing tests on Win32
- Use Module::Build directly

0.05 Feb 8, 2012
- 'hold_row' logic separated into T::A::CSV::HoldRow subclass
Expand Down
13 changes: 13 additions & 0 deletions MANIFEST
@@ -0,0 +1,13 @@
Build.PL
Changes
lib/Tie/Array/CSV.pm
lib/Tie/Array/CSV/HoldRow.pm
MANIFEST This list of files
README.pod
t/20-basic.t
t/30-construction.t
t/35-csv_obj.t
t/65-holdrow_singletons.t
t/70-holdrow_basic.t
META.yml
META.json
67 changes: 67 additions & 0 deletions META.json
@@ -0,0 +1,67 @@
{
"abstract" : "A tied array which combines the power of Tie::File and Text::CSV",
"author" : [
"Joel Berger"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.4, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Tie-Array-CSV",
"no_index" : {
"file" : [
"README.pod"
]
},
"prereqs" : {
"configure" : {
"requires" : {
"Module::Build" : "0.3601"
}
},
"runtime" : {
"requires" : {
"Scalar::Util" : "0",
"Text::CSV" : "0",
"Tie::File" : "0",
"perl" : "5.006001"
}
}
},
"provides" : {
"Tie::Array::CSV" : {
"file" : "lib/Tie/Array/CSV.pm",
"version" : "0.06"
},
"Tie::Array::CSV::HoldRow" : {
"file" : "lib/Tie/Array/CSV/HoldRow.pm",
"version" : 0
},
"Tie::Array::CSV::HoldRow::Row" : {
"file" : "lib/Tie/Array/CSV/HoldRow.pm",
"version" : 0
},
"Tie::Array::CSV::Row" : {
"file" : "lib/Tie/Array/CSV.pm",
"version" : 0
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "http://github.com/jberger/Tie-Array-CSV/issues"
},
"license" : [
"http://dev.perl.org/licenses/"
],
"repository" : {
"url" : "http://github.com/jberger/Tie-Array-CSV"
}
},
"version" : "0.06"
}
40 changes: 40 additions & 0 deletions META.yml
@@ -0,0 +1,40 @@
---
abstract: 'A tied array which combines the power of Tie::File and Text::CSV'
author:
- 'Joel Berger'
build_requires: {}
configure_requires:
Module::Build: 0.3601
dynamic_config: 1
generated_by: 'Module::Build version 0.4, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Tie-Array-CSV
no_index:
file:
- README.pod
provides:
Tie::Array::CSV:
file: lib/Tie/Array/CSV.pm
version: 0.06
Tie::Array::CSV::HoldRow:
file: lib/Tie/Array/CSV/HoldRow.pm
version: 0
Tie::Array::CSV::HoldRow::Row:
file: lib/Tie/Array/CSV/HoldRow.pm
version: 0
Tie::Array::CSV::Row:
file: lib/Tie/Array/CSV.pm
version: 0
requires:
Scalar::Util: 0
Text::CSV: 0
Tie::File: 0
perl: 5.006001
resources:
bugtracker: http://github.com/jberger/Tie-Array-CSV/issues
license: http://dev.perl.org/licenses/
repository: http://github.com/jberger/Tie-Array-CSV
version: 0.06
14 changes: 5 additions & 9 deletions README.pod
Expand Up @@ -162,14 +162,6 @@ At one time, some effort was been made to allow for fields which contain linebre

L<Tie::CSV_File> - inspiration for this module, but problematic

=item *

L<Tie::Array::DBD> - tie database connection to array

=item *

L<Tie::DBI> - similar but hash based

=back

=head1 SOURCE REPOSITORY
Expand All @@ -180,9 +172,13 @@ L<http://github.com/jberger/Tie-Array-CSV>

Joel Berger, E<lt>joel.a.berger@gmail.comE<gt>

=head1 CONTRIBUTORS

Mithaldu - Christian Walde (cpan:MITHALDU) <walde.christian@googlemail.com>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2012 by Joel Berger
Copyright (C) 2013 by Joel Berger

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Expand Down
29 changes: 0 additions & 29 deletions dist.ini

This file was deleted.

11 changes: 3 additions & 8 deletions lib/Tie/Array/CSV.pm
Expand Up @@ -3,6 +3,9 @@ package Tie::Array::CSV;
use strict;
use warnings;

our $VERSION = '0.06';
$VERSION = eval $VERSION;

use Carp;

use Tie::File;
Expand Down Expand Up @@ -436,14 +439,6 @@ At one time, some effort was been made to allow for fields which contain linebre
L<Tie::CSV_File> - inspiration for this module, but problematic
=item *
L<Tie::Array::DBD> - tie database connection to array
=item *
L<Tie::DBI> - similar but hash based
=back
=head1 SOURCE REPOSITORY
Expand Down
2 changes: 1 addition & 1 deletion lib/Tie/Array/CSV/HoldRow.pm
Expand Up @@ -201,7 +201,7 @@ Joel Berger, E<lt>joel.a.berger@gmail.comE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2012 by Joel Berger
Copyright (C) 2013 by Joel Berger
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Expand Down

0 comments on commit fc7ae49

Please sign in to comment.