Skip to content

Commit

Permalink
Change name to Zef::CPANReporter
Browse files Browse the repository at this point in the history
Zef::Reporter was too close to Zef::Report (the report aggregator)
and the p6c reporter is named Zef::Service::P6CReporter.
  • Loading branch information
ugexe committed May 17, 2017
1 parent 9c3a44a commit 7d02d98
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
10 changes: 6 additions & 4 deletions META6.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"name" : "Zef::Reporter",
"source-url" : "",
"name" : "Zef::CPANReporter",
"source-url" : "git://github.com/garu/Zef-Reporter.git",
"auth" : "github:garu",
"perl" : "6.c",
"resources" : [ ],
"build-depends" : [ ],
"provides" : {
"Zef::Reporter" : "lib/Zef/Reporter.pm6"
"Zef::CPANReporter" : "lib/Zef/CPANReporter.pm6"
},
"depends" : [ "Zef", "Net::HTTP" ],
"description" : "Zef plugin to send test reports to cpantesters",
"test-depends" : [ ],
"version" : "0.0.1",
"authors" : [
"Breno G. de Oliveira"
"Breno G. de Oliveira",
"Nick Logan"
]
}
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
NAME
====

Zef::Reporter - blah blah blah
Zef::CPANReporter - A zef plugin to automatically send Perl 6 reports to CPAN Testers

SYNOPSIS
========

use Zef::Reporter;
zef install Zef::CPANReporter

# zef now submits reports to CPAN testers

DESCRIPTION
===========

Zef::Reporter is ...
Zef::CPANReporter is a module to send installation success/failure reports to CPAN Testers.

AUTHOR
======

Breno G. de Oliveira <garu@cpan.org>
Breno G. de Oliveira (GARU)
Nick Logan (UGEXE)

COPYRIGHT AND LICENSE
=====================

Copyright 2017 Breno G. de Oliveira
Copyright 2017 Breno G. de Oliveira, Nick Logan

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.
6 changes: 3 additions & 3 deletions lib/Zef/Reporter.pm6 → lib/Zef/CPANReporter.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;
use Zef;
use Net::HTTP::POST;

class Zef::Reporter does Messenger does Reporter {
class Zef::CPANReporter does Messenger does Reporter {

method !config { state $config = $*HOME.child(q|.cpanreporter/config.ini|).lines>>.split("=") }
method !email_from { state $email_from = self!config.grep( *[0] eq "email_from" ).map( *[1] )[0] }
Expand Down Expand Up @@ -103,11 +103,11 @@ class Zef::Reporter does Messenger does Reporter {
=head1 NAME
Zef::Reporter - send Perl 6 reports to CPAN Testers (using zef)
Zef::CPANReporter - send Perl 6 reports to CPAN Testers (using zef)
=head1 DESCRIPTION
Zef::Reporter is a module to send installation success/failure reports to CPAN Testers.
Zef::CPANReporter is a module to send installation success/failure reports to CPAN Testers.
=head1 AUTHORS
Expand Down
2 changes: 1 addition & 1 deletion t/01-basic.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use v6;
use Test;
use Zef::Reporter;
use Zef::CPANReporter;

pass "replace me";

Expand Down

0 comments on commit 7d02d98

Please sign in to comment.