1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
Description: Fix several issues reported by 積丹尼 Dan Jacobson <jidanni@jidanni.org>
Author: Alex Muntada <alexm@debian.org>
Bug-Debian: https://bugs.debian.org/875835
Forwarded: no
--- a/examples/flickr_method_test_echo.pl
+++ b/examples/flickr_method_test_echo.pl
@@ -7,9 +7,7 @@
=head1 NAME
-flickr_method_test_echo.pl
-
-an example for using either OAuth or Old School Flickr
+flickr_method_test_echo.pl - example for using either OAuth or Old School Flickr
=cut
@@ -32,8 +30,8 @@
--secret="de0cafe4feed0242"
Depending on what you specify with B<--use_api> the flickr.test.echo
-call will use the appropriate parameter set. If B<Flickr::API->new> is
-called with a consumer_key, OAuth is used. If B<Flickr::API->new> with
+call will use the appropriate parameter set. If C<< Flickr::API->new >> is
+called with a consumer_key, OAuth is used. If C<< Flickr::API->new >> with
key the old Flickr Authentication is used.
--- a/script/flickr_dump_stored_config.pl
+++ b/script/flickr_dump_stored_config.pl
@@ -62,12 +62,11 @@
=head1 SYNOPSIS
-C<flickr_dump_stored_config.pl [/path/to/file or --config_in=Config-File_to_dump]>
+ flickr_dump_stored_config.pl [/path/to/file or --config_in=Config-File_to_dump]
=head1 OPTIONS
=head2 Required:
-B< >
=over 5
@@ -75,8 +74,6 @@
=item B<--config_in> pointing to the stored Flickr config file.
-B< >
-
=back
=over 5
@@ -94,7 +91,7 @@
This script is a lightweight way to dump the contents of a
Flickr::API storable configuration. It does not I<use Flickr::API;>
and sticks to modules from perl core so that it can be used
-prior to-- and perhaps in conjunction with-- installation
+prior to --and perhaps in conjunction with-- installation
and testing of the Flickr::API module.
--- a/script/flickr_make_stored_config.pl
+++ b/script/flickr_make_stored_config.pl
@@ -283,12 +283,11 @@
=head1 SYNOPSIS
-C<flickr_make_stored_config.pl --config_out=Config-File_to_build [--config_in=file --consumer_key=...]>
+ flickr_make_stored_config.pl --config_out=Config-File_to_build [--config_in=file --consumer_key=...]
=head1 OPTIONS
=head2 Required:
-B< >
=over 5
@@ -298,71 +297,42 @@
=head2 Optional:
-
-B< >
-
-
=over 5
=item B<--config_in> points to the optional input config file to use as a base
for the I<--config_out> file you are creating.
-B< >
-
=item B<--api_type> either I<flickr> for the original, but deprecated, Flickr
authentication OR I<oauth> for the OAuth authentication.
it defaults to I<oauth>
-B< >
-
I<For Flickr Auth>
=item B<--api_key> The api key when used with Flickr authentication
I<required for testing> B<--key> still works to maintain compatibility
with L<Flickr::API> 1.10 and before, but it is saved as api_key.
-B< >
-
=item B<--secret> The api secret when used with Flickr authentication
I<required for testing> B<--secret> still works to maintain compatibility
with L<Flickr::API> 1.10 and before, but it is saved as api_secret.
-B< >
-
=item B<--frob> The frob used in Flickr authentication
-B< >
-
=item B<--token> The auth token can be either a Flickr or OAuth Access token
used with Flickr authentication
-B< >
-
I<For OAuth>
-
=item B<--consumer_key> The api key when used with OAuth authentication
I<required for testing>
-B< >
-
-
=item B<--consumer_secret> The api secret when used with OAuth authentication
I<required for testing>
-B< >
-
-
=item B<--callback> The callback uri for use in OAuth authentication
-B< >
-
=item B<--token_secret> The OAuth access token secret
-B< >
-
-B< >
-
=item B<--help> as expected
=item B<--usage>
@@ -394,7 +364,7 @@
or
make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg
-
+
or
make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg \
--- a/script/flickr_make_test_values.pl
+++ b/script/flickr_make_test_values.pl
@@ -136,12 +136,11 @@
=head1 SYNOPSIS
-C<flickr_make_test_values.pl --values_out=file_to_build [--values_in=existing_file]>
+ flickr_make_test_values.pl --values_out=file_to_build [--values_in=existing_file]
=head1 OPTIONS
=head2 Required:
-B< >
=over 5
@@ -151,17 +150,11 @@
=head2 Optional:
-
-B< >
-
-
=over 5
=item B<--values_in> points to the optional input values file to use as a base
for the I<--values_out> file you are creating.
-B< >
-
=item B<--help> as expected
=item B<--usage>
|