[libcatmandu-marc-perl] 208/208: New upstream version 1.19
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 03:42:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag upstream/1.19
in repository libcatmandu-marc-perl.
commit 9fe6e1abc223a0e53d82b4b68cdb343183156af6
Merge: 9297bc7 80b5c33
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Oct 28 05:11:32 2017 +0200
New upstream version 1.19
Build.PL | 11 +-
Changes | 82 ++
LICENSE | 6 +-
LICENSE-bu_bibs.txt | 397 ++++++++++
MANIFEST | 90 ++-
META.json | 27 +-
META.yml | 23 +-
README | 21 +-
cpanfile | 8 +-
lib/Catmandu/Exporter/MARC.pm | 137 ++--
lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm | 33 +-
lib/Catmandu/Exporter/MARC/Base.pm | 2 +-
lib/Catmandu/Exporter/MARC/ISO.pm | 4 +-
lib/Catmandu/Exporter/MARC/MARCMaker.pm | 4 +-
lib/Catmandu/Exporter/MARC/MiJ.pm | 59 +-
lib/Catmandu/Exporter/MARC/XML.pm | 57 +-
lib/Catmandu/Fix/Bind/marc_each.pm | 12 +-
.../Condition/{marc_match.pm => marc_all_match.pm} | 32 +-
lib/Catmandu/Fix/Condition/marc_any_match.pm | 81 ++
lib/Catmandu/Fix/Condition/marc_has.pm | 2 +-
lib/Catmandu/Fix/Condition/marc_has_many.pm | 4 +-
lib/Catmandu/Fix/Condition/marc_match.pm | 66 +-
lib/Catmandu/Fix/Condition/marc_spec_has.pm | 81 ++
lib/Catmandu/Fix/Inline/marc_add.pm | 2 +-
lib/Catmandu/Fix/Inline/marc_map.pm | 8 +-
lib/Catmandu/Fix/Inline/marc_remove.pm | 2 +-
lib/Catmandu/Fix/Inline/marc_set.pm | 2 +-
lib/Catmandu/Fix/marc_add.pm | 12 +-
lib/Catmandu/Fix/marc_append.pm | 59 ++
lib/Catmandu/Fix/marc_copy.pm | 209 +++++
lib/Catmandu/Fix/marc_cut.pm | 167 ++++
lib/Catmandu/Fix/marc_decode_dollar_subfields.pm | 2 +-
lib/Catmandu/Fix/marc_in_json.pm | 2 +-
lib/Catmandu/Fix/marc_map.pm | 43 +-
lib/Catmandu/Fix/marc_paste.pm | 117 +++
lib/Catmandu/Fix/marc_remove.pm | 10 +-
lib/Catmandu/Fix/marc_replace_all.pm | 70 ++
lib/Catmandu/Fix/marc_set.pm | 16 +-
lib/Catmandu/Fix/marc_spec.pm | 446 +++++++++++
lib/Catmandu/Fix/marc_xml.pm | 27 +-
lib/Catmandu/Importer/MARC.pm | 238 +++---
lib/Catmandu/Importer/MARC/ALEPHSEQ.pm | 2 +-
lib/Catmandu/Importer/MARC/Decoder.pm | 4 +-
lib/Catmandu/Importer/MARC/ISO.pm | 4 +-
lib/Catmandu/Importer/MARC/Lint.pm | 5 +-
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 | 4 +-
lib/Catmandu/MARC.pm | 836 +++++++++++++++++++-
lib/Catmandu/MARC/Tutorial.pod | 292 +++++--
t/00-load.t | 20 -
t/01-importer.t | 45 --
t/04-marc21.t | 20 -
t/13-marcxml.t | 56 --
t/Catmandu/Exporter/MARC.t | 17 +
t/Catmandu/Exporter/MARC/ALEPHSEQ.t | 74 ++
t/Catmandu/Exporter/MARC/Base.t | 17 +
t/Catmandu/Exporter/MARC/ISO.t | 17 +
t/Catmandu/Exporter/MARC/MARCMaker.t | 17 +
t/Catmandu/Exporter/MARC/MiJ.t | 45 ++
t/{08-exporter.t => Catmandu/Exporter/MARC/XML.t} | 127 +--
.../Fix/Bind/marc_each.t} | 12 +-
t/Catmandu/Fix/Condition/marc_all_match.t | 63 ++
t/Catmandu/Fix/Condition/marc_any_match.t | 76 ++
.../Fix/Condition/marc_has.t} | 16 +-
t/Catmandu/Fix/Condition/marc_has_many.t | 94 +++
t/Catmandu/Fix/Condition/marc_match.t | 64 ++
t/Catmandu/Fix/Condition/marc_spec_has.t | 38 +
t/Catmandu/Fix/Inline/marc_add.t | 17 +
t/Catmandu/Fix/Inline/marc_map.t | 17 +
t/Catmandu/Fix/Inline/marc_remove.t | 17 +
t/Catmandu/Fix/Inline/marc_set.t | 17 +
t/{09-marc_add.t => Catmandu/Fix/marc_add.t} | 20 +-
t/Catmandu/Fix/marc_append.t | 25 +
t/Catmandu/Fix/marc_copy.t | 224 ++++++
t/Catmandu/Fix/marc_cut.t | 243 ++++++
.../Fix/marc_decode_dollar_subfields.t} | 19 +-
.../Fix/marc_in_json.t} | 27 +-
t/{03-marc_map.t => Catmandu/Fix/marc_map.t} | 19 +-
t/Catmandu/Fix/marc_paste.t | 130 ++++
t/{05-marc_remove.t => Catmandu/Fix/marc_remove.t} | 19 +-
t/Catmandu/Fix/marc_replace_all.t | 53 ++
t/{12-marc_set.t => Catmandu/Fix/marc_set.t} | 20 +-
t/Catmandu/Fix/marc_spec.t | 165 ++++
t/Catmandu/Fix/marc_xml.t | 85 ++
t/Catmandu/Importer/MARC.t | 17 +
.../Importer/MARC/ALEPHSEQ.t} | 19 +-
t/Catmandu/Importer/MARC/Decoder.t | 17 +
t/{19-io-string.t => Catmandu/Importer/MARC/ISO.t} | 47 +-
t/Catmandu/Importer/MARC/Lint.t | 36 +
.../Importer/MARC/MARCMaker.t} | 20 +-
t/{11-mij.t => Catmandu/Importer/MARC/MiJ.t} | 20 +-
.../Importer/MARC/MicroLIF.t} | 19 +-
t/Catmandu/Importer/MARC/RAW.t | 32 +
t/Catmandu/Importer/MARC/Record.t | 39 +
t/Catmandu/Importer/MARC/XML.t | 44 ++
t/Catmandu/MARC.t | 17 +
t/{release-pod-syntax.t => author-pod-syntax.t} | 7 +-
t/broken.xml | 551 +++++++++++++
t/bu_bibs.mrc | 1 +
t/camel9.mrc | 1 +
t/{99-deprecate.t => deprecate.t} | 0
t/{07-inline-fix.t => inline-fix.t} | 35 +-
t/{18-inlineable.t => inlineable.t} | 0
t/mapping_rules.t | 566 ++++++++++++++
t/mapping_rules_spec.t | 851 +++++++++++++++++++++
t/marc-spec-subspecs.t | 402 ++++++++++
t/marc_spec.fix | 64 ++
...internal-syntax.t => old-new-internal-syntax.t} | 0
t/test.fix | 2 +
113 files changed, 7860 insertions(+), 710 deletions(-)
diff --cc Changes
index bf8059c,3635dd6..e1c2ed4
--- a/Changes
+++ b/Changes
@@@ -1,5 -1,89 +1,87 @@@
Revision history for Catmandu-MARC
-{{$NEXT}}
-
+ 1.19 2017-10-02 11:16:17 CEST
+ - Adding marc_all_match
+ - Adding marc_any_match
+ - Deprecating marc_match (in favor of marc_all_match)
+ - Fixing ALEPHSEQ exporter: adding a default 'FMT' field
+ - Moving all tests into a new tree for each seperate module
+
+ 1.18 2017-07-22 11:46:52 CEST
+ - Adding skip_errors option in the importer and exporter
+ - More POD
+ - Added more examples to the Catmandu::MARC::Tutorial
+
+ 1.171 2017-07-13 08:50:35 CEST
+ - Fixing 0 as false bug in marc_spec
+
+ 1.17 2017-07-12 11:45:56 CEST
+ - Fixing 0 as false bug when using from/until
+ - Fixing double fix execution bug
+ - Using better subfield defaults for marc_set
+ - Adding 'marc_cut' fix
+
+ 1.161 2017-07-06 14:36:29 CEST
+ - Fixing marc_replace_all evaluating search groups
+
+ 1.16 2017-07-04 15:27:51 CEST
+ - Adding marc_copy (Carsten Klee) and marc_paste fix
+
+ 1.15 2017-06-29 16:31:39 CEST
+ - Adding the marc_spec_has Fix Condition (Carsten Klee)
+ - Adding marc_replace_all fix
+ - Adding marc_append fix
+
+ 1.14 2017-06-23 07:48:49 CEST
+ - Upgrading to Catmandu 1.06X
+ - Using the Catmandu::Fix::Bind::Group style for marc_each bind
+
+ 1.13 2017-06-15 09:19:13 CEST
+ - Fixing join subfields per field correctly in marc_spec
+
+ 1.12 2017-05-29 10:23:23 CEST
+ - Fixing missing space to caret translation in 008 fields for ALEPHSEQ exports
+ - Upgrading to latest MARC::File::XML
+ - Providing documenation on the MARC-in-JSON format
+
+ 1.12 2017-05-29 10:23:23 CEST
+ - Fixing missing space to caret translation in 008 fields for ALEPHSEQ exports
+ - Upgrading to latest MARC::File::XML
+ - Providing documenation on the MARC-in-JSON format
+
+ 1.11 2017-05-15 09:11:38 CEST
+ - Upgrading to MARC::Spec 1.0.0
+ - Fixing MARCspec Parser exception
+ - Fixing undef values when using $append and split
+
+ 1.10 2017-05-02 11:48:37 CEST
+ - Adding support for nested_arrays and subspecs in marc_spec
+
+ 1.09 2017-03-27 11:29:28 CEST
+ - Supporting forced arrays for $prepend, $append, $first, $last and any digits in the path
+
+ 1.08 2017-03-06 09:55:53 CET
+ - Fixed broken $append mapping and added many more tests
+ - Adding a Wiki page with all mapping rules for marc_map and marc_spec
+ - Support dollar ($) to indicate subfields in marc_map
+ - Support period (.) to indicate a field wildard in marc_map
+ - Adding more tests
+
+ 1.07 2017-03-01 09:03:25 CET
+ - A marc_map(...,...,pluck:1,split:1) will return *all* the subfields specified in the path (undef when they don't exist in the MARC)
+
+ 1.06 2017-01-31 14:57:19 CET
+ - Adding support for inline marc_spec
+ - Updated POD
+
+ 1.05 2017-01-19 16:05:10 CET
+ - Adding Carsten Klee's MARC::Spec contribution
+ - Adding Carsten as contributor
+ - Buffering record in XML exporter for better serialization speed
+
+ 1.04 2017-01-18 09:23:26 CET
+ - Skipping new lines in ALEPHSEQ exports
+
1.03 2016-11-03 08:48:19 CET
- Adding a Catmandu::MARC::Tutorial
- Fixing a bug in the marc_has_many
diff --cc MANIFEST
index 22f9285,0000000..73d5ba4
mode 100644,000000..100644
--- a/MANIFEST
+++ b/MANIFEST
@@@ -1,77 -1,0 +1,119 @@@
- # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.039.
++# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008.
+Build.PL
+Changes
+LICENSE
++LICENSE-bu_bibs.txt
+MANIFEST
+MANIFEST.SKIP
+META.json
+META.yml
+README
+cpanfile
+lib/Catmandu/Exporter/MARC.pm
+lib/Catmandu/Exporter/MARC/ALEPHSEQ.pm
+lib/Catmandu/Exporter/MARC/Base.pm
+lib/Catmandu/Exporter/MARC/ISO.pm
+lib/Catmandu/Exporter/MARC/MARCMaker.pm
+lib/Catmandu/Exporter/MARC/MiJ.pm
+lib/Catmandu/Exporter/MARC/XML.pm
+lib/Catmandu/Fix/Bind/marc_each.pm
++lib/Catmandu/Fix/Condition/marc_all_match.pm
++lib/Catmandu/Fix/Condition/marc_any_match.pm
+lib/Catmandu/Fix/Condition/marc_has.pm
+lib/Catmandu/Fix/Condition/marc_has_many.pm
+lib/Catmandu/Fix/Condition/marc_match.pm
++lib/Catmandu/Fix/Condition/marc_spec_has.pm
+lib/Catmandu/Fix/Inline/marc_add.pm
+lib/Catmandu/Fix/Inline/marc_map.pm
+lib/Catmandu/Fix/Inline/marc_remove.pm
+lib/Catmandu/Fix/Inline/marc_set.pm
+lib/Catmandu/Fix/marc_add.pm
++lib/Catmandu/Fix/marc_append.pm
++lib/Catmandu/Fix/marc_copy.pm
++lib/Catmandu/Fix/marc_cut.pm
+lib/Catmandu/Fix/marc_decode_dollar_subfields.pm
+lib/Catmandu/Fix/marc_in_json.pm
+lib/Catmandu/Fix/marc_map.pm
++lib/Catmandu/Fix/marc_paste.pm
+lib/Catmandu/Fix/marc_remove.pm
++lib/Catmandu/Fix/marc_replace_all.pm
+lib/Catmandu/Fix/marc_set.pm
++lib/Catmandu/Fix/marc_spec.pm
+lib/Catmandu/Fix/marc_xml.pm
+lib/Catmandu/Importer/MARC.pm
+lib/Catmandu/Importer/MARC/ALEPHSEQ.pm
+lib/Catmandu/Importer/MARC/Decoder.pm
+lib/Catmandu/Importer/MARC/ISO.pm
+lib/Catmandu/Importer/MARC/Lint.pm
+lib/Catmandu/Importer/MARC/MARCMaker.pm
+lib/Catmandu/Importer/MARC/MiJ.pm
+lib/Catmandu/Importer/MARC/MicroLIF.pm
+lib/Catmandu/Importer/MARC/RAW.pm
+lib/Catmandu/Importer/MARC/Record.pm
+lib/Catmandu/Importer/MARC/XML.pm
+lib/Catmandu/MARC.pm
+lib/Catmandu/MARC/Tutorial.pod
- t/00-load.t
- t/01-importer.t
- t/02-aleph.t
- t/03-marc_map.t
- t/04-marc21.t
- t/05-marc_remove.t
- t/06-old-new-internal-syntax.t
- t/07-inline-fix.t
- t/08-exporter.t
- t/09-marc_add.t
- t/10-marcmaker.t
- t/11-mij.t
- t/12-marc_set.t
- t/13-marcxml.t
- t/14-marc_decode_dollar_subfields.t
- t/15-marc_in_json.t
- t/16-marc-each.t
- t/17-microlif.t
- t/18-inlineable.t
- t/19-io-string.t
- t/20-marc_has.t
- t/99-deprecate.t
++t/Catmandu/Exporter/MARC.t
++t/Catmandu/Exporter/MARC/ALEPHSEQ.t
++t/Catmandu/Exporter/MARC/Base.t
++t/Catmandu/Exporter/MARC/ISO.t
++t/Catmandu/Exporter/MARC/MARCMaker.t
++t/Catmandu/Exporter/MARC/MiJ.t
++t/Catmandu/Exporter/MARC/XML.t
++t/Catmandu/Fix/Bind/marc_each.t
++t/Catmandu/Fix/Condition/marc_all_match.t
++t/Catmandu/Fix/Condition/marc_any_match.t
++t/Catmandu/Fix/Condition/marc_has.t
++t/Catmandu/Fix/Condition/marc_has_many.t
++t/Catmandu/Fix/Condition/marc_match.t
++t/Catmandu/Fix/Condition/marc_spec_has.t
++t/Catmandu/Fix/Inline/marc_add.t
++t/Catmandu/Fix/Inline/marc_map.t
++t/Catmandu/Fix/Inline/marc_remove.t
++t/Catmandu/Fix/Inline/marc_set.t
++t/Catmandu/Fix/marc_add.t
++t/Catmandu/Fix/marc_append.t
++t/Catmandu/Fix/marc_copy.t
++t/Catmandu/Fix/marc_cut.t
++t/Catmandu/Fix/marc_decode_dollar_subfields.t
++t/Catmandu/Fix/marc_in_json.t
++t/Catmandu/Fix/marc_map.t
++t/Catmandu/Fix/marc_paste.t
++t/Catmandu/Fix/marc_remove.t
++t/Catmandu/Fix/marc_replace_all.t
++t/Catmandu/Fix/marc_set.t
++t/Catmandu/Fix/marc_spec.t
++t/Catmandu/Fix/marc_xml.t
++t/Catmandu/Importer/MARC.t
++t/Catmandu/Importer/MARC/ALEPHSEQ.t
++t/Catmandu/Importer/MARC/Decoder.t
++t/Catmandu/Importer/MARC/ISO.t
++t/Catmandu/Importer/MARC/Lint.t
++t/Catmandu/Importer/MARC/MARCMaker.t
++t/Catmandu/Importer/MARC/MiJ.t
++t/Catmandu/Importer/MARC/MicroLIF.t
++t/Catmandu/Importer/MARC/RAW.t
++t/Catmandu/Importer/MARC/Record.t
++t/Catmandu/Importer/MARC/XML.t
++t/Catmandu/MARC.t
++t/author-pod-syntax.t
++t/broken.xml
++t/bu_bibs.mrc
+t/camel.mrc
+t/camel.mrk
++t/camel9.mrc
++t/deprecate.t
+t/dollar_subfields.mrc
++t/inline-fix.t
++t/inlineable.t
++t/mapping_rules.t
++t/mapping_rules_spec.t
++t/marc-spec-subspecs.t
+t/marc.xml
++t/marc_spec.fix
++t/old-new-internal-syntax.t
+t/old_new.json
- t/release-pod-syntax.t
+t/rug01.aleph
+t/sample1.lif
+t/test.fix
+t/test.ndj
diff --cc META.json
index e901a1e,0000000..8d9fd04
mode 100644,000000..100644
--- a/META.json
+++ b/META.json
@@@ -1,98 -1,0 +1,103 @@@
+{
+ "abstract" : "Catmandu modules for working with MARC data",
+ "author" : [
+ "Patrick Hochstenbach, C<< <patrick.hochstenbach at ugent.be> >>"
+ ],
+ "dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.039, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150005",
++ "generated_by" : "Dist::Milla version v1.0.17, Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : 2
+ },
+ "name" : "Catmandu-MARC",
+ "no_index" : {
+ "directory" : [
- "t",
- "xt",
++ "eg",
++ "examples",
+ "inc",
+ "share",
- "eg",
- "examples"
++ "t",
++ "xt"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Module::Build" : "0.28"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.28"
+ }
+ },
+ "develop" : {
+ "requires" : {
- "Dist::Milla" : "v1.0.15",
++ "Dist::Milla" : "v1.0.17",
+ "Test::Pod" : "1.41"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
- "Catmandu" : "1.0201",
++ "Catmandu" : "1.0602",
+ "JSON::XS" : "2.3",
+ "List::Util" : "0",
+ "MARC::File::MARCMaker" : "0.05",
+ "MARC::File::MiJ" : "0.04",
- "MARC::File::XML" : "v1.0.3",
++ "MARC::File::XML" : "v1.0.5",
+ "MARC::Lint" : "0",
+ "MARC::Parser::RAW" : "0",
+ "MARC::Record" : "v2.0.6",
++ "MARC::Spec" : "v1.0.0",
+ "Memoize" : "0",
+ "Moo" : "1.0",
+ "MooX::Singleton" : "0",
+ "YAML::XS" : "0.34",
+ "perl" : "v5.10.1"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Pod::Simple::HTML" : "3.23",
+ "Test::Deep" : "0",
+ "Test::More" : "1.001003",
+ "Test::Pod" : "0",
+ "Test::Simple" : "1.001003",
++ "Test::Warn" : "0",
+ "Test::Warnings" : "0",
+ "XML::XPath" : "1.13"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/LibreCat/Catmandu-MARC/issues"
+ },
+ "homepage" : "https://github.com/LibreCat/Catmandu-MARC",
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/LibreCat/Catmandu-MARC.git",
+ "web" : "https://github.com/LibreCat/Catmandu-MARC"
+ }
+ },
- "version" : "1.03",
++ "version" : "1.19",
+ "x_contributors" : [
++ "Carsten Klee <carsten.klee at sbb.spk-berlin.de>",
++ "Carsten Klee <cKlee at users.noreply.github.com>",
+ "Chris Cormack <chrisc at catalyst.net.nz>",
+ "Jakob Voss <voss at gbv.de>",
+ "Johann Rolschewski <jorol at cpan.org>",
+ "Johann Rolschewski <rolschewski at gmail.com>",
++ "Nicolas Franck <nicolas.franck at ugent.be>",
+ "Nicolas Steenlant <nicolas.steenlant at ugent.be>",
+ "Patrick Hochstenbach <Patrick.Hochstenbach at UGent.be>",
- "Patrick Hochstenbach <patrick.hochstenbach at ugent.be>",
+ "Robin Sheat <robin at catalyst.net.nz>"
- ]
++ ],
++ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
+}
+
diff --cc META.yml
index c452a35,0000000..f939d9a
mode 100644,000000..100644
--- a/META.yml
+++ b/META.yml
@@@ -1,60 -1,0 +1,65 @@@
+---
+abstract: 'Catmandu modules for working with MARC data'
+author:
+ - 'Patrick Hochstenbach, C<< <patrick.hochstenbach at ugent.be> >>'
+build_requires:
+ Module::Build: '0.28'
+ Pod::Simple::HTML: '3.23'
+ Test::Deep: '0'
+ Test::More: '1.001003'
+ Test::Pod: '0'
+ Test::Simple: '1.001003'
++ Test::Warn: '0'
+ Test::Warnings: '0'
+ XML::XPath: '1.13'
+configure_requires:
+ Module::Build: '0.28'
+dynamic_config: 0
- generated_by: 'Dist::Zilla version 5.039, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150005'
++generated_by: 'Dist::Milla version v1.0.17, Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Catmandu-MARC
+no_index:
+ directory:
- - t
- - xt
- - inc
- - share
+ - eg
+ - examples
++ - inc
++ - share
++ - t
++ - xt
+requires:
+ Carp: '0'
- Catmandu: '1.0201'
++ Catmandu: '1.0602'
+ JSON::XS: '2.3'
+ List::Util: '0'
+ MARC::File::MARCMaker: '0.05'
+ MARC::File::MiJ: '0.04'
- MARC::File::XML: v1.0.3
++ MARC::File::XML: v1.0.5
+ MARC::Lint: '0'
+ MARC::Parser::RAW: '0'
+ MARC::Record: v2.0.6
++ MARC::Spec: v1.0.0
+ Memoize: '0'
+ Moo: '1.0'
+ MooX::Singleton: '0'
+ YAML::XS: '0.34'
+ perl: v5.10.1
+resources:
+ bugtracker: https://github.com/LibreCat/Catmandu-MARC/issues
+ homepage: https://github.com/LibreCat/Catmandu-MARC
+ repository: https://github.com/LibreCat/Catmandu-MARC.git
- version: '1.03'
++version: '1.19'
+x_contributors:
++ - 'Carsten Klee <carsten.klee at sbb.spk-berlin.de>'
++ - 'Carsten Klee <cKlee at users.noreply.github.com>'
+ - 'Chris Cormack <chrisc at catalyst.net.nz>'
+ - 'Jakob Voss <voss at gbv.de>'
+ - 'Johann Rolschewski <jorol at cpan.org>'
+ - 'Johann Rolschewski <rolschewski at gmail.com>'
++ - 'Nicolas Franck <nicolas.franck at ugent.be>'
+ - 'Nicolas Steenlant <nicolas.steenlant at ugent.be>'
+ - 'Patrick Hochstenbach <Patrick.Hochstenbach at UGent.be>'
- - 'Patrick Hochstenbach <patrick.hochstenbach at ugent.be>'
+ - 'Robin Sheat <robin at catalyst.net.nz>'
++x_serialization_backend: 'YAML::Tiny version 1.69'
diff --cc README
index 9e96b7e,e1f0376..158ce66
--- a/README
+++ b/README
@@@ -1,112 -1,7 +1,131 @@@
-Catmandu::MARC - Catmandu modules for working with MARC data
+NAME
-To install run:
+ Catmandu::MARC - Catmandu modules for working with MARC data
+
+SYNOPSIS
+
+ # On the command line
+
+ $ catmandu convert MARC to JSON < data.mrc
+
+ $ catmandu convert MARC --type MiJ to YAML < data.marc_in_json
+
+ $ catmandu convert MARC --fix "marc_map(245,title)" < data.mrc
+
+ $ catmandu convert MARC --fix myfixes.txt < data.mrc
+
+ myfixes:
+
+ marc_map("245a", title)
+ marc_map("5**", note.$append)
+ marc_map('710','my.authors.$append')
+ marc_map('008_/35-35','my.language')
+ remove_field(record)
+ add_field(my.funny.field,'test123')
+
+ $ catmandu import MARC --fix myfixes.txt to ElasticSearch --index_name 'catmandu' < data.marc
+
+ # In perl
+ use Catmandu;
+
+ my $importer = Catmandu->importer('MARC', file => 'data.mrc' );
+ my $fixer = Catmandu->fixer('myfixes.txt');
+ my $store = Catmandu->store('ElasticSearch', index_name => 'catmandu');
+
+ $store->add_many(
+ $fixer->fix($importer)
+ );
+
+MODULES
+
++ * Catmandu::MARC::Tutorial
++
+ * Catmandu::Importer::MARC
+
+ * Catmandu::Exporter::MARC
+
+ * Catmandu::Fix::marc_map
+
++ * Catmandu::Fix::marc_spec
++
+ * Catmandu::Fix::marc_add
+
++ * Catmandu::Fix::marc_append
++
++ * Catmandu::Fix::marc_replace_all
++
+ * Catmandu::Fix::marc_remove
+
+ * Catmandu::Fix::marc_xml
+
+ * Catmandu::Fix::marc_in_json
+
+ * Catmandu::Fix::marc_decode_dollar_subfields
+
+ * Catmandu::Fix::marc_set
+
++ * Catmandu::Fix::marc_copy
++
++ * Catmandu::Fix::marc_cut
++
++ * Catmandu::Fix::marc_paste
++
+ * Catmandu::Fix::Bind::marc_each
+
+ * Catmandu::Fix::Condition::marc_match
+
+ * Catmandu::Fix::Condition::marc_has
+
+ * Catmandu::Fix::Condition::marc_has_many
+
++ * Catmandu::Fix::Condition::marc_spec_has
++
+ * Catmandu::Fix::Inline::marc_map
+
+ * Catmandu::Fix::Inline::marc_add
+
+ * Catmandu::Fix::Inline::marc_remove
+
+DESCRIPTION
+
+ With Catmandu, LibreCat tools abstract digital library and research
+ services as data warehouse processes. As stores we reuse MongoDB or
+ ElasticSearch providing us with developer friendly APIs. Catmandu works
+ with international library standards such as MARC, MODS and Dublin
+ Core, protocols such as OAI-PMH, SRU and open repositories such as
+ DSpace and Fedora. And, of course, we speak the evolving Semantic Web.
+
+ Follow us on http://librecat.org and read an introduction into Catmandu
+ data processing at https://github.com/LibreCat/Catmandu/wiki.
+
+SEE ALSO
+
- Catmandu, Catmandu::Importer, Catmandu::Fix, Catmandu::Store
++ Catmandu, Catmandu::Importer, Catmandu::Fix, Catmandu::Store,
++ MARC::Spec
+
+AUTHOR
+
+ Patrick Hochstenbach, <patrick.hochstenbach at ugent.be>
+
+CONTRIBUTORS
+
+ * Nicolas Steenlant, <nicolas.steenlant at ugent.be>
+
+ * Nicolas Franck, <nicolas.franck at ugent.be>
+
+ * Johann Rolschewski, jorol at cpan.org
+
+ * Chris Cormack
+
+ * Robin Sheat
+
++ * Carsten Klee, klee at cpan.org
++
+LICENSE AND COPYRIGHT
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of either: the GNU General Public License as published
+ by the Free Software Foundation; or the Artistic License.
+
+ See http://dev.perl.org/licenses/ for more information.
- $ perl ./Build.PL
- $ ./Build test
- $ ./Build install
diff --cc t/author-pod-syntax.t
index cdd6a6c,0000000..2233af0
mode 100644,000000..100644
--- a/t/author-pod-syntax.t
+++ b/t/author-pod-syntax.t
@@@ -1,14 -1,0 +1,15 @@@
+#!perl
+
+BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
++ unless ($ENV{AUTHOR_TESTING}) {
++ print qq{1..0 # SKIP these tests are for testing by the author\n};
++ exit
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
++use strict; use warnings;
+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/libcatmandu-marc-perl.git
More information about the Pkg-perl-cvs-commits
mailing list