Skip to content

Commit

Permalink
Merge a0629a8 into 4cd86ec
Browse files Browse the repository at this point in the history
  • Loading branch information
cKlee committed May 12, 2017
2 parents 4cd86ec + a0629a8 commit e016d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requires 'MARC::File::MiJ' , '0.04';
requires 'MARC::Record', '2.0.6';
requires 'MARC::Lint', '0';
requires 'MARC::Parser::RAW', '0';
requires 'MARC::Spec', '0.1.4';
requires 'MARC::Spec', '1.0.0';
requires 'Memoize', '0';
requires 'Moo', '1.0';
requires 'MooX::Singleton', '0';
4 changes: 2 additions & 2 deletions lib/Catmandu/MARC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Catmandu::MARC;
use Catmandu::Sane;
use Catmandu::Util;
use Catmandu::Exporter::MARC::XML;
use MARC::Spec;
use MARC::Spec::Parser;
use List::Util;
use Memoize;
use Carp;
Expand Down Expand Up @@ -701,7 +701,7 @@ sub _validate_subspec {

sub parse_marc_spec {
my ( $self, $marc_spec ) = @_;
return MARC::Spec->parse( $marc_spec )
return MARC::Spec::Parser->new( $marc_spec )->marcspec
}

sub _get_index_range {
Expand Down

0 comments on commit e016d15

Please sign in to comment.