Codebase list libconfig-model-lcdproc-perl / 6bdc43f
New upstream version 2.052 Dominique Dumont 6 years ago
7 changed file(s) with 33 addition(s) and 27 deletion(s). Raw diff Collapse all Expand all
5151 'Module::Build' => '0.34'
5252 },
5353 'configure_requires' => {
54 'Config::Model' => '2.076',
55 'Config::Model::Itself' => '2.005',
54 'Config::Model' => '2.111',
55 'Config::Model::Itself' => '2.012',
5656 'Getopt::Long' => '0',
5757 'Module::Build' => '0.34',
5858 'Path::Tiny' => '0'
5959 },
6060 'requires' => {
61 'Config::Model' => '2.043',
61 'Config::Model' => '2.111',
6262 'perl' => '5.010'
6363 },
6464
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
08 2.051 2017-08-27
19
210 Updated for lcdproc 0.5.9:
2020 },
2121 "configure" : {
2222 "requires" : {
23 "Config::Model" : "2.076",
24 "Config::Model::Itself" : "2.005",
23 "Config::Model" : "2.111",
24 "Config::Model::Itself" : "2.012",
2525 "Getopt::Long" : "0",
2626 "Module::Build" : "0.34",
2727 "Path::Tiny" : "0"
2929 },
3030 "runtime" : {
3131 "requires" : {
32 "Config::Model" : "2.043",
32 "Config::Model" : "2.111",
3333 "perl" : "5.010"
3434 }
3535 },
5252 "web" : "http://github.com/dod38fr/config-model-lcdproc"
5353 }
5454 },
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"
5757 }
5858
55 Config::Model::Tester: '0'
66 Module::Build: '0.34'
77 configure_requires:
8 Config::Model: '2.076'
9 Config::Model::Itself: '2.005'
8 Config::Model: '2.111'
9 Config::Model::Itself: '2.012'
1010 Getopt::Long: '0'
1111 Module::Build: '0.34'
1212 Path::Tiny: '0'
1818 version: '1.4'
1919 name: Config-Model-LcdProc
2020 requires:
21 Config::Model: '2.043'
21 Config::Model: '2.111'
2222 perl: '5.010'
2323 resources:
2424 bugtracker: https://github.com/dod38fr/config-model-lcdproc/issues
2525 homepage: https://github.com/dod38fr/config-model/wiki
2626 repository: git://github.com/dod38fr/config-model-lcdproc.git
27 version: '2.051'
27 version: '2.052'
2828 x_serialization_backend: 'YAML::Tiny version 1.70'
77 # The GNU Lesser General Public License, Version 2.1, February 1999
88 #
99 package Config::Model::LcdProc;
10 $Config::Model::LcdProc::VERSION = '2.051';
10 $Config::Model::LcdProc::VERSION = '2.052';
1111 use 5.10.1;
1212
13 use Config::Model 2.043;
13 use Config::Model 2.111;
1414
1515 1;
1616
2828
2929 =head1 VERSION
3030
31 version 2.051
31 version 2.052
3232
3333 =head1 SYNOPSIS
3434
947947 ],
948948 'license' => 'GPL-2',
949949 'name' => 'LCDd',
950 'read_config' => [
951 {
952 'backend' => 'IniFile',
953 'config_dir' => '/etc',
954 'file' => 'LCDd.conf'
955 }
956 ]
950 'rw_config' => {
951 'backend' => 'IniFile',
952 'config_dir' => '/etc',
953 'file' => 'LCDd.conf'
954 }
957955 }
958956 ]
959957 ;
3737 # user documentation
3838 # 5/ Write the resulting LCDd model
3939
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
4242
4343 use 5.010;
4444 use Path::Tiny;
144144 config_class_name => 'Dummy::Class'
145145 }
146146 ],
147 read_config => [{
147 rw_config => {
148148 backend => 'IniFile',
149149 config_dir => 'tmp', # created above
150150 file => 'LCDd.conf'
151 }]
151 }
152152 );
153153
154154 # Now the dummy configuration class is created. Let's create a
190190 # add INI backend (So LCDd model will be able to read INI files)
191191 $meta_root->load( qq!
192192 class:LCDd
193 read_config:0
193 rw_config
194194 backend=ini_file
195195 config_dir="/etc"
196196 file="LCDd.conf"