Skip to content

Commit

Permalink
0.239
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Dec 12, 2019
1 parent 08756e9 commit b9c1841
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Revision history for Catmandu-BagIt

{{$NEXT}}

0.239 2019-12-12 14:26:57 CET
- Adding support for use supplied MD5 checksums [njfranck]

0.238 2019-10-11 07:48:24 CEST
Expand Down
2 changes: 1 addition & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"web" : "https://github.com/LibreCat/Catmandu-BagIt"
}
},
"version" : "0.238",
"version" : "0.239",
"x_contributors" : [
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
"Nicolas Franck <nicolas.franck@ugent.be>",
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,16 @@ Return an ARRAY of real payload files found on disk as Catmandu::BagIt::Payload.

Get a Catmandu::BagIt::Payload object for the file $filename.

## add\_file($filename, $string)
## add\_file($filename, $string, %opts)

## add\_file($filename, IO::File->new(...))
## add\_file($filename, IO::File->new(...), %opts)

## add\_file($filaname, sub { my $io = shift; .... })
## add\_file($filaname, sub { my $io = shift; .... }, %opts)

Add a new file to the BagIt.
Add a new file to the BagIt. Possible options:

overwrite => 1 - remove the old file
md5 => "" - supply an MD5 (don't recalculate it)

## remove\_file($filename)

Expand Down Expand Up @@ -266,6 +269,10 @@ Mirror a Catmandu::BagIt::Fetch object to local disk.

Patrick Hochstenbach <Patrick.Hochstenbach@UGent.be>

# CONTRIBUTORS

Nicolas Franck, `nicolas.franck at ugent.be`

# COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Patrick Hochstenbach.
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/BagIt.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::BagIt;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Catmandu::Sane;
use Catmandu;
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/BagIt/Fetch.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::BagIt::Fetch;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Moo;
use IO::String;
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/BagIt/Payload.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::BagIt::Payload;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Moo;
use IO::File;
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/Exporter/BagIt.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::Exporter::BagIt;

our $VERSION = '0.238';
our $VERSION = '0.239';

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/Importer/BagIt.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::Importer::BagIt;

our $VERSION = '0.238';
our $VERSION = '0.239';

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/Store/File/BagIt.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::Store::File::BagIt;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Catmandu::Sane;
use Moo;
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/Store/File/BagIt/Bag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Catmandu::Store::File::BagIt::Bag;

use Catmandu::Sane;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Moo;
use Carp;
Expand Down
2 changes: 1 addition & 1 deletion lib/Catmandu/Store/File/BagIt/Index.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Catmandu::Store::File::BagIt::Index;

our $VERSION = '0.238';
our $VERSION = '0.239';

use Catmandu::Sane;
use Moo;
Expand Down

0 comments on commit b9c1841

Please sign in to comment.