Permalink
Browse files

many package file updates & Perl::Critic suggestions

  • Loading branch information...
1 parent 7ec7f42 commit aa8c4efb4686d16666798170f8916f3ec7549dc5 @barbie committed Jul 29, 2012
View
12 Changes
@@ -1,5 +1,17 @@
# Changes log for Data::Phrasebook
+0.32 29/07/2012
+ - removed License files from distro.
+ - Artistic License v2 now sole license.
+ - removed DSLIP info.
+ - spelling fixes. (thanks to Nicholas Bamber, Florian Schlichting &
+ Gregor Herrmann).
+ - added minimum perl version (5.006).
+ - reworked Makefile.PL for clarity.
+ - updated META.yml testing.
+ - added Carp as a prerequisite.
+ - implemented Perl::Critic suggestions.
+
0.31 31/08/2010
- added blank_args as a parameter to delimiters().
View
@@ -110,6 +110,6 @@ built correctly on your machine.
cheers,
Barbie.
-http://birmingham.pm.org/
+http://barbie.missbarbell.co.uk/
with much appreciation to Iain (aka Spoon).
View
@@ -1,7 +1,7 @@
LICENSE FOR Data-Phrasebook
Copyright � 2003 Iain Truskett.
-Copyright � 2004-2010 Barbie for Miss Barbell Productions.
+Copyright � 2004-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
View
@@ -1,7 +1,7 @@
{
"name": "Data::Phrasebook",
- "version": "0.31",
- "abstract": "A collection of modules for accessing phrasebooks from various data sources.",
+ "version": "0.32",
+ "abstract": "Access your data using the phrasebook design pattern",
"author": ["Barbie <barbie@cpan.org>"],
"license": "artistic_2",
@@ -13,67 +13,70 @@
},
"generated_by": "Hand 1.0",
"keywords" : [
+ "abstract",
"data",
"design pattern",
- "abstract"
+ "phrasebook"
],
"prereqs" : {
"runtime" : {
"requires" : {
+ "perl": "5.006",
+ "Carp": "0",
+ "IO::File": "0",
"Module::Pluggable": "0"
}
},
"test" : {
"requires": {
- "Test::More": "0.47"
+ "Test::More": "0.70"
},
"recommends": {
- "Test::More": "0.70",
+ "Test::CPAN::Meta": "0",
+ "Test::CPAN::Meta::JSON": "0",
"Test::Pod": "1.00",
- "Test::Pod::Coverage": "0.08",
- "Test::CPAN::Meta": "0.13",
- "Test::JSON::Meta": "0.08"
+ "Test::Pod::Coverage": "0.08"
}
}
},
"provides": {
"Data::Phrasebook": {
"file": "lib/Data/Phrasebook.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Debug": {
"file": "lib/Data/Phrasebook/Debug.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Generic": {
"file": "lib/Data/Phrasebook/Generic.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Loader": {
"file": "lib/Data/Phrasebook/Loader.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Loader::Base": {
"file": "lib/Data/Phrasebook/Loader/Base.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Loader::Text": {
"file": "lib/Data/Phrasebook/Loader/Text.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::Plain": {
"file": "lib/Data/Phrasebook/Plain.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::SQL": {
"file": "lib/Data/Phrasebook/SQL.pm",
- "version": "0.31"
+ "version": "0.32"
},
"Data::Phrasebook::SQL::Query": {
"file": "lib/Data/Phrasebook/SQL/Query.pm",
- "version": "0.31"
+ "version": "0.32"
}
},
"no_index": {
View
@@ -1,54 +1,55 @@
--- #YAML:1.0
-name: Data-Phrasebook
-version: 0.31
-abstract: A collection of modules for accessing phrasebooks from various data sources.
+name: Data-Phrasebook
+version: 0.32
+abstract: Access your data using the phrasebook design pattern
author:
- Barbie <barbie@cpan.org>
-license: artistic_2
-distribution_type: module
-installdirs: site
+license: artistic_2
+distribution_type: module
+installdirs: site
requires:
- Module::Pluggable: 2.7
- Test::More: 0.47
+ perl: 5.006
+ Carp: 0
+ IO::File: 0
+ Module::Pluggable: 2.7
recommends:
- Test::More: 0.70
- Test::Pod: 1.00
- Test::Pod::Coverage: 0.08
- Test::CPAN::Meta: 0.13
- Test::CPAN::Meta: 0.08
+ Test::CPAN::Meta: 0
+ Test::CPAN::Meta::JSON: 0
+ Test::Pod: 1.00
+ Test::Pod::Coverage: 0.08
build_requires:
- Test::More: 0.47
+ Test::More: 0.70
provides:
Data::Phrasebook:
file: lib/Data/Phrasebook.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Debug:
file: lib/Data/Phrasebook/Debug.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Generic:
file: lib/Data/Phrasebook/Generic.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Loader:
file: lib/Data/Phrasebook/Loader.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Loader::Base:
file: lib/Data/Phrasebook/Loader/Base.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Loader::Text:
file: lib/Data/Phrasebook/Loader/Text.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::Plain:
file: lib/Data/Phrasebook/Plain.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::SQL:
file: lib/Data/Phrasebook/SQL.pm
- version: 0.31
+ version: 0.32
Data::Phrasebook::SQL::Query:
file: lib/Data/Phrasebook/SQL/Query.pm
- version: 0.31
+ version: 0.32
no_index:
directory:
- t
View
@@ -1,14 +1,26 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use 5.006;
+
use ExtUtils::MakeMaker;
+
WriteMakefile(
- NAME => 'Data::Phrasebook',
- VERSION_FROM => 'lib/Data/Phrasebook.pm',
- PREREQ_PM => {
- 'Module::Pluggable' => '2.7',
- 'Test::More' => '0.47',
- },
- NO_META => 1,
-
- ($] >= 5.005 ?
- (ABSTRACT_FROM => 'lib/Data/Phrasebook.pm',
- AUTHOR => 'Barbie <barbie@cpan.org>') : ()),
+ AUTHOR => 'Barbie <barbie@cpan.org>',
+ NAME => 'Data::Phrasebook',
+ VERSION_FROM => 'lib/Data/Phrasebook.pm',
+ ABSTRACT => 'Access your data using the phrasebook design pattern',
+ NO_META => 1,
+ PREREQ_PM => {
+
+ # runtime prereqs
+ 'Carp' => '0',
+ 'IO::File' => '0',
+ 'Module::Pluggable' => '2.7',
+
+ # build/test prereqs
+ 'Test::More' => '0.70',
+
+ }
);
View
20 README
@@ -57,17 +57,9 @@ within the POD documentation, please send an email to barbie@cpan.org or
submit a bug to the RT system (http://rt.cpan.org/). It would help greatly
if you are able to pinpoint problems or even supply a patch.
-Fixes are dependant upon their severity and my availablity. Should a fix not
+Fixes are dependent upon their severity and my availability. Should a fix not
be forthcoming, please feel free to (politely) remind me.
-DSLIP
-
- b - Beta testing
- d - Developer
- p - Perl-only
- O - Object oriented
- p - Standard-Perl: user may choose between GPL and Artistic
-
AUTHOR
Original author: Iain Campbell Truskett (16.07.1979 - 29.12.2003)
@@ -77,12 +69,8 @@ http://www.missbarbell.co.uk.
COPYRIGHT AND LICENSE
- Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2004-2012 Barbie for Miss Barbell Productions.
Copyright (C) 2003 Iain Truskett.
- This module is free software; you can redistribute it and/or
- modify it under the same terms as Perl itself.
-
-The full text of the licenses can be found in the Artistic and
-COPYING files included with this module, or in perlartistic and
-perlgpl in Perl 5.8.1 or later.
+ This module is free software; you can redistribute it and/or
+ modify it under the Artistic Licence v2.
View
@@ -5,16 +5,12 @@ use base qw( Data::Phrasebook::Debug );
use Carp qw( croak );
use vars qw($VERSION);
-$VERSION = '0.31';
+$VERSION = '0.32';
=head1 NAME
Data::Phrasebook - Abstract your queries!
-=head1 ABSTRACT
-
-A collection of modules for accessing phrasebooks from various data sources.
-
=head1 SYNOPSIS
use Data::Phrasebook;
@@ -241,8 +237,8 @@ A subsequent reload will occur with the next fetch call.
=head1 DEDICATION
-Much of the work original class framework is from Iain's original code. My
-code was alot simpler and was tied to using just an INI data source. Merging
+Much of the code for the original class framework is from Iain's original code.
+My code was much simpler and was tied to using just an INI data source. Merging
all the ideas and code together we came up with this distribution.
Unfortunately Iain died in December 2003, so he never got to see or play
@@ -266,14 +262,6 @@ L<Data::Phrasebook::Loader::Base>.
Please see the README file.
-=head1 DSLIP
-
- b - Beta testing
- d - Developer
- p - Perl-only
- O - Object oriented
- p - Standard-Perl: user may choose between GPL and Artistic
-
=head1 AUTHOR
Original author: Iain Campbell Truskett (16.07.1979 - 29.12.2003)
@@ -283,7 +271,7 @@ Please see the README file.
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2003 Iain Truskett.
- Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2004-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
@@ -4,7 +4,7 @@ use warnings FATAL => 'all';
use Carp qw( croak );
use vars qw($VERSION);
-$VERSION = '0.31';
+$VERSION = '0.32';
=head1 NAME
@@ -143,7 +143,7 @@ Please see the README file.
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2004-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
@@ -6,7 +6,7 @@ use base qw( Data::Phrasebook::Debug );
use Carp qw( croak );
use vars qw($VERSION);
-$VERSION = '0.31';
+$VERSION = '0.32';
=head1 NAME
@@ -329,7 +329,7 @@ Please see the README file.
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2003 Iain Truskett.
- Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
+ Copyright (C) 2004-2012 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
Oops, something went wrong.

0 comments on commit aa8c4ef

Please sign in to comment.