Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter-Lite CPAN distribution.

Report information
The Basics
Id: 94661
Status: resolved
Priority: 0/
Queue: Net-Twitter-Lite

People
Owner: Nobody in particular
Requestors: DDICK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.12006
Fixed in: (no value)



Subject: PATCH: enable ssl
As ssl is now compulsory for twitter, can you set ssl on by default. Patch attached.
Subject: net_twitter_ssl.patch
diff -Naur old/_build/auto_features new/_build/auto_features --- old/_build/auto_features 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/auto_features 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1,2 @@ +do{ my $x = {}; +$x; } \ No newline at end of file diff -Naur old/_build/build_params new/_build/build_params --- old/_build/build_params 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/build_params 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1,151 @@ +do{ my $x = [ + { + 'ARGV' => [] + }, + {}, + { + '_added_to_INC' => [], + 'verbose' => undef, + 'create_readme' => undef, + 'program_name' => undef, + 'perl' => '/usr/bin/perl', + 'install_base_relpaths' => {}, + 'pm_files' => undef, + 'allow_mb_mismatch' => 0, + 'magic_number' => undef, + 'cpan_client' => 'cpan', + 'prefix' => undef, + 'script_files' => [], + 'recurse_into' => [], + 'has_config_data' => undef, + 'installdirs' => 'site', + 'install_base' => undef, + 'build_requires' => { + 'Module::Build' => '0.3601' + }, + 'autosplit' => undef, + 'include_dirs' => [], + 'mymetafile2' => 'MYMETA.json', + 'html_css' => '', + 'meta_add' => {}, + 'build_elements' => [ + 'PL', + 'support', + 'pm', + 'xs', + 'share_dir', + 'pod', + 'script' + ], + 'dynamic_config' => 1, + 'install_sets' => {}, + 'pod_files' => undef, + 'mymetafile' => 'MYMETA.yml', + 'create_makefile_pl' => undef, + 'tap_harness_args' => {}, + 'module_name' => 'Net::Twitter::Lite', + 'PL_files' => undef, + 'test_file_exts' => [ + '.t' + ], + 'debugger' => undef, + 'extra_compiler_flags' => [], + 'destdir' => undef, + 'original_prefix' => {}, + 'share_dir' => undef, + 'license' => 'perl', + 'dist_author' => [ + 'Marc Mims <mmims@cpan.org>' + ], + 'release_status' => 'stable', + 'scripts' => undef, + 'dist_version_from' => undef, + 'dist_abstract' => 'A perl API library for the Twitter API', + 'xs_files' => undef, + 'build_class' => 'Module::Build', + 'build_bat' => 0, + 'recursive_test_files' => 1, + 'config' => undef, + 'metafile2' => 'META.json', + 'pureperl_only' => 0, + 'sign' => undef, + 'create_license' => undef, + 'install_path' => {}, + 'debug' => undef, + 'recommends' => { + 'Net::Netrc' => 0, + 'Net::OAuth' => '0.25' + }, + 'metafile' => 'META.yml', + 'mb_version' => '0.4007', + 'bundle_inc_preload' => [], + 'use_rcfile' => 1, + 'prefix_relpaths' => {}, + 'bundle_inc' => [], + 'prereq_action_types' => [ + 'requires', + 'build_requires', + 'test_requires', + 'conflicts', + 'recommends' + ], + 'dist_version' => '0.12006', + 'build_script' => 'Build', + 'test_requires' => { + 'File::Temp' => 0, + 'Data::Dumper' => 0, + 'Test::Simple' => '0.98', + 'File::Find' => 0, + 'Test::More' => 0, + 'Test::Fatal' => 0 + }, + 'quiet' => undef, + 'libdoc_dirs' => [ + 'blib/lib', + 'blib/arch' + ], + 'get_options' => {}, + 'c_source' => undef, + 'blib' => 'blib', + 'extra_manify_args' => undef, + 'extra_linker_flags' => [], + 'create_packlist' => 1, + 'test_files' => undef, + 'needs_compiler' => '', + 'base_dir' => '/home/dave/Net-Twitter-Lite-0.12006', + 'pollute' => undef, + 'orig_dir' => '/home/dave/Net-Twitter-Lite-0.12006', + 'meta_merge' => {}, + 'auto_configure_requires' => 1, + 'allow_pureperl' => 0, + 'use_tap_harness' => 0, + 'configure_requires' => { + 'Module::Build' => '0.3601' + }, + 'requires' => { + 'Encode' => 0, + 'Net::Netrc' => 0, + 'perl' => '5.005', + 'Carp' => 0, + 'HTTP::Request::Common' => 0, + 'LWP::UserAgent' => '2.032', + 'Crypt::SSLeay' => '0.5', + 'strict' => 0, + 'URI' => '1.40', + 'URI::Escape' => 0, + 'parent' => 0, + 'overload' => 0, + 'warnings' => 0, + 'Net::HTTP' => '>= 0, != 6.04, != 6.05', + 'JSON' => '2.02' + }, + 'dist_suffix' => undef, + 'conflicts' => {}, + 'config_dir' => '_build', + 'bindoc_dirs' => [ + 'blib/script' + ], + 'dist_name' => 'Net-Twitter-Lite' + } + ]; +$x; } \ No newline at end of file diff -Naur old/_build/cleanup new/_build/cleanup --- old/_build/cleanup 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/cleanup 2014-04-12 14:48:49.446489259 +1000 @@ -0,0 +1,4 @@ +do{ my $x = { + 'blib' => 1 + }; +$x; } \ No newline at end of file diff -Naur old/_build/config_data new/_build/config_data --- old/_build/config_data 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/config_data 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1,2 @@ +do{ my $x = {}; +$x; } \ No newline at end of file diff -Naur old/_build/features new/_build/features --- old/_build/features 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/features 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1,2 @@ +do{ my $x = {}; +$x; } \ No newline at end of file diff -Naur old/_build/magicnum new/_build/magicnum --- old/_build/magicnum 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/magicnum 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1 @@ +615407 \ No newline at end of file diff -Naur old/_build/notes new/_build/notes --- old/_build/notes 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/notes 2014-04-12 14:47:40.878620348 +1000 @@ -0,0 +1,2 @@ +do{ my $x = {}; +$x; } \ No newline at end of file diff -Naur old/_build/prereqs new/_build/prereqs --- old/_build/prereqs 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/prereqs 2014-04-12 14:47:40.877620336 +1000 @@ -0,0 +1,36 @@ +do{ my $x = { + 'recommends' => { + 'Net::Netrc' => 0, + 'Net::OAuth' => '0.25' + }, + 'conflicts' => {}, + 'build_requires' => { + 'Module::Build' => '0.3601' + }, + 'test_requires' => { + 'File::Temp' => 0, + 'Data::Dumper' => 0, + 'Test::Simple' => '0.98', + 'File::Find' => 0, + 'Test::More' => 0, + 'Test::Fatal' => 0 + }, + 'requires' => { + 'Encode' => 0, + 'Net::Netrc' => 0, + 'perl' => '5.005', + 'Carp' => 0, + 'HTTP::Request::Common' => 0, + 'LWP::UserAgent' => '2.032', + 'Crypt::SSLeay' => '0.5', + 'strict' => 0, + 'URI' => '1.40', + 'URI::Escape' => 0, + 'parent' => 0, + 'overload' => 0, + 'warnings' => 0, + 'Net::HTTP' => '>= 0, != 6.04, != 6.05', + 'JSON' => '2.02' + } + }; +$x; } \ No newline at end of file diff -Naur old/_build/runtime_params new/_build/runtime_params --- old/_build/runtime_params 1970-01-01 10:00:00.000000000 +1000 +++ new/_build/runtime_params 2014-04-12 14:47:40.879620361 +1000 @@ -0,0 +1,2 @@ +do{ my $x = {}; +$x; } \ No newline at end of file diff -Naur old/lib/Net/Twitter/Lite.pm new/lib/Net/Twitter/Lite.pm --- old/lib/Net/Twitter/Lite.pm 2014-01-25 11:11:46.000000000 +1100 +++ new/lib/Net/Twitter/Lite.pm 2014-04-12 14:47:29.225470017 +1000 @@ -76,6 +76,10 @@ } + if ( ! exists $args{ssl} ) { + $args{ssl} = 1; + } + if ( delete $args{ssl} ) { $new->{$_} =~ s/^http:/https:/ for qw/apiurl searchapiurl search_trends_api_url lists_api_url/;
Resolved in version 0.12007.