Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Commit

Permalink
CPAN Release v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mithun committed Dec 8, 2014
1 parent 58a48d2 commit c7e16e3
Show file tree
Hide file tree
Showing 13 changed files with 185 additions and 121 deletions.
10 changes: 5 additions & 5 deletions .author/benchmark.pl
Expand Up @@ -22,7 +22,7 @@
####################

my $num_of_iters = '1000000';
my $url = 'http://www.google.com/search?q=Ingy döt Net';
my $url = 'http://www.google.com/search?q=Ingy dÃffÃ,¶t Net';

# Objects
my $obj_uri_encode = URI::Encode->new();
Expand Down Expand Up @@ -68,10 +68,10 @@
Sample script output
Encoding URL: http://www.google.com/search?q=Ingy döt Net
Using URI::Escape (3.31) -> http://www.google.com/search?q=Ingy ¶t Net
Using URI::Escape::XS (0.08)-> http://www.google.com/search?q=Ingy döt Net
Using URI::Encode (0.06) -> http://www.google.com/search?q=Ingy%20d%C3%83%C2%B6t%20Net
Encoding URL: http://www.google.com/search?q=Ingy dÃffÃ,¶t Net
Using URI::Escape (3.31) -> http://www.google.com/search?q=Ingy dÃffÃ,fÃf,Ã,¶t Net
Using URI::Escape::XS (0.08)-> http://www.google.com/search?q=Ingy dÃffÃ,¶t Net
Using URI::Encode (0.06) -> http://www.google.com/search?q=Ingy%20d%C3%83%C2%B6t%20Net
Benchmarking 1000000 iterations on Perl 5.012003 (darwin)
Expand Down
2 changes: 1 addition & 1 deletion Build.PL 100644 → 100755
Expand Up @@ -33,7 +33,7 @@ my $builder = Module::Build->new(
meta_merge => {
keywords => [qw(uri escape encode percent)],
resources => {
bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=URI-Encode',
bugtracker => 'https://github.com/mithun/perl-uri-encode/issues',
repository => 'git://github.com/mithun/perl-uri-encode.git',
homepage => 'https://github.com/mithun/perl-uri-encode',
},
Expand Down
49 changes: 38 additions & 11 deletions Changes
Expand Up @@ -2,14 +2,25 @@ Version History for URI-Encode
Mithun Ayachit



0.9.1


- No functional changes. Use semver and move bugtracker to
github-issues



0.09
====


- [RT #83761] Lower-cased encoded characters were not being decoded.
Fixed now. Thanks David Arenillas ...



0.08
====


- [RT #80177] doh! double_encode wasn't working at all. Fixed now.
Thanks DWRIGHT ...
Expand All @@ -18,49 +29,65 @@ Mithun Ayachit
- Updated some POD. Do not promote the old interface for setting
options



0.07
====


- Fix issue where '%' was not being encoded unless encode_reserved was
requested [RT #78314]
- Introduce option to NOT encode an already encoded string/URL



0.061
=====


- POD updates
- Added a benchmark script



0.06
====


- Fixed synopsis



0.05
====


- Store character maps in object
- Update repo format



0.04
====


- Allow strings to be '0' (literally). See RT #70628
- Added option in constructor to set reserved encoding



0.03
====


- Minimum perl 5.8.1



0.02
====


- Corrected POD



0.01
====


- Initial release

* * * * *
------------------------------------------------------------------------
17 changes: 11 additions & 6 deletions INSTALL
Expand Up @@ -2,21 +2,26 @@ Installing URI-Encode
Mithun Ayachit


Distribution page
=================

DISTRIBUTION PAGE


The latest and all previous releases for URI-Encode can be downloaded
from https://metacpan.org/release/URI-Encode

Install using cpanm
===================


INSTALL USING cpanm


URI-Encode can be installed with cpanm using the following command

cpanm .

Install using Module::Build
===========================


INSTALL USING Module::Build


URI-Encode can be installed with Module::Build using the following
commands
Expand Down
8 changes: 4 additions & 4 deletions LICENSE
@@ -1,4 +1,4 @@
This software is copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This software is copyright (c) 2014 by Mithun Ayachit <mithun@cpan.org>.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Expand All @@ -12,7 +12,7 @@ b) the "Artistic License"

--- The GNU General Public License, Version 1, February 1989 ---

This software is Copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This software is Copyright (c) 2014 by Mithun Ayachit <mithun@cpan.org>.

This is free software, licensed under:

Expand All @@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989

Copyright (C) 1989 Free Software Foundation, Inc.
51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Expand Down Expand Up @@ -272,7 +272,7 @@ That's all there is to it!

--- The Artistic License 1.0 ---

This software is Copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This software is Copyright (c) 2014 by Mithun Ayachit <mithun@cpan.org>.

This is free software, licensed under:

Expand Down
8 changes: 4 additions & 4 deletions META.json
Expand Up @@ -4,7 +4,7 @@
"Mithun Ayachit <mithun@cpan.org>"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921",
"generated_by" : "Module::Build version 0.421",
"keywords" : [
"uri",
"escape",
Expand Down Expand Up @@ -41,13 +41,13 @@
"provides" : {
"URI::Encode" : {
"file" : "lib/URI/Encode.pm",
"version" : "0.09"
"version" : "v0.9.1"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=URI-Encode"
"web" : "https://github.com/mithun/perl-uri-encode/issues"
},
"homepage" : "https://github.com/mithun/perl-uri-encode",
"license" : [
Expand All @@ -57,5 +57,5 @@
"url" : "git://github.com/mithun/perl-uri-encode.git"
}
},
"version" : "0.09"
"version" : "v0.9.1"
}
18 changes: 9 additions & 9 deletions META.yml
Expand Up @@ -3,12 +3,12 @@ abstract: 'Simple percent Encoding/Decoding'
author:
- 'Mithun Ayachit <mithun@cpan.org>'
build_requires:
Test::More: 0
version: 0
Test::More: '0'
version: '0'
configure_requires:
Module::Build: 0.38
Module::Build: '0.38'
dynamic_config: 1
generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921'
generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.143240'
keywords:
- uri
- escape
Expand All @@ -17,18 +17,18 @@ keywords:
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
version: '1.4'
name: URI-Encode
provides:
URI::Encode:
file: lib/URI/Encode.pm
version: 0.09
version: v0.9.1
requires:
Encode: 2.12
Encode: '2.12'
perl: v5.8.1
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=URI-Encode
bugtracker: https://github.com/mithun/perl-uri-encode/issues
homepage: https://github.com/mithun/perl-uri-encode
license: http://dev.perl.org/licenses/
repository: git://github.com/mithun/perl-uri-encode.git
version: 0.09
version: v0.9.1
14 changes: 7 additions & 7 deletions Makefile.PL
@@ -1,17 +1,17 @@
# Note: this file was auto-generated by Module::Build::Compat version 0.4003
# Note: this file was auto-generated by Module::Build::Compat version 0.4210
require 5.008001;
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'URI::Encode',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/URI/Encode.pm',
'PREREQ_PM' => {
'Encode' => '2.12',
'Test::More' => 0,
'version' => 0,
'Encode' => '2.12'
}
'version' => 0
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
'PL_FILES' => {}
)
;

0 comments on commit c7e16e3

Please sign in to comment.