This is an automated email from the git hooks/post-receive script. js pushed a commit to branch master in repository libmarc-parser-raw-perl.
commit 6362b721bab68f5e03c05cdf4756ea9bd0f406a1 Merge: ac9577b 96226f9 Author: Jonas Smedegaard <[email protected]> Date: Thu Jul 23 12:37:29 2015 +0200 Imported Upstream version 0.03 Build.PL | 4 + CHANGES | 5 - Changes | 17 ++++ LICENSE | 6 +- MANIFEST | 7 +- META.json | 35 +++++-- META.yml | 24 +++-- Makefile.PL | 51 ---------- README | 72 ++++++++++++-- cpanfile | 7 +- dist.ini | 23 +---- lib/MARC/Parser/RAW.pm | 248 +++++++++++++++++++++++++------------------------ t/01-parser.t | 48 ++++++---- t/camel.mrc | 2 +- t/release-pod-syntax.t | 14 +++ 15 files changed, 321 insertions(+), 242 deletions(-) diff --cc Changes index 0000000,0af928f..0c65903 mode 000000,100644..100644 --- a/Changes +++ b/Changes @@@ -1,0 -1,19 +1,17 @@@ + Changelog for MARC-Parser-RAW + -{{$NEXT}} - + 0.03 2015-06-16 18:12:52 CEST + - edit cpanfile + - fix typo in POD + + 0.02 2015-05-17 12:59:25 CEST + - requires perl 5.12.5 + - edit cpanfile + - minor POD edit + - major refactoring + - switch to Dist-Milla + - edit .travis.yml + + 0.01 2014-05-28 + - initial commit + diff --cc MANIFEST index ec0ad1c,0000000..de8a796 mode 100644,000000..100644 --- a/MANIFEST +++ b/MANIFEST @@@ -1,14 -1,0 +1,15 @@@ - # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019. - CHANGES ++# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.036. ++Build.PL ++Changes +LICENSE +MANIFEST +META.json +META.yml - Makefile.PL +README +cpanfile +dist.ini +lib/MARC/Parser/RAW.pm +t/00-load.t +t/01-parser.t +t/camel.mrc ++t/release-pod-syntax.t diff --cc META.yml index ac82c53,0000000..b52001c mode 100644,000000..100644 --- a/META.yml +++ b/META.yml @@@ -1,22 -1,0 +1,32 @@@ +--- - abstract: 'MARC RAW format parser' ++abstract: 'Parser for ISO 2709 encoded MARC records' +author: - - 'Johann Rolschewski <[email protected]>' - build_requires: {} ++ - 'Johann Rolschewski <[email protected]>' ++build_requires: ++ Test::More: '0.96' +configure_requires: - ExtUtils::MakeMaker: '6.30' ++ Module::Build::Tiny: '0.039' +dynamic_config: 0 - generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141170' ++generated_by: 'Dist::Zilla version 5.036, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150001' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: MARC-Parser-RAW ++no_index: ++ directory: ++ - t ++ - xt ++ - inc ++ - share ++ - eg ++ - examples +requires: - Encode: '2.5' + Readonly: '1.0' +resources: + bugtracker: https://github.com/jorol/MARC-Parser-RAW/issues + homepage: https://github.com/jorol/MARC-Parser-RAW + repository: https://github.com/jorol/MARC-Parser-RAW.git - version: '0.01' ++version: '0.03' ++x_contributors: ++ - 'Johann Rolschewski <[email protected]>' diff --cc README index bf46a5b,0000000..0564f7e mode 100644,000000..100644 --- a/README +++ b/README @@@ -1,15 -1,0 +1,73 @@@ ++NAME ++ MARC::Parser::RAW - Parser for ISO 2709 encoded MARC records + ++SYNOPSIS ++ use MARC::Parser::RAW; + - This archive contains the distribution MARC-Parser-RAW, - version 0.01: ++ my $parser = MARC::Parser::RAW->new( $file ); + - MARC RAW format parser ++ while ( my $record = $parser->next() ) { ++ # do something ++ } + - This software is copyright (c) 2014 by Johann Rolschewski. ++DESCRIPTION ++ MARC::Parser::RAW is a lightweight, fault tolerant parser for ISO 2709 ++ encoded MARC records. Tags, indicators and subfield codes are not ++ validated against the MARC standard. Record length from leader and field ++ lengths from the directory are ignored. Records with a faulty structure ++ will be skipped with a warning. The resulting data structure is ++ optimized for usage with the Catmandu data tool kit. + - This is free software; you can redistribute it and/or modify it under - the same terms as the Perl 5 programming language system itself. ++ MARC::Parser::RAW expects UTF-8 encoded files as input. Otherwise ++ provide a filehande with a specified I/O layer or specify encoding. + ++MARC ++ The MARC record is parsed into an ARRAY of ARRAYs: + - This README file was generated by Dist::Zilla::Plugin::Readme v5.019. ++ $record = [ ++ [ 'LDR', undef, undef, '_', '00661nam 22002538a 4500' ], ++ [ '001', undef, undef, '_', 'fol05865967 ' ], ++ ... ++ [ '245', '1', '0', 'a', 'Programming Perl /', ++ 'c', 'Larry Wall, Tom Christiansen & Jon Orwant.' ++ ], ++ ... ++ ]; ++ ++METHODS ++ new($file|$fh [, $encoding]) ++ Configuration ++ "file" ++ Path to file with raw MARC records. ++ ++ "fh" ++ Open filehandle for raw MARC records. ++ ++ "encoding" ++ Set encoding. Default: UTF-8. Optional. ++ ++ next() ++ Reads the next record from MARC input stream. Returns a Perl hash. ++ ++ _decode($record) ++ Deserialize a raw MARC record to an ARRAY of ARRAYs. ++ ++ _field($field) ++ Split MARC field string in individual components. ++ ++AUTHOR ++ Johann Rolschewski <[email protected]> ++ ++COPYRIGHT ++ Copyright 2014- Johann Rolschewski ++ ++LICENSE ++ This library is free software; you can redistribute it and/or modify it ++ under the same terms as Perl itself. ++ ++SEEALSO ++ Catmandu, Catmandu::Importer::MARC. ++ ++ACKNOWLEDGEMENT ++ The parser methods are adapted from Marc Chantreux's MARC::MIR module. + diff --cc t/release-pod-syntax.t index 0000000,0000000..cdd6a6c new file mode 100644 --- /dev/null +++ b/t/release-pod-syntax.t @@@ -1,0 -1,0 +1,14 @@@ ++#!perl ++ ++BEGIN { ++ unless ($ENV{RELEASE_TESTING}) { ++ require Test::More; ++ Test::More::plan(skip_all => 'these tests are for release candidate testing'); ++ } ++} ++ ++# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. ++use Test::More; ++use Test::Pod 1.41; ++ ++all_pod_files_ok(); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmarc-parser-raw-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
