Skip to content

Commit

Permalink
Build results of c6e6dd9 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Jul 17, 2011
2 parents 5173055 + c6e6dd9 commit b57a18c
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Expand Up @@ -19,7 +19,7 @@ my %module_build_args = (
'Yanick Champoux <yanick@cpan.org>'
],
'dist_name' => 'Dancer-Plugin-Cache-CHI',
'dist_version' => '1.0.1',
'dist_version' => '1.0.2',
'license' => 'perl',
'module_name' => 'Dancer::Plugin::Cache::CHI',
'recommends' => {},
Expand Down
31 changes: 17 additions & 14 deletions Changes
@@ -1,23 +1,26 @@
Revision history for Dancer::Plugin::Cache::CHI

1.0.1 2011-04-04 20:01:06 America/Montreal
- report-version seems to be causing problems.
1.0.2 2011-07-17
[BUG FIXES]
- fix 'check_page_cache'. Looks like the behavior of 'halt' changed since
the last release of D::P::C::CHI.

1.0.0 2011-04-02 19:12:41 America/Montreal
- Re-brand the dist as Dancer::Plugin::Cache::CHI.
1.0.1 2011-04-04
- report-version seems to be causing problems.

0.2.2 2011-04-02 19:04:42 America/Montreal
- Dancer::Plugin::Cache deprecated in favor of
Dancer::Plugin::Cache::CHI
1.0.0 2011-04-02
- Re-brand the dist as Dancer::Plugin::Cache::CHI.

0.2.1 2011-03-20 23:19:49 America/Montreal
- Requires Dancer > 1.150
0.2.2 2011-04-02
- Dancer::Plugin::Cache deprecated in favor of Dancer::Plugin::Cache::CHI

0.2.0 2011-03-19 14:37:06 America/Montreal
- Add cache helper functions. Thanks to David Precious for the
suggestion. [RT#66714]
0.2.1 2011-03-20
- Requires Dancer > 1.150

0.1.0 2011-03-16 20:47:53 America/Montreal
0.2.0 2011-03-19
- Add cache helper functions. Thanks to David Precious for the suggestion.
[RT#66714]

- Initial release, unleashed unto an unsuspecting world.
0.1.0 2011-03-16
- Initial release, unleashed unto an unsuspecting world.

44 changes: 44 additions & 0 deletions INSTALL
@@ -0,0 +1,44 @@

This is the Perl distribution Dancer-Plugin-Cache-CHI.

Installing Dancer-Plugin-Cache-CHI is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

% cpanm Dancer::Plugin::Cache::CHI

If you are installing into a system-wide directory, you may need to pass the
"-S" flag to cpanm, which uses sudo to install the module:

% cpanm -S Dancer::Plugin::Cache::CHI

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

% cpan Dancer::Plugin::Cache::CHI

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

% perl Build.PL
% ./Build && ./Build test

Then install it:

% ./Build install

If you are installing into a system-wide directory, you may need to run:

% sudo ./Build install

## Documentation

Dancer-Plugin-Cache-CHI documentation is available as POD.
You can run perldoc from a shell to read the documentation:

% perldoc Dancer::Plugin::Cache::CHI
1 change: 1 addition & 0 deletions MANIFEST
@@ -1,5 +1,6 @@
Build.PL
Changes
INSTALL
LICENSE
MANIFEST
META.json
Expand Down
4 changes: 2 additions & 2 deletions META.json
Expand Up @@ -41,7 +41,7 @@
"provides" : {
"Dancer::Plugin::Cache::CHI" : {
"file" : "lib/Dancer/Plugin/Cache/CHI.pm",
"version" : "v1.0.1"
"version" : "v1.0.2"
}
},
"release_status" : "stable",
Expand All @@ -57,7 +57,7 @@
"web" : "http://github.com/yanick/Dancer-Plugin-Cache/tree"
}
},
"version" : "1.0.1",
"version" : "1.0.2",
"x_authority" : "cpan:yanick"
}

4 changes: 2 additions & 2 deletions META.yml
Expand Up @@ -18,7 +18,7 @@ name: Dancer-Plugin-Cache-CHI
provides:
Dancer::Plugin::Cache::CHI:
file: lib/Dancer/Plugin/Cache/CHI.pm
version: v1.0.1
version: v1.0.2
requires:
CHI: 0
Dancer: 1.1904
Expand All @@ -27,5 +27,5 @@ resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Dancer-Plugin-Cache-CHI
homepage: http://search.cpan.org/dist/Dancer-Plugin-Cache-CHI/
repository: git://github.com/yanick/Dancer-Plugin-Cache.git
version: 1.0.1
version: 1.0.2
x_authority: cpan:yanick
2 changes: 1 addition & 1 deletion README
Expand Up @@ -3,7 +3,7 @@ NAME
(and anything else)

VERSION
version 1.0.1
version 1.0.2

SYNOPSIS
In your configuration:
Expand Down
2 changes: 1 addition & 1 deletion README.mkdn
Expand Up @@ -4,7 +4,7 @@ Dancer::Plugin::Cache::CHI - Dancer plugin to cache response content (and anythi

# VERSION

version 1.0.1
version 1.0.2

# SYNOPSIS

Expand Down
25 changes: 13 additions & 12 deletions SIGNATURE
Expand Up @@ -14,21 +14,22 @@ not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SHA1 cb1fdb66a6906b8b9dc2255ae6e468e038ee4ee4 Build.PL
SHA1 1c4809b74ee50b7c5f96dc567efd76f33909bd33 Changes
SHA1 ed425a0b8c12023b21e18bdb903945544a015b34 Build.PL
SHA1 5da8a775e3367c290425749883d8bc754afbae24 Changes
SHA1 1475d7a88d22765608e02f43e04eca9db4c20019 INSTALL
SHA1 59da7efc4d54fec3810ae9f44a59eb3ee7139957 LICENSE
SHA1 3fa66bd549b9b85a36a627ddc151998ac619d721 MANIFEST
SHA1 6f59e5e31d41953781070dc06ba56f2d71961aff META.json
SHA1 77fca3f608b342bd4241d4289cff41c257eabd4b META.yml
SHA1 6990d60990c089161b127016f638ad3c749decf3 README
SHA1 6bd9821e577cd4be8b338aeede9a1e42539f9e98 README.mkdn
SHA1 e30821cb1027df0388f003b9232f1181a7eb9e06 lib/Dancer/Plugin/Cache/CHI.pm
SHA1 40f65c862c0ca2ddd54d7548490669845c0ccc5d MANIFEST
SHA1 912a351d849a1dc78c0fe49ef3644beafec7719a META.json
SHA1 9e9733ee38aeae2c8e54e496361387c035df9788 META.yml
SHA1 ffde5cf8f2aa998da3b4bb3981c2196757e34b51 README
SHA1 80918d1df74fe5219631fa2b07d8968aac4fe42a README.mkdn
SHA1 afe747315e6da48c211ef6afbf83fe3500e0971c lib/Dancer/Plugin/Cache/CHI.pm
SHA1 f8eea816d244f00f05bc76751c35e1c9f6035e8e t/TestApp.pm
SHA1 e14af588c55362a256be7e3044dfa6e03b53548d t/basic.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2aW8wACgkQ34Hwf+GwC4wsKwCgmTU4UcyWZMrQs/Ue/VNPfL2R
w94AoOJGYuPvn+TQflK8Ibxctn0QXsmp
=IY4f
iEYEARECAAYFAk4jGwgACgkQ34Hwf+GwC4xh3gCaAjpLrFEkxPgdZDf4VI3x61N8
3L4AoJrJtT+zxlX5r0VdQJO9GyIPG8u1
=xTgI
-----END PGP SIGNATURE-----
8 changes: 5 additions & 3 deletions lib/Dancer/Plugin/Cache/CHI.pm
Expand Up @@ -3,7 +3,7 @@ BEGIN {
$Dancer::Plugin::Cache::CHI::AUTHORITY = 'cpan:yanick';
}
BEGIN {
$Dancer::Plugin::Cache::CHI::VERSION = '1.0.1';
$Dancer::Plugin::Cache::CHI::VERSION = '1.0.2';
}
# ABSTRACT: Dancer plugin to cache response content (and anything else)

Expand All @@ -24,7 +24,9 @@ register cache => sub {

register check_page_cache => sub {
before sub {
halt cache()->get(request->{path_info});
if ( my $cached = cache()->get(request->{path_info}) ) {
halt $cached;
}
};
};

Expand Down Expand Up @@ -52,7 +54,7 @@ Dancer::Plugin::Cache::CHI - Dancer plugin to cache response content (and anythi
=head1 VERSION
version 1.0.1
version 1.0.2
=head1 SYNOPSIS
Expand Down

0 comments on commit b57a18c

Please sign in to comment.