[libconfig-model-itself-perl] 09/11: New upstream version 2.008
dod at debian.org
dod at debian.org
Sat Mar 11 18:27:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-itself-perl.
commit 7170039767a0427eb771cc63998507b1f4b41498
Author: Dominique Dumont <dod at debian.org>
Date: Sat Mar 11 19:21:09 2017 +0100
New upstream version 2.008
---
Changes | 7 +++++++
META.json | 2 +-
META.yml | 2 +-
lib/App/Cme/Command/meta.pm | 4 ++--
lib/Config/Model/Itself.pm | 4 ++--
lib/Config/Model/Itself/BackendDetector.pm | 4 ++--
lib/Config/Model/Itself/TkEditUI.pm | 2 +-
lib/Config/Model/models/Itself/Application.pl | 8 ++++++++
t/cme-meta-plugin.t | 2 ++
9 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/Changes b/Changes
index d252cd7..16e25b1 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,10 @@
+2.008 2017-03-11
+
+ New features:
+ * add support_info in application model. Used by
+ Comfig::Model 2.100 to inform user how to report
+ a bug when a parameter is missing from a model
+
2.007 2017-03-05
New features:
diff --git a/META.json b/META.json
index fa399f3..bfde0a2 100644
--- a/META.json
+++ b/META.json
@@ -75,7 +75,7 @@
"web" : "http://github.com/dod38fr/config-model-itself"
}
},
- "version" : "2.007",
+ "version" : "2.008",
"x_serialization_backend" : "JSON::XS version 3.03"
}
diff --git a/META.yml b/META.yml
index 6b81f54..adbe7a5 100644
--- a/META.yml
+++ b/META.yml
@@ -47,5 +47,5 @@ resources:
bugtracker: https://github.com/dod38fr/config-model-itself/issues
homepage: https://github.com/dod38fr/config-model/wiki
repository: git://github.com/dod38fr/config-model-itself.git
-version: '2.007'
+version: '2.008'
x_serialization_backend: 'YAML::Tiny version 1.70'
diff --git a/lib/App/Cme/Command/meta.pm b/lib/App/Cme/Command/meta.pm
index c2950b6..a545eb8 100644
--- a/lib/App/Cme/Command/meta.pm
+++ b/lib/App/Cme/Command/meta.pm
@@ -10,7 +10,7 @@
# ABSTRACT: Edit the configuration of an application
package App::Cme::Command::meta ;
-$App::Cme::Command::meta::VERSION = '2.007';
+$App::Cme::Command::meta::VERSION = '2.008';
use strict ;
use warnings ;
use 5.10.1;
@@ -405,7 +405,7 @@ App::Cme::Command::meta - Edit the configuration of an application
=head1 VERSION
-version 2.007
+version 2.008
=head1 SYNOPSIS
diff --git a/lib/Config/Model/Itself.pm b/lib/Config/Model/Itself.pm
index 32fc40e..37f83a4 100644
--- a/lib/Config/Model/Itself.pm
+++ b/lib/Config/Model/Itself.pm
@@ -8,7 +8,7 @@
# The GNU Lesser General Public License, Version 2.1, February 1999
#
package Config::Model::Itself ;
-$Config::Model::Itself::VERSION = '2.007';
+$Config::Model::Itself::VERSION = '2.008';
use Mouse ;
use Config::Model 2.098;
use 5.010;
@@ -763,7 +763,7 @@ Config::Model::Itself - Model editor for Config::Model
=head1 VERSION
-version 2.007
+version 2.008
=head1 SYNOPSIS
diff --git a/lib/Config/Model/Itself/BackendDetector.pm b/lib/Config/Model/Itself/BackendDetector.pm
index 57db72a..cbb99b3 100644
--- a/lib/Config/Model/Itself/BackendDetector.pm
+++ b/lib/Config/Model/Itself/BackendDetector.pm
@@ -8,7 +8,7 @@
# The GNU Lesser General Public License, Version 2.1, February 1999
#
package Config::Model::Itself::BackendDetector ;
-$Config::Model::Itself::BackendDetector::VERSION = '2.007';
+$Config::Model::Itself::BackendDetector::VERSION = '2.008';
# since this package is mostly targeted for dev environments
# let the detector detect models under development
use lib 'lib';
@@ -102,7 +102,7 @@ Config::Model::Itself::BackendDetector - Detect available read/write backends us
=head1 VERSION
-version 2.007
+version 2.008
=head1 SYNOPSIS
diff --git a/lib/Config/Model/Itself/TkEditUI.pm b/lib/Config/Model/Itself/TkEditUI.pm
index 69b4d01..bd76c8b 100644
--- a/lib/Config/Model/Itself/TkEditUI.pm
+++ b/lib/Config/Model/Itself/TkEditUI.pm
@@ -26,7 +26,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
package Config::Model::Itself::TkEditUI ;
-$Config::Model::Itself::TkEditUI::VERSION = '2.007';
+$Config::Model::Itself::TkEditUI::VERSION = '2.008';
use strict;
use warnings ;
use Carp ;
diff --git a/lib/Config/Model/models/Itself/Application.pl b/lib/Config/Model/models/Itself/Application.pl
index 1a10ae8..db601b4 100644
--- a/lib/Config/Model/models/Itself/Application.pl
+++ b/lib/Config/Model/models/Itself/Application.pl
@@ -65,6 +65,14 @@
description => "set configuration directory where config file is read from "
. "or written to. This value does not override a directory specified in the model."
},
+ support_info => {
+ type => 'leaf',
+ value_type => 'uniline',
+ description => "Instructions to let user report a bug for this application. This URL is shown in "
+ . 'the message of unknown element exception in the string "please submit a bug report '
+ . '$support_info". Defaults to an url to Config::Model bug tracker',
+ upstream_default => 'to https://github.com/dod38fr/config-model/issues',
+ }
],
}
] ;
diff --git a/t/cme-meta-plugin.t b/t/cme-meta-plugin.t
index 10f6686..d2367f8 100644
--- a/t/cme-meta-plugin.t
+++ b/t/cme-meta-plugin.t
@@ -54,6 +54,8 @@ SKIP: {
]
) ;
+ say $result->stdout if $trace;
+
like($result->stdout , qr/Preparing plugin my-plugin for model Fstab/, "edit plugin and quit");
like($result->stdout , qr/Test mode: save and quit/, "edit plugin is in test mode");
my $plug_out = $wr_test->child('models/Fstab.d/my-plugin/Fstab/CommonOptions.pl');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-itself-perl.git
More information about the Pkg-perl-cvs-commits
mailing list