Net-Z3950-FOLIO

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "HTTP::Cookies" : "6.08",
            "LWP::Protocol::https" : "6.04",
            "LWP::UserAgent" : "6.05",
            "MARC::File::XML" : "v1.0.5",
            "MARC::Record" : "2",
            "Mozilla::CA" : "20200520",
            "Net::Z3950::PQF" : "1",
            "Net::Z3950::SimpleServer" : "1.21",
            "Net::Z3950::ZOOM" : "1.3",
            "Params::ValidationCompiler" : "0.3",
            "Test::Differences" : "0.61",
            "Unicode::Diacritic::Strip" : "0.13",
            "XML::Simple" : "2.25",
            "XML::XSLT" : "0.48"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://issues.folio.org/projects/ZF/issues"

META.yml  view on Meta::CPAN

  HTTP::Cookies: '6.08'
  LWP::Protocol::https: '6.04'
  LWP::UserAgent: '6.05'
  MARC::File::XML: v1.0.5
  MARC::Record: '2'
  Mozilla::CA: '20200520'
  Net::Z3950::PQF: '1'
  Net::Z3950::SimpleServer: '1.21'
  Net::Z3950::ZOOM: '1.3'
  Params::ValidationCompiler: '0.3'
  Test::Differences: '0.61'
  Unicode::Diacritic::Strip: '0.13'
  XML::Simple: '2.25'
  XML::XSLT: '0.48'
resources:
  bugtracker: https://issues.folio.org/projects/ZF/issues
  repository: https://github.com/folio-org/Net-Z3950-FOLIO.git
version: v4.3.0
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

	HTTP::Cookies => 6.08,
	DateTime => 1.65,
	Mozilla::CA => 20200520,
	Cpanel::JSON::XS => 4.08,
	MARC::Record => 2.0,
	MARC::File::XML => 1.0.5,
	Net::Z3950::ZOOM => 1.30,
	XML::Simple => 2.25,
	Net::Z3950::PQF => 1.0,
	Unicode::Diacritic::Strip => 0.13,
	Test::Differences => 0.61,
	Params::ValidationCompiler => 0.30,
	XML::XSLT => 0.48,
    },
    META_ADD => {
	no_index => {
	    namespace => [ 'Net::Z3950::RPN' ],
	},
    },
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/Net/Z3950/FOLIO.pm', # retrieve abstract from module

t/03-folio-to-opac.t  view on Meta::CPAN

# What about using records that are in the inventory-storage
# schema(s)? Like in
# https://github.com/folio-org/mod-inventory-storage/tree/master/sample-data/instances

use strict;
use warnings;
use IO::File;
use MARC::Record;
use Cpanel::JSON::XS qw(decode_json);
use Test::More tests => 5;
use Test::Differences;
oldstyle_diff;
BEGIN { use_ok('Net::Z3950::FOLIO') };
use Net::Z3950::FOLIO::OPACXMLRecord;
use DummyRecord;

# Values taken from some random USMARC record
my $dummyMarc = makeDummyMarc();

for (my $testNo = 1; $testNo <= 4; $testNo++) {
    my $i = $testNo eq 4 ? 3 : $testNo;

t/07-fetch.t  view on Meta::CPAN

	[ 'JSON', 'F', 'sorted1.json' ],
	[ 'XML', 'raw', 'inventory1.xml' ],
	[ 'XML', 'usmarc', 'marc1.xml' ],
	[ 'XML', 'opac', 'marc1.opac.xml' ],
	[ 'USMARC', 'F', 'marc1.usmarc' ],
	[ 'USMARC', 'b', 'marc1.usmarc' ],
    );
}

use Test::More tests => 5 + 2*scalar(@tests);
use Test::Differences;
oldstyle_diff;

BEGIN { use_ok('Net::Z3950::FOLIO') };

my $SETNAME = 'dummy';
my $session = mock_session();
ok(defined $session, 'mocked session');

my $args = {
    HANDLE => $session,

t/08-short-session.t  view on Meta::CPAN

# Note that this test currently emits a harmless, though alarming, message:
#	Unknown argument "limit" on field "T_instance.holdingsRecords2".
# This is due to the Index Data FOLIO testing server being out of
# date. It should be cleared up in early 2022.

use strict;
use warnings;
use Test::More tests => 5;
use Test::Differences;
oldstyle_diff;

BEGIN { use_ok('Net::Z3950::FOLIO') };

SKIP: {
    skip('zoomsh not available', 4) if system('zoomsh quit') ne 0;

    # This test runs perfectly well as
    #	perl -I lib t/08-short-session.t
    # But for reasons that I can't begin to understand, it goes mad



( run in 0.858 second using v1.01-cache-2.11-cpan-131fc08a04b )