New upstream version 2.052
Dominique Dumont
6 years ago
51 | 51 |
'Module::Build' => '0.34'
|
52 | 52 |
},
|
53 | 53 |
'configure_requires' => {
|
54 | |
'Config::Model' => '2.076',
|
55 | |
'Config::Model::Itself' => '2.005',
|
|
54 |
'Config::Model' => '2.111',
|
|
55 |
'Config::Model::Itself' => '2.012',
|
56 | 56 |
'Getopt::Long' => '0',
|
57 | 57 |
'Module::Build' => '0.34',
|
58 | 58 |
'Path::Tiny' => '0'
|
59 | 59 |
},
|
60 | 60 |
'requires' => {
|
61 | |
'Config::Model' => '2.043',
|
|
61 |
'Config::Model' => '2.111',
|
62 | 62 |
'perl' => '5.010'
|
63 | 63 |
},
|
64 | 64 |
|
|
0 |
2.052 2017-10-05
|
|
1 |
|
|
2 |
Update following the deprecation done recently in Config::Model:
|
|
3 |
* use new rw_config parameter in model generator, thus generated
|
|
4 |
LCDd models also use the new rw_config parameter
|
|
5 |
* runtime requires Config::Model 2.111
|
|
6 |
* build also requires Config::Model::Itself 2.012
|
|
7 |
|
0 | 8 |
2.051 2017-08-27
|
1 | 9 |
|
2 | 10 |
Updated for lcdproc 0.5.9:
|
20 | 20 |
},
|
21 | 21 |
"configure" : {
|
22 | 22 |
"requires" : {
|
23 | |
"Config::Model" : "2.076",
|
24 | |
"Config::Model::Itself" : "2.005",
|
|
23 |
"Config::Model" : "2.111",
|
|
24 |
"Config::Model::Itself" : "2.012",
|
25 | 25 |
"Getopt::Long" : "0",
|
26 | 26 |
"Module::Build" : "0.34",
|
27 | 27 |
"Path::Tiny" : "0"
|
|
29 | 29 |
},
|
30 | 30 |
"runtime" : {
|
31 | 31 |
"requires" : {
|
32 | |
"Config::Model" : "2.043",
|
|
32 |
"Config::Model" : "2.111",
|
33 | 33 |
"perl" : "5.010"
|
34 | 34 |
}
|
35 | 35 |
},
|
|
52 | 52 |
"web" : "http://github.com/dod38fr/config-model-lcdproc"
|
53 | 53 |
}
|
54 | 54 |
},
|
55 | |
"version" : "2.051",
|
56 | |
"x_serialization_backend" : "JSON::XS version 3.03"
|
|
55 |
"version" : "2.052",
|
|
56 |
"x_serialization_backend" : "JSON::XS version 3.04"
|
57 | 57 |
}
|
58 | 58 |
|
5 | 5 |
Config::Model::Tester: '0'
|
6 | 6 |
Module::Build: '0.34'
|
7 | 7 |
configure_requires:
|
8 | |
Config::Model: '2.076'
|
9 | |
Config::Model::Itself: '2.005'
|
|
8 |
Config::Model: '2.111'
|
|
9 |
Config::Model::Itself: '2.012'
|
10 | 10 |
Getopt::Long: '0'
|
11 | 11 |
Module::Build: '0.34'
|
12 | 12 |
Path::Tiny: '0'
|
|
18 | 18 |
version: '1.4'
|
19 | 19 |
name: Config-Model-LcdProc
|
20 | 20 |
requires:
|
21 | |
Config::Model: '2.043'
|
|
21 |
Config::Model: '2.111'
|
22 | 22 |
perl: '5.010'
|
23 | 23 |
resources:
|
24 | 24 |
bugtracker: https://github.com/dod38fr/config-model-lcdproc/issues
|
25 | 25 |
homepage: https://github.com/dod38fr/config-model/wiki
|
26 | 26 |
repository: git://github.com/dod38fr/config-model-lcdproc.git
|
27 | |
version: '2.051'
|
|
27 |
version: '2.052'
|
28 | 28 |
x_serialization_backend: 'YAML::Tiny version 1.70'
|
7 | 7 |
# The GNU Lesser General Public License, Version 2.1, February 1999
|
8 | 8 |
#
|
9 | 9 |
package Config::Model::LcdProc;
|
10 | |
$Config::Model::LcdProc::VERSION = '2.051';
|
|
10 |
$Config::Model::LcdProc::VERSION = '2.052';
|
11 | 11 |
use 5.10.1;
|
12 | 12 |
|
13 | |
use Config::Model 2.043;
|
|
13 |
use Config::Model 2.111;
|
14 | 14 |
|
15 | 15 |
1;
|
16 | 16 |
|
|
28 | 28 |
|
29 | 29 |
=head1 VERSION
|
30 | 30 |
|
31 | |
version 2.051
|
|
31 |
version 2.052
|
32 | 32 |
|
33 | 33 |
=head1 SYNOPSIS
|
34 | 34 |
|
37 | 37 |
# user documentation
|
38 | 38 |
# 5/ Write the resulting LCDd model
|
39 | 39 |
|
40 | |
use Config::Model 2.076;
|
41 | |
use Config::Model::Itself 2.005; # to create the model
|
|
40 |
use Config::Model 2.111;
|
|
41 |
use Config::Model::Itself 2.012; # to create the model
|
42 | 42 |
|
43 | 43 |
use 5.010;
|
44 | 44 |
use Path::Tiny;
|
|
144 | 144 |
config_class_name => 'Dummy::Class'
|
145 | 145 |
}
|
146 | 146 |
],
|
147 | |
read_config => [{
|
|
147 |
rw_config => {
|
148 | 148 |
backend => 'IniFile',
|
149 | 149 |
config_dir => 'tmp', # created above
|
150 | 150 |
file => 'LCDd.conf'
|
151 | |
}]
|
|
151 |
}
|
152 | 152 |
);
|
153 | 153 |
|
154 | 154 |
# Now the dummy configuration class is created. Let's create a
|
|
190 | 190 |
# add INI backend (So LCDd model will be able to read INI files)
|
191 | 191 |
$meta_root->load( qq!
|
192 | 192 |
class:LCDd
|
193 | |
read_config:0
|
|
193 |
rw_config
|
194 | 194 |
backend=ini_file
|
195 | 195 |
config_dir="/etc"
|
196 | 196 |
file="LCDd.conf"
|