Hello community,
here is the log from the commit of package perl-Test-Directory for
openSUSE:Factory checked in at 2019-09-27 14:54:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Directory (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Directory.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Directory"
Fri Sep 27 14:54:17 2019 rev:2 rq:733632 version:0.051
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Directory/perl-Test-Directory.changes
2018-10-11 11:58:13.993811361 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Directory.new.2352/perl-Test-Directory.changes
2019-09-27 14:55:14.975703646 +0200
@@ -1,0 +2,14 @@
+Thu Sep 26 08:30:44 UTC 2019 - <[email protected]>
+
+- updated to 0.051
+ see /usr/share/doc/packages/perl-Test-Directory/Changes
+
+
+ 0.05 2019-09-21
+ -fix merge issues that prevented some features from being released
+ -add overloaded {} operator
+
+ 0.05.1 2019-09-24
+ -rm overloaded {} operator, doesn't seem to work anymore
+
+-------------------------------------------------------------------
Old:
----
Test-Directory-0.041.tar.gz
New:
----
Test-Directory-0.051.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Directory.spec ++++++
--- /var/tmp/diff_new_pack.WYZsND/_old 2019-09-27 14:55:16.351700068 +0200
+++ /var/tmp/diff_new_pack.WYZsND/_new 2019-09-27 14:55:16.355700057 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Directory
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Test-Directory
-Version: 0.041
+Version: 0.051
Release: 0
%define cpan_name Test-Directory
Summary: Perl extension for maintaining test directories
@@ -25,6 +25,7 @@
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/S/SA/SANBEG/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -33,11 +34,18 @@
%{perl_requires}
%description
-Sometimes, testing code involves making sure that files are created and
-deleted as expected. This module simplifies maintaining test directories by
-tracking their status as they are modified or tested with this API, making
-it simple to test both individual files, as well as to verify that there
-are no missing or unknown files.
+Testing code can involve making sure that files are created and deleted as
+expected. Doing this manually can be error prone, as it's easy to forget a
+file, or miss that some unexpected file was added. This module simplifies
+maintaining test directories by tracking their status as they are modified
+or tested with this API, making it simple to test both individual files, as
+well as to verify that there are no missing or unknown files.
+
+The idea is to use this API to create a temporary directory and populate an
+initial set of files. Then, whenever something in the directory is changes,
+use the test methods to verify that the change happened as expected. At any
+time, it is simple to verify that the contents of the directory are exactly
+as expected.
Test::Directory implements an object-oriented interface for managing test
directories. It tracks which files it knows about (by creating or testing
++++++ Test-Directory-0.041.tar.gz -> Test-Directory-0.051.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Directory-0.041/Changes
new/Test-Directory-0.051/Changes
--- old/Test-Directory-0.041/Changes 2013-04-05 20:57:50.000000000 +0200
+++ new/Test-Directory-0.051/Changes 2019-09-25 04:30:28.000000000 +0200
@@ -8,4 +8,10 @@
-add support for subdirs
-implicitly do File::Spec->join(split'/',$path) on all paths
+0.05 2019-09-21
+ -fix merge issues that prevented some features from being released
+ -add overloaded {} operator
+0.05.1 2019-09-24
+ -rm overloaded {} operator, doesn't seem to work anymore
+
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Directory-0.041/META.json
new/Test-Directory-0.051/META.json
--- old/Test-Directory-0.041/META.json 2013-05-16 03:49:21.000000000 +0200
+++ new/Test-Directory-0.051/META.json 2019-09-25 04:30:54.000000000 +0200
@@ -4,7 +4,7 @@
"Steve Sanbeg <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter
version 2.112150",
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
@@ -22,13 +22,13 @@
"prereqs" : {
"build" : {
"requires" : {
- "Test::Builder::Tester" : 0,
- "Test::Exception" : 0
+ "Test::Builder::Tester" : "0",
+ "Test::Exception" : "0"
}
},
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : 0
+ "ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
@@ -41,5 +41,6 @@
"url" : "https://github.com/sanbeg/Test-Directory"
}
},
- "version" : "0.041"
+ "version" : "0.051",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Directory-0.041/META.yml
new/Test-Directory-0.051/META.yml
--- old/Test-Directory-0.041/META.yml 2013-05-16 03:49:21.000000000 +0200
+++ new/Test-Directory-0.051/META.yml 2019-09-25 04:30:54.000000000 +0200
@@ -3,16 +3,16 @@
author:
- 'Steve Sanbeg <[email protected]>'
build_requires:
- Test::Builder::Tester: 0
- Test::Exception: 0
+ Test::Builder::Tester: '0'
+ Test::Exception: '0'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version
2.112150'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Directory
no_index:
directory:
@@ -21,4 +21,5 @@
requires: {}
resources:
repository: https://github.com/sanbeg/Test-Directory
-version: 0.041
+version: '0.051'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Directory-0.041/README
new/Test-Directory-0.051/README
--- old/Test-Directory-0.041/README 2013-04-05 17:22:09.000000000 +0200
+++ new/Test-Directory-0.051/README 2019-09-22 03:10:10.000000000 +0200
@@ -40,7 +40,7 @@
- Test::Builder::Tester
-COPYRIGHT AND LICENCE
+COPYRIGHT AND LICENSE
Copyright (C) 2013 by Steve Sanbeg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Directory-0.041/lib/Test/Directory.pm
new/Test-Directory-0.051/lib/Test/Directory.pm
--- old/Test-Directory-0.041/lib/Test/Directory.pm 2013-05-16
03:48:51.000000000 +0200
+++ new/Test-Directory-0.051/lib/Test/Directory.pm 2019-09-25
04:29:35.000000000 +0200
@@ -9,7 +9,7 @@
use File::Temp;
use Test::Builder::Module;
-our $VERSION = '0.041';
+our $VERSION = '0.051';
our @ISA = 'Test::Builder::Module';
##############################
@@ -119,12 +119,16 @@
foreach my $file ( keys %{$self->{files}} ) {
unlink $self->path($file);
};
- foreach my $dir ( keys %{$self->{directories}} ) {
- rmdir $self->path($dir);
+ #get subdirs before parents
+ foreach my $dir (sort {length($b) <=> length($a)}
+ keys %{$self->{directories}} ) {
+ rmdir $self->path($dir);
};
- rmdir $self->{dir};
+ my $rv = rmdir $self->{dir};
+ carp "$self->{dir}: $1" unless $rv;
+ return $rv;
}
-
+
sub _path_map {
my $self = shift;
my %path;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module