The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Changes 06
META.yml 11
lib/Net/GitHub/V3/Query.pm 94
lib/Net/GitHub.pm 11
xt/v3/200-repos.t 03
5 files changed (This is a version diff) 1115
@@ -1,5 +1,11 @@
 Revision history for Net-GitHub
 
+0.66    2014-07-31
+         "Unrecognized LWP::UserAgent options" warning (RT #97639)
+
+0.65    2014-06-29
+        fix glob ref issue for perl < 5.14 (Alex Vandiver)
+
 0.64    2014-06-27
         use decoded_content on res in upload_asset (Alex Vandiver)
 
@@ -35,4 +35,4 @@ requires:
 resources:
   license: http://dev.perl.org/licenses/
   repository: https://github.com/fayland/perl-net-github
-version: 0.64
+version: 0.66
@@ -1,6 +1,6 @@
 package Net::GitHub::V3::Query;
 
-our $VERSION = '0.60';
+our $VERSION = '0.66';
 our $AUTHORITY = 'cpan:FAYLAND';
 
 use URI;
@@ -87,8 +87,6 @@ has 'ua' => (
         LWP::UserAgent->new(
             agent       => "perl-net-github $VERSION",
             cookie_jar  => {},
-            stack_depth => 1,
-            autocheck   => 0,
             keep_alive  => 4,
             timeout     => 60,
         );
@@ -232,12 +230,9 @@ sub __build_methods {
         my $check_status = $v->{check_status};
         my $is_u_repo = $v->{is_u_repo}; # need auto shift u/repo
 
-        my $glob = do {
-          no strict 'refs';
-          no warnings 'once';
-          *{"${package}::${m}"};
-        };
-        *$glob = sub {
+        no strict 'refs';
+        no warnings 'once';
+        *{"${package}::${m}"} = sub {
             my $self = shift;
 
             # count how much %s inside u
@@ -2,7 +2,7 @@ package Net::GitHub;
 
 use Net::GitHub::V3;
 
-our $VERSION = '0.64';
+our $VERSION = '0.66';
 our $AUTHORITY = 'cpan:FAYLAND';
 
 sub new {
@@ -19,6 +19,9 @@ ok( $repos );
 my @p = $repos->list;
 ok(@p > 3, 'more than 3 repos');
 
+my $rp = $repos->get('fayland', 'perl-net-github');
+diag(Dumper(\$rp)); use Data::Dumper;
+
 
 =pod