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

gpedic / ex_shortuuid / 9ccfebb2e10444eba0c04c15b4737d56e553816c / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2023 09:26PM UTC
Files 1
Run time 0s
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

09 Jul 2023 09:25PM UTC coverage: 100.0%. Remained the same
9ccfebb2e10444eba0c04c15b4737d56e553816c.1

push

github

web-flow
Support MSB first, v3.0.0 (#7)

* Support MSB first

Similar to implementations in other languages, move the most significant bit to the beginning in the encoded string
In practice this means that the result of the encode now is the reverse, i.e. if previously it was 
```
"UD6ibhr3V4YXvriP822222" 
```
now it would be 
```
"UD6ibhr3V4YXvriP822222" |> String.reverse() == "222228PirvXY4V3rhbi6DU"
```
To decode previously created ShortUUIDs (< v3.0.0) either reverse them before decoding
```
"UD6ibhr3V4YXvriP822222" |> String.reverse() |> ShortUUID.decode()
```
or use the legacy option of decode
```
"UD6ibhr3V4YXvriP822222" |> ShortUUID.decode(legacy: true)
```

33 of 33 relevant lines covered (100.0%)

281.33 hits per line

Source Files on job 9ccfebb2e10444eba0c04c15b4737d56e553816c.1
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • 9ccfebb2 on github
  • Prev Job for on master (#de7289e4ab2a9f13fe31775f7daa2b67b2a3e4de.1)
  • Next Job for on master (#88b47b1625cf61e792a1ed418ce4a8bc10dc73e5.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc