• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

peczenyj / GDPR-IAB-TCFv2 / 25439940600
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.530
DEFAULT BRANCH: main
Ran 06 May 2026 02:06PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 May 2026 01:59PM UTC coverage: 95.613%. Remained the same
25439940600

Pull #52

github

peczenyj
feat(cli): add short aliases -c (compact) and -s (strict)

Two of the dump subcommand's options didn't have single-character
shorts:

  - --compact    -> add -c
  - --strict     -> add -s

Both letters are previously unused in the dump subcommand spec and
in the global Getopt::Long spec, and bundling (now in effect on
this branch) makes the matching strictly case-sensitive — no risk
of clashing with --compact's neighbours or with --strict's.

POD entries updated to advertise the shorts (`=item B<--compact>,
B<-c>` and `=item B<--strict>, B<-s>`); `iabtcfv2 dump --help`
shows the new shorts automatically.

Tests in t/10-cli-iabtcfv2.t add a 'Short aliases -c (compact) and
-s (strict)' subtest covering:

  - `-c` decodes to the same data as `--compact`; purpose consents
    are emitted as an array (compact form).
  - `-s` rejects a TCF v2.3 string that lacks the Disclosed Vendors
    segment (the existing strict-mode failure case).
  - `-cp` produces the same data as `--compact --pretty`,
    confirming the new shorts can be bundled.
Pull Request #52: feat(cli): bundling + short aliases (-c for --compact, -s for --strict)

1 of 1 new or added line in 1 file covered. (100.0%)

741 of 775 relevant lines covered (95.61%)

11624.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25439940600.1 06 May 2026 02:06PM UTC 11
95.61
GitHub Action Run
Source Files on build 25439940600
  • Tree
  • List 11
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #52
  • PR Base - devel (#25438640493)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc