mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-14 01:54:21 -07:00
New filter plugins: hashids_encode and hashids_decode (#2244)
* New filters hashids_encode and hashids_decode * Adding changelog * Correcting whitespace issue in vars file * Attempt to fix integration test failures * Correcting copyright * Addressing initial review comments * Updating decoded sequence return from tuple to list * Correcting capitilization and spelling
This commit is contained in:
parent
d09bc2525b
commit
118d903e7d
7 changed files with 183 additions and 0 deletions
6
changelogs/fragments/2244-hashids-filters.yml
Normal file
6
changelogs/fragments/2244-hashids-filters.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
add plugin.filter:
|
||||
- name: hashids_encode
|
||||
description: Encodes YouTube-like hashes from a sequence of integers
|
||||
- name: hashids_decode
|
||||
description: Decodes a sequence of numbers from a YouTube-like hash
|
Loading…
Add table
Add a link
Reference in a new issue