Skip to content

Commit a2a6272

Browse files
author
Ovid
committed
Assert minimum version number for File::Path (fix make_path errors)
1 parent ad5df3a commit a2a6272

File tree

5 files changed

+38
-25
lines changed

5 files changed

+38
-25
lines changed

Build.PL

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ my $builder = Module::Build->new(
1111
requires => {
1212
'Syntax::Highlight::Engine::Kate' => 0.06,
1313
'Digest::MD5' => 0,
14-
'Term::ANSIColor' => 0, # 3.0 or better to get bright colors
14+
'Term::ANSIColor' => 0, # 3.0 or better to get bright colors
15+
'File::Path' => '2.07',
1516
},
17+
configure_requires => { 'Module::Build' => '0.4' },
1618
add_to_cleanup => ['DB-Color-*'],
1719
create_makefile_pl => 'traditional',
1820
recursive_test_files => 1,

Changes

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Revision history for DB-Color
22

3+
0.10 2012/01/08
4+
- Fix "Argument isn't numeric" warnings.
5+
- Assert minimum version of File::Path to fix "make_path is not
6+
exported" build failures.
7+
38
0.09 2012/09/05
49
- Don't use BRIGHT_BLUE if they have Term::ANSIColor < 3 (Cosimo
510
Streppone)

META.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Curtis 'Ovid' Poe <[email protected]>"
55
],
66
"dynamic_config" : 1,
7-
"generated_by" : "Module::Build version 0.4, CPAN::Meta::Converter version 2.120630",
7+
"generated_by" : "Module::Build version 0.4, CPAN::Meta::Converter version 2.120351",
88
"license" : [
99
"perl_5"
1010
],
@@ -21,28 +21,30 @@
2121
},
2222
"configure" : {
2323
"requires" : {
24-
"Module::Build" : "0.36"
24+
"Module::Build" : "0.4"
2525
}
2626
},
2727
"runtime" : {
2828
"requires" : {
2929
"Digest::MD5" : "0",
30-
"Syntax::Highlight::Engine::Kate" : "0.06"
30+
"File::Path" : "2.07",
31+
"Syntax::Highlight::Engine::Kate" : "0.06",
32+
"Term::ANSIColor" : "0"
3133
}
3234
}
3335
},
3436
"provides" : {
3537
"DB::Color" : {
3638
"file" : "lib/DB/Color.pm",
37-
"version" : "0.08"
39+
"version" : "0.10"
3840
},
3941
"DB::Color::Config" : {
4042
"file" : "lib/DB/Color/Config.pm",
41-
"version" : "0.08"
43+
"version" : "0.10"
4244
},
4345
"DB::Color::Highlight" : {
4446
"file" : "lib/DB/Color/Highlight.pm",
45-
"version" : "0.08"
47+
"version" : "0.10"
4648
}
4749
},
4850
"release_status" : "stable",
@@ -54,5 +56,5 @@
5456
"url" : "https://github.com/Ovid/DB--Color"
5557
}
5658
},
57-
"version" : "0.08"
59+
"version" : "0.10"
5860
}

META.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ author:
55
build_requires:
66
Test::More: 0
77
configure_requires:
8-
Module::Build: 0.36
8+
Module::Build: 0.4
99
dynamic_config: 1
10-
generated_by: 'Module::Build version 0.4, CPAN::Meta::Converter version 2.120630'
10+
generated_by: 'Module::Build version 0.4, CPAN::Meta::Converter version 2.120351'
1111
license: perl
1212
meta-spec:
1313
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,17 +16,19 @@ name: DB-Color
1616
provides:
1717
DB::Color:
1818
file: lib/DB/Color.pm
19-
version: 0.08
19+
version: 0.10
2020
DB::Color::Config:
2121
file: lib/DB/Color/Config.pm
22-
version: 0.08
22+
version: 0.10
2323
DB::Color::Highlight:
2424
file: lib/DB/Color/Highlight.pm
25-
version: 0.08
25+
version: 0.10
2626
requires:
2727
Digest::MD5: 0
28+
File::Path: 2.07
2829
Syntax::Highlight::Engine::Kate: 0.06
30+
Term::ANSIColor: 0
2931
resources:
3032
license: http://dev.perl.org/licenses/
3133
repository: https://github.com/Ovid/DB--Color
32-
version: 0.08
34+
version: 0.10

Makefile.PL

+13-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22
use ExtUtils::MakeMaker;
33
WriteMakefile
44
(
5-
'test' => {
6-
'TESTS' => 't/*.t'
7-
},
8-
'PL_FILES' => {},
9-
'INSTALLDIRS' => 'site',
105
'NAME' => 'DB::Color',
11-
'EXE_FILES' => [
12-
'script/perldbsyntax'
13-
],
146
'VERSION_FROM' => 'lib/DB/Color.pm',
157
'PREREQ_PM' => {
16-
'Test::More' => 0,
8+
'Digest::MD5' => 0,
9+
'File::Path' => '2.07',
1710
'Syntax::Highlight::Engine::Kate' => '0.06',
18-
'Digest::MD5' => 0
19-
}
11+
'Term::ANSIColor' => 0,
12+
'Test::More' => 0
13+
},
14+
'INSTALLDIRS' => 'site',
15+
'EXE_FILES' => [
16+
'script/perldbsyntax'
17+
],
18+
'PL_FILES' => {},
19+
'test' => {
20+
'TESTS' => 't/*.t'
21+
}
2022
)
2123
;

0 commit comments

Comments
 (0)