Merge tag 'upstream/0.10'
Upstream version 0.10
Christopher Hoskin
8 years ago
0 | 0 |
Revision history for CHI-Driver-Redis
|
|
1 |
|
|
2 |
0.10 January 22, 2016
|
|
3 |
* Doc fixes (#6)
|
1 | 4 |
|
2 | 5 |
0.09 February 24, 2015
|
3 | 6 |
* Change how parameters are stored and passed to the Redis constructor
|
9 | 9 |
ExtUtils::MakeMaker: 6.59
|
10 | 10 |
distribution_type: module
|
11 | 11 |
dynamic_config: 1
|
12 | |
generated_by: 'Module::Install version 1.14'
|
|
12 |
generated_by: 'Module::Install version 1.16'
|
13 | 13 |
license: perl
|
14 | 14 |
meta-spec:
|
15 | 15 |
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
|
28 | 28 |
resources:
|
29 | 29 |
license: http://dev.perl.org/licenses/
|
30 | 30 |
repository: https://github.com/rentrak/chi-driver-redis
|
31 | |
version: '0.09'
|
|
31 |
version: '0.10'
|
3 | 3 |
use strict 'vars';
|
4 | 4 |
use vars qw{$VERSION};
|
5 | 5 |
BEGIN {
|
6 | |
$VERSION = '1.14';
|
|
6 |
$VERSION = '1.16';
|
7 | 7 |
}
|
8 | 8 |
|
9 | 9 |
# Suspend handler for "redefined" warnings
|
7 | 7 |
|
8 | 8 |
use vars qw{$VERSION @ISA $ISCORE};
|
9 | 9 |
BEGIN {
|
10 | |
$VERSION = '1.14';
|
|
10 |
$VERSION = '1.16';
|
11 | 11 |
@ISA = 'Module::Install::Base';
|
12 | 12 |
$ISCORE = 1;
|
13 | 13 |
}
|
5 | 5 |
|
6 | 6 |
use vars qw{$VERSION @ISA $ISCORE};
|
7 | 7 |
BEGIN {
|
8 | |
$VERSION = '1.14';
|
|
8 |
$VERSION = '1.16';
|
9 | 9 |
@ISA = 'Module::Install::Base';
|
10 | 10 |
$ISCORE = 1;
|
11 | 11 |
}
|
7 | 7 |
|
8 | 8 |
use vars qw{$VERSION @ISA $ISCORE};
|
9 | 9 |
BEGIN {
|
10 | |
$VERSION = '1.14';
|
|
10 |
$VERSION = '1.16';
|
11 | 11 |
@ISA = 'Module::Install::Base';
|
12 | 12 |
$ISCORE = 1;
|
13 | 13 |
}
|
5 | 5 |
|
6 | 6 |
use vars qw{$VERSION @ISA $ISCORE};
|
7 | 7 |
BEGIN {
|
8 | |
$VERSION = '1.14';
|
|
8 |
$VERSION = '1.16';
|
9 | 9 |
@ISA = 'Module::Install::Base';
|
10 | 10 |
$ISCORE = 1;
|
11 | 11 |
}
|
5 | 5 |
|
6 | 6 |
use vars qw{$VERSION @ISA $ISCORE};
|
7 | 7 |
BEGIN {
|
8 | |
$VERSION = '1.14';
|
|
8 |
$VERSION = '1.16';
|
9 | 9 |
@ISA = 'Module::Install::Base';
|
10 | 10 |
$ISCORE = 1;
|
11 | 11 |
}
|
5 | 5 |
|
6 | 6 |
use vars qw{$VERSION @ISA $ISCORE};
|
7 | 7 |
BEGIN {
|
8 | |
$VERSION = '1.14';
|
|
8 |
$VERSION = '1.16';
|
9 | 9 |
@ISA = qw{Module::Install::Base};
|
10 | 10 |
$ISCORE = 1;
|
11 | 11 |
}
|
30 | 30 |
# This is not enforced yet, but will be some time in the next few
|
31 | 31 |
# releases once we can make sure it won't clash with custom
|
32 | 32 |
# Module::Install extensions.
|
33 | |
$VERSION = '1.14';
|
|
33 |
$VERSION = '1.16';
|
34 | 34 |
|
35 | 35 |
# Storage for the pseudo-singleton
|
36 | 36 |
$MAIN = undef;
|
5 | 5 |
|
6 | 6 |
extends 'CHI::Driver';
|
7 | 7 |
|
8 | |
our $VERSION = '0.09';
|
|
8 |
our $VERSION = '0.10';
|
9 | 9 |
|
10 | 10 |
has 'redis' => (
|
11 | 11 |
is => 'ro',
|
|
171 | 171 |
A CHI driver that uses C<Redis> to store the data. Care has been taken to
|
172 | 172 |
not have this module fail in fiery ways if the cache is unavailable. It is my
|
173 | 173 |
hope that if it is failing and the cache is not required for your work, you
|
174 | |
can ignore it's warnings.
|
|
174 |
can ignore its warnings.
|
175 | 175 |
|
176 | 176 |
=head1 TECHNICAL DETAILS
|
177 | 177 |
|
|
191 | 191 |
encodes values to UTF-8. This driver sets the Redis encoding option
|
192 | 192 |
to undef to disable automatic encoding.
|
193 | 193 |
|
|
194 |
=head1 CONSTRUCTOR OPTIONS
|
|
195 |
|
|
196 |
=over 4
|
|
197 |
|
|
198 |
=item C<redis>
|
|
199 |
|
|
200 |
option for the constructed C<Redis> object
|
|
201 |
|
|
202 |
=item C<redis_options>
|
|
203 |
|
|
204 |
for hash of options to the C<Redis> constructor
|
|
205 |
|
194 | 206 |
=back
|
195 | 207 |
|
196 | |
=head1 CONSTRUCTOR OPTIONS
|
197 | |
|
198 | |
C<redis> option for constructed C<Redis> object.
|
199 | |
|
200 | |
C<redis_options> for hash of optios to C<Redis> constructor
|
201 | |
|
202 | |
Other options, including C<server>, C<debug>, and C<password> are passed to C<Redis> constructor.
|
|
208 |
Other options, including C<server>, C<debug>, and C<password> are passed to
|
|
209 |
the C<Redis> constructor.
|
203 | 210 |
|
204 | 211 |
=head1 ATTRIBUTES
|
205 | 212 |
|