Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.02.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git a/Changes b/Changes
index 96c94f1..0441b27 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,11 @@ Revision history for Perl extension Sqids
 
 {{$NEXT}}
 
+0.02 2024-04-06T21:57:16Z
+
+    - Update to upstream repository details
+    - Fix POD formatting
+
 0.01 2024-04-06T10:42:51Z
 
     - initial version, working from reference spec
  • Loading branch information
dracos committed Apr 6, 2024
1 parent 390287e commit ddfa4d3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 23 deletions.
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ Revision history for Perl extension Sqids

{{$NEXT}}

0.02 2024-04-06T21:57:16Z

- Update to upstream repository details
- Fix POD formatting

0.01 2024-04-06T10:42:51Z

- initial version, working from reference spec
Expand Down
10 changes: 5 additions & 5 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@
"release_status" : "unstable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/dracos/sqids-perl/issues"
"web" : "https://github.com/sqids/sqids-perl/issues"
},
"homepage" : "https://github.com/dracos/sqids-perl",
"homepage" : "https://github.com/sqids/sqids-perl",
"repository" : {
"type" : "git",
"url" : "https://github.com/dracos/sqids-perl.git",
"web" : "https://github.com/dracos/sqids-perl"
"url" : "https://github.com/sqids/sqids-perl.git",
"web" : "https://github.com/sqids/sqids-perl"
}
},
"version" : "0.01",
"version" : "0.02",
"x_contributors" : [
"Ivan Akimov <[email protected]>"
],
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Actions Status](https://github.com/dracos/sqids-perl/actions/workflows/test.yml/badge.svg)](https://github.com/dracos/sqids-perl/actions)
[![Actions Status](https://github.com/sqids/sqids-perl/actions/workflows/test.yml/badge.svg)](https://github.com/sqids/sqids-perl/actions)
# NAME

Sqids - generate short unique identifiers from numbers
Expand All @@ -22,8 +22,8 @@ Sqids - generate short unique identifiers from numbers

# DESCRIPTION

[Sqids](https://sqids.org/perl) (\*pronounced "squids"\*) is a small
library that lets you \*\*generate unique IDs from numbers\*\*. It's good for link
[Sqids](https://sqids.org/perl) (_pronounced "squids"_) is a small
library that lets you **generate unique IDs from numbers**. It's good for link
shortening, fast & URL-safe ID generation and decoding back into numbers for
quicker database lookups.

Expand Down
30 changes: 15 additions & 15 deletions lib/Sqids.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Class::Tiny {
blocklist => sub { Sqids::Constants::DEFAULT_BLOCKLIST },
};

our $VERSION = "0.01";
our $VERSION = "0.02";

sub BUILD {
my ($self, $args) = @_;
Expand Down Expand Up @@ -284,28 +284,28 @@ Sqids - generate short unique identifiers from numbers
=head1 DESCRIPTION
L<Sqids|https://sqids.org/perl> (*pronounced "squids"*) is a small
library that lets you **generate unique IDs from numbers**. It's good for link
L<Sqids|https://sqids.org/perl> (I<pronounced "squids">) is a small
library that lets you B<generate unique IDs from numbers>. It's good for link
shortening, fast & URL-safe ID generation and decoding back into numbers for
quicker database lookups.
Features:
=over 4
=item B<Encode multiple numbers> - generate short IDs from one or several non-negative numbers
=item * B<Encode multiple numbers> - generate short IDs from one or several non-negative numbers
=item B<Quick decoding> - easily decode IDs back into numbers
=item * B<Quick decoding> - easily decode IDs back into numbers
=item B<Unique IDs> - generate unique IDs by shuffling the alphabet once
=item * B<Unique IDs> - generate unique IDs by shuffling the alphabet once
=item B<ID padding> - provide minimum length to make IDs more uniform
=item * B<ID padding> - provide minimum length to make IDs more uniform
=item B<URL safe> - auto-generated IDs do not contain common profanity
=item * B<URL safe> - auto-generated IDs do not contain common profanity
=item B<Randomized output> - Sequential input provides nonconsecutive IDs
=item * B<Randomized output> - Sequential input provides nonconsecutive IDs
=item B<Many implementations> - Support for L<40+ programming languages|https://sqids.org/>
=item * B<Many implementations> - Support for L<40+ programming languages|https://sqids.org/>
=back
Expand All @@ -315,21 +315,21 @@ Good for:
=over 4
=item Generating IDs for public URLs (eg: link shortening)
=item * Generating IDs for public URLs (eg: link shortening)
=item Generating IDs for internal systems (eg: event tracking)
=item * Generating IDs for internal systems (eg: event tracking)
=item Decoding for quicker database lookups (eg: by primary keys)
=item * Decoding for quicker database lookups (eg: by primary keys)
=back
Not good for:
=over 4
=item Sensitive data (this is not an encryption library)
=item * Sensitive data (this is not an encryption library)
=item User IDs (can be decoded revealing user count)
=item * User IDs (can be decoded revealing user count)
=back
Expand Down

0 comments on commit ddfa4d3

Please sign in to comment.