Hello community,
here is the log from the commit of package perl-Config-IniFiles for
openSUSE:Factory checked in at 2020-03-25 23:44:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-IniFiles (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-IniFiles"
Wed Mar 25 23:44:53 2020 rev:47 rq:788142 version:3.000003
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Config-IniFiles/perl-Config-IniFiles.changes
2019-03-18 10:34:21.927545470 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new.3160/perl-Config-IniFiles.changes
2020-03-25 23:46:13.928051219 +0100
@@ -1,0 +2,6 @@
+Wed Mar 25 03:07:48 UTC 2020 - <[email protected]>
+
+- updated to 3.000003
+ see /usr/share/doc/packages/perl-Config-IniFiles/Changes
+
+-------------------------------------------------------------------
Old:
----
Config-IniFiles-3.000002.tar.gz
New:
----
Config-IniFiles-3.000003.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-IniFiles.spec ++++++
--- /var/tmp/diff_new_pack.hDdkAE/_old 2020-03-25 23:46:15.796051830 +0100
+++ /var/tmp/diff_new_pack.hDdkAE/_new 2020-03-25 23:46:15.800051831 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Config-IniFiles
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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-Config-IniFiles
-Version: 3.000002
+Version: 3.000003
Release: 0
%define cpan_name Config-IniFiles
Summary: Module for reading .ini-style configuration files
@@ -61,7 +61,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes OLD-Changes.txt README scripts
+%doc Changes OLD-Changes.txt README
%license LICENSE
%changelog
++++++ Config-IniFiles-3.000002.tar.gz -> Config-IniFiles-3.000003.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/Build.PL
new/Config-IniFiles-3.000003/Build.PL
--- old/Config-IniFiles-3.000002/Build.PL 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/Build.PL 2020-03-24 16:44:06.000000000
+0100
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild
v6.014.
use strict;
use warnings;
@@ -19,7 +19,7 @@
"Shlomi Fish <shlomif\@cpan.org>"
],
"dist_name" => "Config-IniFiles",
- "dist_version" => "3.000002",
+ "dist_version" => "3.000003",
"license" => "perl",
"module_name" => "Config::IniFiles",
"recursive_test_files" => 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/Changes
new/Config-IniFiles-3.000003/Changes
--- old/Config-IniFiles-3.000002/Changes 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/Changes 2020-03-24 16:44:06.000000000
+0100
@@ -1,3 +1,13 @@
+3.000003 2020-03-24
+ * Fix stray non-ASCII characters in the versions in the Changes log.
+ - https://rt.cpan.org/Ticket/Display.html?id=125161
+ - Thanks to SREZIC.
+ * Throw an error on failed close() before rename() to overwrite the file.
+ - https://rt.cpan.org/Ticket/Display.html?id=114140
+ - Thanks to SREZIC and fschlich.
+ * Allow overriding the output chmod() file permissions.
+ - https://rt.cpan.org/Ticket/Display.html?id=84431
+
3.000002 2019-03-14
* Fix error with missing here doc end marker
- Thanks to Igor Korchynskyi .
@@ -13,18 +23,18 @@
- Thanks to @ppentchev
* Resubmit with new version to please CPAN/metacpan/etc.
-2.99 2018-07-12
+2.99 2018-07-12
* Fix the link to the repository
- https://github.com/shlomif/perl-Config-IniFiles/issues/4
- Thanks to @bessarabov for the report.
-2.98 2018-04-21
+2.98 2018-04-21
* Remove old author-only test scripts.
- https://rt.cpan.org/Ticket/Display.html?id=125161
- Thanks to SREZIC for the report.
-2.97 2018-04-21
- * Apply pull-request to implement -php_compat
+2.97 2018-04-21
+ * Apply pull-request to implement -php_compat
- https://github.com/shlomif/perl-Config-IniFiles/pull/3
- https://rt.cpan.org/Ticket/Display.html?id=102339
- Thanks to @Sadrak !
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/MANIFEST
new/Config-IniFiles-3.000003/MANIFEST
--- old/Config-IniFiles-3.000002/MANIFEST 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/MANIFEST 2020-03-24 16:44:06.000000000
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.014.
Build.PL
Changes
LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/META.json
new/Config-IniFiles-3.000003/META.json
--- old/Config-IniFiles-3.000002/META.json 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/META.json 2020-03-24 16:44:06.000000000
+0100
@@ -4,7 +4,7 @@
"Shlomi Fish <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010",
+ "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version
2.150010",
"keywords" : [
"config",
"configuration",
@@ -84,7 +84,7 @@
"provides" : {
"Config::IniFiles" : {
"file" : "lib/Config/IniFiles.pm",
- "version" : "3.000002"
+ "version" : "3.000003"
}
},
"release_status" : "stable",
@@ -99,10 +99,10 @@
"web" : "https://github.com/shlomif/perl-Config-IniFiles"
}
},
- "version" : "3.000002",
+ "version" : "3.000003",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.028001"
+ "version" : "5.030002"
},
"plugins" : [
{
@@ -114,17 +114,17 @@
}
},
"name" : "@Filter/TestMoreDoneTesting",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Filter/AutoPrereqs",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Filter/ExecDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
@@ -140,22 +140,22 @@
}
},
"name" : "@Filter/GatherDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Filter/ManifestSkip",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Filter/MetaYAML",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Filter/PruneCruft",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -170,7 +170,7 @@
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Filter/ShareDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -180,7 +180,7 @@
}
},
"name" : "@Filter/MakeMaker",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
@@ -190,22 +190,22 @@
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Filter/ConfirmRelease",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Filter/Manifest",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Filter/MetaConfig",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Filter/MetaJSON",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -215,7 +215,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" :
"@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.012"
+ "version" : "6.014"
}
],
"include_underscores" : 0
@@ -227,7 +227,7 @@
"meta_noindex" : 1
},
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000033",
+ "Module::Metadata" : "1.000036",
"version" : "0.006"
}
},
@@ -237,7 +237,7 @@
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@Filter/MetaResources",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
@@ -247,27 +247,22 @@
}
},
"name" : "@Filter/ModuleBuild",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Filter/PkgVersion",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Filter/PodCoverageTests",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Filter/PodSyntaxTests",
- "version" : "6.012"
- },
- {
- "class" : "Dist::Zilla::Plugin::PodVersion",
- "name" : "@Filter/PodVersion",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
@@ -302,7 +297,7 @@
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Filter/TestRelease",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -396,7 +391,7 @@
{
"class" : "Pod::Weaver::Section::Support",
"name" : "Support",
- "version" : "1.010"
+ "version" : "1.013"
}
]
}
@@ -407,7 +402,7 @@
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Filter/UploadToCPAN",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Keywords",
@@ -479,57 +474,57 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.012"
+ "version" : "6.014"
}
],
"zilla" : {
@@ -537,10 +532,11 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.012"
+ "version" : "6.014"
}
},
- "x_generated_by_perl" : "v5.28.1",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.09"
+ "x_generated_by_perl" : "v5.30.2",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
+ "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/META.yml
new/Config-IniFiles-3.000003/META.yml
--- old/Config-IniFiles-3.000002/META.yml 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/META.yml 2020-03-24 16:44:06.000000000
+0100
@@ -20,7 +20,7 @@
ExtUtils::MakeMaker: '0'
Module::Build: '0.28'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010'
+generated_by: 'Dist::Zilla version 6.014, CPAN::Meta::Converter version
2.150010'
keywords:
- config
- configuration
@@ -40,7 +40,7 @@
provides:
Config::IniFiles:
file: lib/Config/IniFiles.pm
- version: '3.000002'
+ version: '3.000003'
requires:
Carp: '0'
Fcntl: '0'
@@ -57,10 +57,10 @@
bugtracker: https://github.com/shlomif/perl-Config-IniFiles/issues
homepage: http://metacpan.org/release/Config-IniFiles
repository: git://github.com/shlomif/perl-Config-IniFiles.git
-version: '3.000002'
+version: '3.000003'
x_Dist_Zilla:
perl:
- version: '5.028001'
+ version: '5.030002'
plugins:
-
class: Dist::Zilla::Plugin::Prereqs
@@ -69,15 +69,15 @@
phase: test
type: requires
name: '@Filter/TestMoreDoneTesting'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Filter/AutoPrereqs'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Filter/ExecDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::GatherDir
config:
@@ -90,19 +90,19 @@
prune_directory: []
root: .
name: '@Filter/GatherDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Filter/ManifestSkip'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Filter/MetaYAML'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Filter/PruneCruft'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
@@ -113,14 +113,14 @@
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Filter/ShareDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@Filter/MakeMaker'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::CheckChangesHasContent
name: '@Filter/CheckChangesHasContent'
@@ -128,19 +128,19 @@
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Filter/ConfirmRelease'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Filter/Manifest'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Filter/MetaConfig'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Filter/MetaJSON'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -149,7 +149,7 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.012'
+ version: '6.014'
include_underscores: 0
Dist::Zilla::Role::MetaProvider::Provider:
$Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
@@ -157,37 +157,33 @@
inherit_version: '1'
meta_noindex: '1'
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000033'
+ Module::Metadata: '1.000036'
version: '0.006'
name: '@Filter/MetaProvides::Package'
version: '2.004003'
-
class: Dist::Zilla::Plugin::MetaResources
name: '@Filter/MetaResources'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ModuleBuild
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@Filter/ModuleBuild'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Filter/PkgVersion'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Filter/PodCoverageTests'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Filter/PodSyntaxTests'
- version: '6.012'
- -
- class: Dist::Zilla::Plugin::PodVersion
- name: '@Filter/PodVersion'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
config:
@@ -213,7 +209,7 @@
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Filter/TestRelease'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -289,13 +285,13 @@
-
class: Pod::Weaver::Section::Support
name: Support
- version: '1.010'
+ version: '1.013'
name: '@Filter/PodWeaver'
version: '4.008'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Filter/UploadToCPAN'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Keywords
config:
@@ -351,51 +347,52 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.012'
+ version: '6.014'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '6.012'
-x_generated_by_perl: v5.28.1
+ version: '6.014'
+x_generated_by_perl: v5.30.2
x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/Makefile.PL
new/Config-IniFiles-3.000003/Makefile.PL
--- old/Config-IniFiles-3.000002/Makefile.PL 2019-03-14 14:34:05.000000000
+0100
+++ new/Config-IniFiles-3.000003/Makefile.PL 2020-03-24 16:44:06.000000000
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.014.
use strict;
use warnings;
@@ -46,7 +46,7 @@
"lib" => 0,
"parent" => 0
},
- "VERSION" => "3.000002",
+ "VERSION" => "3.000003",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/lib/Config/IniFiles.pm
new/Config-IniFiles-3.000003/lib/Config/IniFiles.pm
--- old/Config-IniFiles-3.000002/lib/Config/IniFiles.pm 2019-03-14
14:34:05.000000000 +0100
+++ new/Config-IniFiles-3.000003/lib/Config/IniFiles.pm 2020-03-24
16:44:06.000000000 +0100
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '3.000002';
+our $VERSION = '3.000003';
use Carp;
use Symbol 'gensym', 'qualify_to_ref'; # For the 'any data type' hack
use Fcntl qw( SEEK_SET SEEK_CUR );
@@ -158,7 +158,7 @@
$self->{php_compat} = $v ? 1 : 0;
}
- $self->{comment_char} = '#' unless exists $self->{comment_char};
+ $self->{comment_char} = '#' unless exists $self->{comment_char};
$self->{allowed_comment_char} = ';'
unless exists $self->{allowed_comment_char};
@@ -193,7 +193,7 @@
if ( $self->_nocase )
{
- foreach my $ref (grep { defined } @refs[0..1])
+ foreach my $ref ( grep { defined } @refs[ 0 .. 1 ] )
{
${$ref} = lc( ${$ref} );
}
@@ -201,18 +201,19 @@
if ( $self->{php_compat} )
{
- foreach my $ref (grep { defined } @refs[1..1])
+ foreach my $ref ( grep { defined } @refs[ 1 .. 1 ] )
{
${$ref} =~ s{\[\]$}{};
}
- foreach my $ref (grep { defined } @refs[2..$#refs])
+ foreach my $ref ( grep { defined } @refs[ 2 .. $#refs ] )
{
- if (length(${$ref}) >= 2)
+ if ( length( ${$ref} ) >= 2 )
{
- my $quote = substr(${$ref}, 0, 1);
- if (($quote eq q{"} or $quote eq q{'}) and substr(${$ref}, -1,
1) eq $quote)
+ my $quote = substr( ${$ref}, 0, 1 );
+ if ( ( $quote eq q{"} or $quote eq q{'} )
+ and substr( ${$ref}, -1, 1 ) eq $quote )
{
- ${$ref} = substr(${$ref}, 1, -1);
+ ${$ref} = substr( ${$ref}, 1, -1 );
${$ref} =~ s{$quote$quote}{}g;
${$ref} =~ s{\\$quote}{$quote}g if $quote eq q{"};
}
@@ -446,7 +447,7 @@
$nextchar = <$fh>;
return undef if ( !defined $nextchar );
$s .= $nextchar;
- } until ($s =~ m/((\015|\012|\025|\n)$)/s);
+ } until ( $s =~ m/((\015|\012|\025|\n)$)/s );
$self->{line_ends} = $1;
if ( $nextchar eq "\x0d" )
{
@@ -487,7 +488,7 @@
# an open handle, then just roll back to the start
if ( !ref( $self->{cf} ) )
{
- close($fh);
+ close($fh) or Carp::confess("close failed: $!");
}
else
{
@@ -962,8 +963,12 @@
# also check if it's a real file (could have been a filehandle made from a
scalar).
if ( ref($fh) ne "IO::Scalar" && -e $fh )
{
- my @stats = stat $fh;
- $self->{file_mode} = sprintf( "%04o", $stats[2] ) if defined $stats[2];
+ if ( not exists $self->{file_mode} )
+ {
+ my @stats = stat $fh;
+ $self->{file_mode} = sprintf( "%04o", $stats[2] )
+ if defined $stats[2];
+ }
}
# The first lines of the file must be blank, comments or start with [
@@ -1319,8 +1324,11 @@
#carp "File $filename is not writable. Refusing to write config";
return undef;
}
- my $mode = ( stat $filename )[2];
- $self->{file_mode} = sprintf "%04o", ( $mode & 0777 );
+ if ( not exists $self->{file_mode} )
+ {
+ my $mode = ( stat $filename )[2];
+ $self->{file_mode} = sprintf "%04o", ( $mode & 0777 );
+ }
#carp "Using mode $self->{file_mode} for file $file";
}
@@ -1353,7 +1361,7 @@
}
$self->OutputConfigToFileHandle( $fh, $parms{-delta} );
- close($fh);
+ close($fh) or Carp::confess("close failed: $!");
if ( !rename( $new_file, $filename ) )
{
carp "Unable to rename temp config file ($new_file) to ${filename}:
$!";
@@ -1361,7 +1369,10 @@
}
if ( exists $self->{file_mode} )
{
- chmod oct( $self->{file_mode} ), $filename;
+ if ( not chmod( oct( $self->{file_mode} ), $filename ) )
+ {
+ carp "Unable to chmod $filename!";
+ }
}
return 1;
@@ -1475,7 +1486,7 @@
my $eotmark = $self->{EOT}{$sect}{$parm} || 'EOT';
# Make sure the $eotmark does not occur inside the string.
- my @letters = ( 'A' .. 'Z' );
+ my @letters = ( 'A' .. 'Z' );
my $joined_val = join( q{ }, @$val );
while ( index( $joined_val, $eotmark ) >= 0 )
{
@@ -1613,7 +1624,7 @@
}
return;
}
- return if not defined $self->{v}{$sect};
+ return if not defined $self->{v}{$sect};
$print_line->() if ( $position > 0 );
$self->_output_comments( $print_line, $self->{sCMT}{$sect} );
@@ -1983,7 +1994,8 @@
$self->_caseify( \$key );
return if ( !$self->{v}{$key} );
- return $self->{_section_cache}->{$key} if exists
$self->{_section_cache}->{$key};
+ return $self->{_section_cache}->{$key}
+ if exists $self->{_section_cache}->{$key};
my %retval;
tie %retval, 'Config::IniFiles::_section', $self, $key;
@@ -2381,7 +2393,7 @@
=head1 VERSION
-version 3.000002
+version 3.000003
=head1 SYNOPSIS
@@ -2396,10 +2408,6 @@
your Perl script. Configurations can be imported (inherited, stacked,...),
sections can be grouped, and settings can be accessed from a tied hash.
-=head1 VERSION
-
-version 3.000002
-
=head1 FILE FORMAT
INI files consist of a number of sections, each preceded with the
@@ -3348,7 +3356,7 @@
patch to an existing test-file that illustrates the bug or desired
feature.
-=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants
kwalitee diff irc mailto metadata placeholders metacpan
+=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc
mailto metadata placeholders metacpan
=head1 SUPPORT
@@ -3375,14 +3383,6 @@
=item *
-Search CPAN
-
-The default CPAN search engine, useful to view POD in HTML format.
-
-L<http://search.cpan.org/dist/Config-IniFiles>
-
-=item *
-
RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system
for CPAN.
@@ -3391,22 +3391,6 @@
=item *
-AnnoCPAN
-
-The AnnoCPAN is a website that allows community annotations of Perl module
documentation.
-
-L<http://annocpan.org/dist/Config-IniFiles>
-
-=item *
-
-CPAN Ratings
-
-The CPAN Ratings is a website that allows community ratings and reviews of
Perl modules.
-
-L<http://cpanratings.perl.org/d/Config-IniFiles>
-
-=item *
-
CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a
distribution.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-IniFiles-3.000002/scripts/tag-release.pl
new/Config-IniFiles-3.000003/scripts/tag-release.pl
--- old/Config-IniFiles-3.000002/scripts/tag-release.pl 2019-03-14
14:34:05.000000000 +0100
+++ new/Config-IniFiles-3.000003/scripts/tag-release.pl 2020-03-24
16:44:06.000000000 +0100
@@ -3,24 +3,21 @@
use strict;
use warnings;
-use IO::All;
+use IO::All qw/ io /;
my ($version) =
- (map { m{\$VERSION *= *'([^']+)'} ? ($1) : () }
- io->file('lib/Config/IniFiles.pm')->getlines()
- )
- ;
+ ( map { m{\$VERSION *= *'([^']+)'} ? ($1) : () }
+ io->file('lib/Config/IniFiles.pm')->getlines() );
-if (!defined ($version))
+if ( !defined($version) )
{
die "Version is undefined!";
}
my @cmd = (
- "git", "tag", "-m",
- "Tagging the Config-IniFiles release as $version",
+ "git", "tag", "-m", "Tagging the Config-IniFiles release as $version",
"releases/$version",
);
-print join(" ", map { /\s/ ? qq{"$_"} : $_ } @cmd), "\n";
+print join( " ", map { /\s/ ? qq{"$_"} : $_ } @cmd ), "\n";
exec(@cmd);