[libdist-zilla-plugin-githubmeta-perl] 01/01: Resolve [rt.cpan.org #69412] "Github URLs are now https"

Axel Beckert abe at deuxchevaux.org
Sun Apr 26 22:25:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 0.16
in repository libdist-zilla-plugin-githubmeta-perl.

commit 2daa340a29e3bf1d281047309d229578076511f2
Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
Date:   Thu Jul 14 22:47:20 2011 +0100

    Resolve [rt.cpan.org #69412] "Github URLs are now https"
    
    Reported by Olivier 'dolmen' Mengué
---
 dist.ini                            | 2 +-
 lib/Dist/Zilla/Plugin/GithubMeta.pm | 2 +-
 t/basic.t                           | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dist.ini b/dist.ini
index 8707b5c..89df72b 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,5 +1,5 @@
 name = Dist-Zilla-Plugin-GithubMeta
-version = 0.14
+version = 0.16
 author = Chris Williams <chris at bingosnet.co.uk>
 author = Ricardo SIGNES <rjbs at cpan.org>
 license = Perl_5
diff --git a/lib/Dist/Zilla/Plugin/GithubMeta.pm b/lib/Dist/Zilla/Plugin/GithubMeta.pm
index 3a5520d..d1f59d3 100644
--- a/lib/Dist/Zilla/Plugin/GithubMeta.pm
+++ b/lib/Dist/Zilla/Plugin/GithubMeta.pm
@@ -82,7 +82,7 @@ sub metadata {
 
   return unless $self->_has_user and $self->_has_repo;
 
-  my $gh_url  = sprintf 'http://github.com/%s/%s', $self->user, $self->repo;
+  my $gh_url  = sprintf 'https://github.com/%s/%s', $self->user, $self->repo;
   my $bug_url = "$gh_url/issues";
 
   my $home_url = $self->homepage ? $self->homepage->as_string : $gh_url;
diff --git a/t/basic.t b/t/basic.t
index ba64a70..e283e7e 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -41,7 +41,7 @@ test_plugin("turn on issues" => {
   plugin => { issues => 1 },
   git    => { origin => 'git at github.com:example/Example-Repo.git' },
   resources => {
-    bugtracker => { web => 'http://github.com/example/Example-Repo/issues' },
+    bugtracker => { web => 'https://github.com/example/Example-Repo/issues' },
   },
 });
 
@@ -104,11 +104,11 @@ sub test_plugin {
       $test->{meta} || ignore(),
       superhashof({
         resources => {
-          homepage   => 'http://github.com/example/Example-Repo',
+          homepage   => 'https://github.com/example/Example-Repo',
           repository => {
             type => 'git',
-            url => 'http://github.com/example/Example-Repo',
-            web => 'http://github.com/example/Example-Repo',
+            url => 'https://github.com/example/Example-Repo',
+            web => 'https://github.com/example/Example-Repo',
           },
           $test->{resources} ? %{ $test->{resources} } : (),
         },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-githubmeta-perl.git



More information about the Pkg-perl-cvs-commits mailing list