From d7710e2382bd1b95a4a76f519c67fdac479e7087 Mon Sep 17 00:00:00 2001 From: Patrick Hochstenbach Date: Thu, 15 Sep 2016 11:26:33 +0200 Subject: [PATCH] 1.00_03 --- Build.PL | 2 +- Changes | 2 ++ lib/Catmandu/Exporter/MARC.pm | 2 +- lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm | 2 +- lib/Catmandu/Exporter/MARC/Base.pm | 2 +- lib/Catmandu/Exporter/MARC/ISO.pm | 2 +- lib/Catmandu/Exporter/MARC/MARCMaker.pm | 2 +- lib/Catmandu/Exporter/MARC/MiJ.pm | 2 +- lib/Catmandu/Exporter/MARC/XML.pm | 2 +- lib/Catmandu/Fix/Bind/marc_each.pm | 2 +- lib/Catmandu/Fix/Condition/marc_has.pm | 2 +- lib/Catmandu/Fix/Condition/marc_has_many.pm | 2 +- lib/Catmandu/Fix/Condition/marc_match.pm | 2 +- lib/Catmandu/Fix/Inline/marc_add.pm | 2 +- lib/Catmandu/Fix/Inline/marc_map.pm | 2 +- lib/Catmandu/Fix/Inline/marc_remove.pm | 2 +- lib/Catmandu/Fix/Inline/marc_set.pm | 2 +- lib/Catmandu/Fix/marc_add.pm | 2 +- lib/Catmandu/Fix/marc_decode_dollar_subfields.pm | 2 +- lib/Catmandu/Fix/marc_in_json.pm | 2 +- lib/Catmandu/Fix/marc_map.pm | 2 +- lib/Catmandu/Fix/marc_remove.pm | 2 +- lib/Catmandu/Fix/marc_set.pm | 2 +- lib/Catmandu/Fix/marc_xml.pm | 2 +- lib/Catmandu/Importer/MARC.pm | 2 +- lib/Catmandu/Importer/MARC/ALEPHSEQ.pm | 2 +- lib/Catmandu/Importer/MARC/Decoder.pm | 2 +- lib/Catmandu/Importer/MARC/ISO.pm | 2 +- lib/Catmandu/Importer/MARC/Lint.pm | 2 +- lib/Catmandu/Importer/MARC/MARCMaker.pm | 2 +- lib/Catmandu/Importer/MARC/MiJ.pm | 2 +- lib/Catmandu/Importer/MARC/MicroLIF.pm | 2 +- lib/Catmandu/Importer/MARC/RAW.pm | 2 +- lib/Catmandu/Importer/MARC/Record.pm | 2 +- lib/Catmandu/Importer/MARC/XML.pm | 2 +- lib/Catmandu/MARC.pm | 2 +- 36 files changed, 37 insertions(+), 35 deletions(-) diff --git a/Build.PL b/Build.PL index 862c7cb..8883e6f 100644 --- a/Build.PL +++ b/Build.PL @@ -18,7 +18,7 @@ my %module_build_args = ( "Patrick Hochstenbach, C<< >>" ], "dist_name" => "Catmandu-MARC", - "dist_version" => "1.00_02", + "dist_version" => "1.00_03", "license" => "perl", "module_name" => "Catmandu::MARC", "recursive_test_files" => 1, diff --git a/Changes b/Changes index 99fcfca..28f0bb0 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Catmandu-MARC {{$NEXT}} + +1.00_03 2016-09-15 11:26:03 CEST - Fixing dependency problems - Deleting unused modules - Fixing zero-padded tags treated as numbers bug diff --git a/lib/Catmandu/Exporter/MARC.pm b/lib/Catmandu/Exporter/MARC.pm index 430c529..406b46b 100644 --- a/lib/Catmandu/Exporter/MARC.pm +++ b/lib/Catmandu/Exporter/MARC.pm @@ -76,7 +76,7 @@ package Catmandu::Exporter::MARC; use Catmandu::Sane; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has type => (is => 'ro' , default => sub { 'ISO' }); has _exporter => (is => 'ro' , lazy => 1 , builder => '_build_exporter' , handles => 'Catmandu::Exporter'); diff --git a/lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm b/lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm index 0984687..014187c 100644 --- a/lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm +++ b/lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm @@ -58,7 +58,7 @@ use Catmandu::Util qw(xml_escape is_different :array :is); use List::Util; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Exporter', 'Catmandu::Exporter::MARC::Base'; diff --git a/lib/Catmandu/Exporter/MARC/Base.pm b/lib/Catmandu/Exporter/MARC/Base.pm index 00e9d01..04aaf83 100644 --- a/lib/Catmandu/Exporter/MARC/Base.pm +++ b/lib/Catmandu/Exporter/MARC/Base.pm @@ -3,7 +3,7 @@ use Moo::Role; use MARC::Record; use MARC::Field; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub _raw_to_marc_record { my ($self,$data) = @_; diff --git a/lib/Catmandu/Exporter/MARC/ISO.pm b/lib/Catmandu/Exporter/MARC/ISO.pm index 7a71468..9d5d248 100644 --- a/lib/Catmandu/Exporter/MARC/ISO.pm +++ b/lib/Catmandu/Exporter/MARC/ISO.pm @@ -60,7 +60,7 @@ use MARC::Record; use MARC::Field; use MARC::File::USMARC; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Exporter', 'Catmandu::Exporter::MARC::Base'; diff --git a/lib/Catmandu/Exporter/MARC/MARCMaker.pm b/lib/Catmandu/Exporter/MARC/MARCMaker.pm index 1254868..3dc6bad 100644 --- a/lib/Catmandu/Exporter/MARC/MARCMaker.pm +++ b/lib/Catmandu/Exporter/MARC/MARCMaker.pm @@ -60,7 +60,7 @@ use MARC::Record; use MARC::Field; use MARC::File::MARCMaker; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Exporter', 'Catmandu::Exporter::MARC::Base'; diff --git a/lib/Catmandu/Exporter/MARC/MiJ.pm b/lib/Catmandu/Exporter/MARC/MiJ.pm index 703e2a4..f179497 100644 --- a/lib/Catmandu/Exporter/MARC/MiJ.pm +++ b/lib/Catmandu/Exporter/MARC/MiJ.pm @@ -60,7 +60,7 @@ use MARC::Record; use MARC::Field; use MARC::File::MiJ; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Exporter', 'Catmandu::Exporter::MARC::Base'; diff --git a/lib/Catmandu/Exporter/MARC/XML.pm b/lib/Catmandu/Exporter/MARC/XML.pm index 76ee057..e8bf79b 100644 --- a/lib/Catmandu/Exporter/MARC/XML.pm +++ b/lib/Catmandu/Exporter/MARC/XML.pm @@ -3,7 +3,7 @@ use Catmandu::Sane; use Catmandu::Util qw(xml_escape is_different :array :is); use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Exporter', 'Catmandu::Exporter::MARC::Base'; diff --git a/lib/Catmandu/Fix/Bind/marc_each.pm b/lib/Catmandu/Fix/Bind/marc_each.pm index a614613..56428fe 100644 --- a/lib/Catmandu/Fix/Bind/marc_each.pm +++ b/lib/Catmandu/Fix/Bind/marc_each.pm @@ -3,7 +3,7 @@ package Catmandu::Fix::Bind::marc_each; use Moo; use Catmandu::Util; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Fix::Bind'; diff --git a/lib/Catmandu/Fix/Condition/marc_has.pm b/lib/Catmandu/Fix/Condition/marc_has.pm index c4bdef3..11d049c 100644 --- a/lib/Catmandu/Fix/Condition/marc_has.pm +++ b/lib/Catmandu/Fix/Condition/marc_has.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::remove_field; use Moo; use Catmandu::Fix::Has; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Fix::Condition'; diff --git a/lib/Catmandu/Fix/Condition/marc_has_many.pm b/lib/Catmandu/Fix/Condition/marc_has_many.pm index 94992c9..8c2278b 100644 --- a/lib/Catmandu/Fix/Condition/marc_has_many.pm +++ b/lib/Catmandu/Fix/Condition/marc_has_many.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::remove_field; use Moo; use Catmandu::Fix::Has; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Fix::Condition'; diff --git a/lib/Catmandu/Fix/Condition/marc_match.pm b/lib/Catmandu/Fix/Condition/marc_match.pm index 32aed11..e3203a8 100644 --- a/lib/Catmandu/Fix/Condition/marc_match.pm +++ b/lib/Catmandu/Fix/Condition/marc_match.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::remove_field; use Moo; use Catmandu::Fix::Has; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Fix::Condition'; diff --git a/lib/Catmandu/Fix/Inline/marc_add.pm b/lib/Catmandu/Fix/Inline/marc_add.pm index 38ae36a..2e030c3 100644 --- a/lib/Catmandu/Fix/Inline/marc_add.pm +++ b/lib/Catmandu/Fix/Inline/marc_add.pm @@ -7,7 +7,7 @@ require Exporter; @EXPORT_OK = qw(marc_add); %EXPORT_TAGS = (all => [qw(marc_add)]); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub marc_add { my ($data,$marc_path,@subfields) = @_; diff --git a/lib/Catmandu/Fix/Inline/marc_map.pm b/lib/Catmandu/Fix/Inline/marc_map.pm index 24b73ce..f48f2f5 100644 --- a/lib/Catmandu/Fix/Inline/marc_map.pm +++ b/lib/Catmandu/Fix/Inline/marc_map.pm @@ -65,7 +65,7 @@ require Exporter; @EXPORT_OK = qw(marc_map); %EXPORT_TAGS = (all => [qw(marc_map)]); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub marc_map { my ($data,$marc_path,%opts) = @_; diff --git a/lib/Catmandu/Fix/Inline/marc_remove.pm b/lib/Catmandu/Fix/Inline/marc_remove.pm index 991cf8e..ff65ecb 100644 --- a/lib/Catmandu/Fix/Inline/marc_remove.pm +++ b/lib/Catmandu/Fix/Inline/marc_remove.pm @@ -7,7 +7,7 @@ require Exporter; @EXPORT_OK = qw(marc_remove); %EXPORT_TAGS = (all => [qw(marc_remove)]); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub marc_remove { my ($data,$marc_path) = @_; diff --git a/lib/Catmandu/Fix/Inline/marc_set.pm b/lib/Catmandu/Fix/Inline/marc_set.pm index c560c23..a5e6412 100644 --- a/lib/Catmandu/Fix/Inline/marc_set.pm +++ b/lib/Catmandu/Fix/Inline/marc_set.pm @@ -7,7 +7,7 @@ require Exporter; @EXPORT_OK = qw(marc_set); %EXPORT_TAGS = (all => [qw(marc_set)]); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub marc_set { my ($data,$marc_path,$value) = @_; diff --git a/lib/Catmandu/Fix/marc_add.pm b/lib/Catmandu/Fix/marc_add.pm index b99fcb5..e74a159 100644 --- a/lib/Catmandu/Fix/marc_add.pm +++ b/lib/Catmandu/Fix/marc_add.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has marc_path => (fix_arg => 1); has subfields => (fix_arg => 'collect'); diff --git a/lib/Catmandu/Fix/marc_decode_dollar_subfields.pm b/lib/Catmandu/Fix/marc_decode_dollar_subfields.pm index 51fe7ff..4d0a8f2 100644 --- a/lib/Catmandu/Fix/marc_decode_dollar_subfields.pm +++ b/lib/Catmandu/Fix/marc_decode_dollar_subfields.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub fix { my ($self,$data) = @_; diff --git a/lib/Catmandu/Fix/marc_in_json.pm b/lib/Catmandu/Fix/marc_in_json.pm index 5b0247a..c524622 100644 --- a/lib/Catmandu/Fix/marc_in_json.pm +++ b/lib/Catmandu/Fix/marc_in_json.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has reverse => (fix_opt => 1); diff --git a/lib/Catmandu/Fix/marc_map.pm b/lib/Catmandu/Fix/marc_map.pm index d562bb4..5bc959a 100644 --- a/lib/Catmandu/Fix/marc_map.pm +++ b/lib/Catmandu/Fix/marc_map.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Base'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has marc_path => (fix_arg => 1); has path => (fix_arg => 1); diff --git a/lib/Catmandu/Fix/marc_remove.pm b/lib/Catmandu/Fix/marc_remove.pm index 4cb42e6..cf44a59 100644 --- a/lib/Catmandu/Fix/marc_remove.pm +++ b/lib/Catmandu/Fix/marc_remove.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has marc_path => (fix_arg => 1); diff --git a/lib/Catmandu/Fix/marc_set.pm b/lib/Catmandu/Fix/marc_set.pm index 966df24..1759329 100644 --- a/lib/Catmandu/Fix/marc_set.pm +++ b/lib/Catmandu/Fix/marc_set.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has marc_path => (fix_arg => 1); has value => (fix_arg => 1); diff --git a/lib/Catmandu/Fix/marc_xml.pm b/lib/Catmandu/Fix/marc_xml.pm index e13af27..74eb64e 100644 --- a/lib/Catmandu/Fix/marc_xml.pm +++ b/lib/Catmandu/Fix/marc_xml.pm @@ -7,7 +7,7 @@ use Catmandu::Fix::Has; with 'Catmandu::Fix::Inlineable'; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has path => (fix_arg => 1); diff --git a/lib/Catmandu/Importer/MARC.pm b/lib/Catmandu/Importer/MARC.pm index 683daf8..3157d2d 100644 --- a/lib/Catmandu/Importer/MARC.pm +++ b/lib/Catmandu/Importer/MARC.pm @@ -127,7 +127,7 @@ use Catmandu::Sane; use Catmandu::Util; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; has type => (is => 'ro' , default => sub { 'ISO' }); has _importer => (is => 'ro' , lazy => 1 , builder => '_build_importer' , handles => ['generator']); diff --git a/lib/Catmandu/Importer/MARC/ALEPHSEQ.pm b/lib/Catmandu/Importer/MARC/ALEPHSEQ.pm index 9783e2b..60c3d90 100644 --- a/lib/Catmandu/Importer/MARC/ALEPHSEQ.pm +++ b/lib/Catmandu/Importer/MARC/ALEPHSEQ.pm @@ -64,7 +64,7 @@ package Catmandu::Importer::MARC::ALEPHSEQ; use Catmandu::Sane; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/Decoder.pm b/lib/Catmandu/Importer/MARC/Decoder.pm index 0b7ca9e..86ec6c3 100644 --- a/lib/Catmandu/Importer/MARC/Decoder.pm +++ b/lib/Catmandu/Importer/MARC/Decoder.pm @@ -3,7 +3,7 @@ package Catmandu::Importer::MARC::Decoder; use Catmandu::Sane; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub fake_marc_file { my ($self,$fh,$class) = @_; diff --git a/lib/Catmandu/Importer/MARC/ISO.pm b/lib/Catmandu/Importer/MARC/ISO.pm index 056b19a..e5b65f5 100644 --- a/lib/Catmandu/Importer/MARC/ISO.pm +++ b/lib/Catmandu/Importer/MARC/ISO.pm @@ -70,7 +70,7 @@ use Moo; use MARC::File::USMARC; use Catmandu::Importer::MARC::Decoder; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/Lint.pm b/lib/Catmandu/Importer/MARC/Lint.pm index 2531c23..062b432 100644 --- a/lib/Catmandu/Importer/MARC/Lint.pm +++ b/lib/Catmandu/Importer/MARC/Lint.pm @@ -79,7 +79,7 @@ use MARC::File::USMARC; use MARC::Lint; use Catmandu::Importer::MARC::Decoder; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/MARCMaker.pm b/lib/Catmandu/Importer/MARC/MARCMaker.pm index 8467a69..596fc30 100644 --- a/lib/Catmandu/Importer/MARC/MARCMaker.pm +++ b/lib/Catmandu/Importer/MARC/MARCMaker.pm @@ -70,7 +70,7 @@ use Moo; use MARC::File::MARCMaker; use Catmandu::Importer::MARC::Decoder; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/MiJ.pm b/lib/Catmandu/Importer/MARC/MiJ.pm index e0c7822..4d5e829 100644 --- a/lib/Catmandu/Importer/MARC/MiJ.pm +++ b/lib/Catmandu/Importer/MARC/MiJ.pm @@ -55,7 +55,7 @@ use MARC::Record; use Catmandu::Importer::MARC::Decoder; use MARC::File::MiJ; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/MicroLIF.pm b/lib/Catmandu/Importer/MARC/MicroLIF.pm index a9acb01..60c6730 100644 --- a/lib/Catmandu/Importer/MARC/MicroLIF.pm +++ b/lib/Catmandu/Importer/MARC/MicroLIF.pm @@ -70,7 +70,7 @@ use Moo; use MARC::File::MicroLIF; use Catmandu::Importer::MARC::Decoder; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/RAW.pm b/lib/Catmandu/Importer/MARC/RAW.pm index 9b6e109..628b019 100644 --- a/lib/Catmandu/Importer/MARC/RAW.pm +++ b/lib/Catmandu/Importer/MARC/RAW.pm @@ -69,7 +69,7 @@ use Catmandu::Sane; use Moo; use MARC::Parser::RAW; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/Record.pm b/lib/Catmandu/Importer/MARC/Record.pm index bb5748b..9ec6f9d 100644 --- a/lib/Catmandu/Importer/MARC/Record.pm +++ b/lib/Catmandu/Importer/MARC/Record.pm @@ -55,7 +55,7 @@ use Catmandu::Sane; use Catmandu::Importer::MARC::Decoder; use Moo; -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/Importer/MARC/XML.pm b/lib/Catmandu/Importer/MARC/XML.pm index 6854dae..efa19fa 100644 --- a/lib/Catmandu/Importer/MARC/XML.pm +++ b/lib/Catmandu/Importer/MARC/XML.pm @@ -70,7 +70,7 @@ use Moo; use Catmandu::Importer::MARC::Decoder; use MARC::File::XML (BinaryEncoding => 'UTF-8', DefaultEncoding => 'UTF-8', RecordFormat => 'MARC21'); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; with 'Catmandu::Importer'; diff --git a/lib/Catmandu/MARC.pm b/lib/Catmandu/MARC.pm index 38eddd5..3d6b154 100644 --- a/lib/Catmandu/MARC.pm +++ b/lib/Catmandu/MARC.pm @@ -10,7 +10,7 @@ with 'MooX::Singleton'; memoize('compile_marc_path'); -our $VERSION = '1.00_02'; +our $VERSION = '1.00_03'; sub marc_map { my $self = $_[0];