From d17c0b68c5830ee040109e0d2dd71dbddda89dd3 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 27 May 2012 14:34:05 +0800 Subject: [PATCH] Checking in changes prior to tagging of version 0.05. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog diff is: diff --git a/Changes b/Changes index 12ab97b..406637a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Web::JenkinsNotification +0.05 日 5/27 14:31:50 2012 + - Rename as Web::JenkinsNotification + 0.04 日 5/27 14:03:09 2012 - Might migrate this module to Jenkins::NotificationListener::App --- Changes | 3 +++ META.yml | 2 +- README | 2 +- README.mkdn | 2 +- lib/Web/JenkinsNotification.pm | 6 +++--- t/01_plack.t | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Changes b/Changes index 12ab97b..406637a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Web::JenkinsNotification +0.05 日 5/27 14:31:50 2012 + - Rename as Web::JenkinsNotification + 0.04 日 5/27 14:03:09 2012 - Might migrate this module to Jenkins::NotificationListener::App diff --git a/META.yml b/META.yml index aa4812a..eceaabb 100644 --- a/META.yml +++ b/META.yml @@ -25,4 +25,4 @@ requires: Plack: 0 resources: license: http://dev.perl.org/licenses/ -version: 0.04 +version: 0.05 diff --git a/README b/README index 0ad3fce..9b8378f 100644 --- a/README +++ b/README @@ -6,7 +6,7 @@ SYNOPSIS builder { mount "/jenkins" => builder { - enable "JenkinsNotification"; + enable "+Web::JenkinsNotification"; sub { my $env = shift; my $notification = $env->{ 'jenkins.notification' }; # Jenkins::Notification diff --git a/README.mkdn b/README.mkdn index 389ab61..18326b4 100644 --- a/README.mkdn +++ b/README.mkdn @@ -8,7 +8,7 @@ Web::JenkinsNotification - builder { mount "/jenkins" => builder { - enable "JenkinsNotification"; + enable "+Web::JenkinsNotification"; sub { my $env = shift; my $notification = $env->{ 'jenkins.notification' }; # Jenkins::Notification diff --git a/lib/Web/JenkinsNotification.pm b/lib/Web/JenkinsNotification.pm index 63252ec..bf8c68b 100644 --- a/lib/Web/JenkinsNotification.pm +++ b/lib/Web/JenkinsNotification.pm @@ -1,8 +1,8 @@ package Web::JenkinsNotification; use strict; use warnings; -our $VERSION = '0.04'; -use parent qw/Web/; +our $VERSION = '0.05'; +use parent qw/Plack::Middleware/; use Plack::Util; use Plack::MIME; use Plack::Util::Accessor qw(on_notify); @@ -40,7 +40,7 @@ Web::JenkinsNotification - builder { mount "/jenkins" => builder { - enable "JenkinsNotification"; + enable "+Web::JenkinsNotification"; sub { my $env = shift; my $notification = $env->{ 'jenkins.notification' }; # Jenkins::Notification diff --git a/t/01_plack.t b/t/01_plack.t index 151aec4..374a22d 100644 --- a/t/01_plack.t +++ b/t/01_plack.t @@ -10,7 +10,7 @@ use File::Read; test_psgi app => builder { - enable "JenkinsNotification"; + enable "+Web::JenkinsNotification"; sub { my $env = shift;