Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 1a4a8ac

Browse files
authored
release v0.4
release v0.4
2 parents 8524243 + 958fb02 commit 1a4a8ac

File tree

13 files changed

+19
-16
lines changed

13 files changed

+19
-16
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,4 @@ install:
5050

5151
script:
5252
- perl Makefile.PL
53-
- make && make test TEST_VERBOSE=1
54-
# - perl .TRAVIS.PL 2>&1
53+
- make && make test TEST_VERBOSE=1 TEST_FUNCTION=1

Makefile.PL

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ WriteMakefile(
2424
'Carp' => 0,
2525
'Try::Tiny' => 0,
2626
'File::Spec' => 0,
27+
'Scalar::Util::Numeric' => 0,
2728
'List::MoreUtils' => 0,
2829
'Moo' => 0,
2930
'Generator::Object' => 0,

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3
1+
0.4

lib/GlusterFS/GFAPI/FFI.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ package GlusterFS::GFAPI::FFI;
168168
BEGIN
169169
{
170170
our $AUTHOR = 'cpan:potatogim';
171-
our $VERSION = '0.3';
171+
our $VERSION = '0.4';
172172
}
173173

174174
use strict;
@@ -450,7 +450,7 @@ GlusterFS::GFAPI::FFI - FFI Perl binding for GlusterFS libgfapi
450450
451451
=head1 VERSION
452452
453-
0.3
453+
0.4
454454
455455
=head1 SYNOPSIS
456456

lib/GlusterFS/GFAPI/FFI/Dir.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GlusterFS::GFAPI::FFI::Dir;
33
BEGIN
44
{
55
our $AUTHOR = 'cpan:potatogim';
6-
our $VERSION = '0.3';
6+
our $VERSION = '0.4';
77
}
88

99
use strict;

lib/GlusterFS/GFAPI/FFI/DirEntry.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GlusterFS::GFAPI::FFI::DirEntry;
33
BEGIN
44
{
55
our $AUTHOR = 'cpan:potatogim';
6-
our $VERSION = '0.3';
6+
our $VERSION = '0.4';
77
}
88

99
use strict;

lib/GlusterFS/GFAPI/FFI/File.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GlusterFS::GFAPI::FFI::File;
33
BEGIN
44
{
55
our $AUTHOR = 'cpan:potatogim';
6-
our $VERSION = '0.3';
6+
our $VERSION = '0.4';
77
}
88

99
use strict;

lib/GlusterFS/GFAPI/FFI/Util.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GlusterFS::GFAPI::FFI::Util;
33
BEGIN
44
{
55
our $AUTHOR = 'cpan:potatogim';
6-
our $VERSION = '0.3';
6+
our $VERSION = '0.4';
77
}
88

99
use strict;

lib/GlusterFS/GFAPI/FFI/Volume.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GlusterFS::GFAPI::FFI::Volume;
33
BEGIN
44
{
55
our $AUTHOR = 'cpan:potatogim';
6-
our $VERSION = '0.3';
6+
our $VERSION = '0.4';
77
}
88

99
use strict;

perl-glusterfs-api.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name: perl-glusterfs-api
66
Summary: Perl bindings for GlusterFS libgfapi
7-
Version: 0.3
7+
Version: 0.4
88
Release: 1%{?dist}
99
License: GPLv2 or LGPLv3+
1010
Group: System Environment/Libraries

t/00-api.t

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use strict;
44
use warnings;
55
use utf8;
66

7+
use Env;
78
use POSIX qw/:fcntl_h/;
89
use Scalar::Util qw/weaken/;
910
use Test::Most;
@@ -20,6 +21,11 @@ use constant
2021

2122
diag('00-api.t');
2223

24+
if (!$ENV{TEST_FUNCTION})
25+
{
26+
plan(skip_all => 'TEST_FUNCTION not enabled so it will be skipped');
27+
}
28+
2329
use_ok('GlusterFS::GFAPI::FFI');
2430

2531
my $api = GlusterFS::GFAPI::FFI->new();

t/01-unit.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ BEGIN
2121
use lib "$ROOTDIR/lib", "$ROOTDIR/t/lib";
2222

2323
use TestFile;
24-
#use TestDir;
25-
#use TestVolume;
24+
use TestDir;
25+
use TestVolume;
2626

2727
Test::Class->runtests;
2828

t/lib/TestVolume.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,9 +2513,6 @@ sub test_copytree_success : Test(no_plan)
25132513
, 'makedirs() called 1 + 3 times');
25142514

25152515
# Assert that copystat() was called on source and destination dir
2516-
use Data::Dumper;
2517-
print Dumper($mock_info{copystat});
2518-
25192516
my $called = 0;
25202517
my $index = 0;
25212518

0 commit comments

Comments
 (0)