File tree Expand file tree Collapse file tree 8 files changed +40
-10
lines changed Expand file tree Collapse file tree 8 files changed +40
-10
lines changed Original file line number Diff line number Diff line change 1
1
Changes for Perl extension Portable
2
2
3
+ 0.09 Wed 2 Jul 2008
4
+ - Fixing my_documents, my_data, etc in Portable::HomeDir.
5
+ - Implementing my_data also fixes Portable::CPAN.
6
+ - Adding CPAN::Mini as a dependency for that backend.
7
+
3
8
0.08 Tue 1 Jul 2008
4
9
- Adding a dependency on a new version of File::HomeDir
5
10
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ requires 'List::Util' => '1.19';
5
5
requires ' File::Spec' => ' 0.80' ;
6
6
requires ' Parse::CPAN::Meta' => ' 0.03' ;
7
7
requires ' File::HomeDir' => ' 0.80' ;
8
+ requires ' CPAN::Mini' => ' 0.570' ;
8
9
test_requires ' Test::More' => ' 0.42' ;
9
10
test_requires ' Class::Inspector' => ' 1.20' ;
10
11
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ package CPAN::Mini::Portable;
3
3
use 5.008;
4
4
use strict;
5
5
use warnings;
6
- use base ' CPAN::Mini' ;
7
- use Portable ();
6
+ use CPAN::Mini () ;
7
+ use Portable ();
8
8
9
- our $VERSION = ' 0.08' ;
9
+ our $VERSION = ' 0.09' ;
10
+ our @ISA = ' CPAN::Mini' ;
10
11
11
12
sub new {
12
13
my $class = shift ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ use File::Spec ();
60
60
use List::Util ();
61
61
use Parse::CPAN::Meta ();
62
62
63
- our $VERSION = ' 0.08 ' ;
63
+ our $VERSION = ' 0.09 ' ;
64
64
65
65
# This variable is provided exclusively for the
66
66
# use of test scripts.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use strict;
5
5
use warnings;
6
6
use Carp ();
7
7
8
- our $VERSION = ' 0.08 ' ;
8
+ our $VERSION = ' 0.09 ' ;
9
9
10
10
# Create the enumerations
11
11
our %bin = map { $_ => 1 } qw{
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use warnings;
6
6
use Carp ();
7
7
use File::Spec ();
8
8
9
- our $VERSION = ' 0.08 ' ;
9
+ our $VERSION = ' 0.09 ' ;
10
10
11
11
12
12
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ use Carp ();
9
9
use Scalar::Util ();
10
10
use File::HomeDir::Driver ();
11
11
12
- our $VERSION = ' 0.08' ;
13
- our @ISA = ();
12
+ our $VERSION = ' 0.09' ;
14
13
15
14
16
15
@@ -89,4 +88,29 @@ sub my_home {
89
88
_SELF(@_ )-> {my_home };
90
89
}
91
90
91
+ # The concept of "my_desktop" is incompatible with the idea of
92
+ # a Portable Perl distribution (because Windows won't overwrite
93
+ # the desktop with anything on the flash drive)
94
+ # sub my_desktop
95
+
96
+ sub my_documents {
97
+ _SELF(@_ )-> {my_documents };
98
+ }
99
+
100
+ sub my_music {
101
+ _SELF(@_ )-> {my_music };
102
+ }
103
+
104
+ sub my_pictures {
105
+ _SELF(@_ )-> {my_pictures };
106
+ }
107
+
108
+ sub my_videos {
109
+ _SELF(@_ )-> {my_videos };
110
+ }
111
+
112
+ sub my_data {
113
+ _SELF(@_ )-> {my_data };
114
+ }
115
+
92
116
1;
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ use strict;
5
5
use warnings;
6
6
use Carp ();
7
7
8
- our $VERSION = ' 0.08' ;
9
- our @ISA = ();
8
+ our $VERSION = ' 0.09' ;
10
9
11
10
12
11
You can’t perform that action at this time.
0 commit comments