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

hainesr / rubyzip / 42 / 5
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 07 Feb 2015 11:18AM UTC
Files 32
Run time 5s
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

07 Feb 2015 11:15AM UTC coverage: 95.679% (+0.05%) from 95.628%
rbx-2

push

travis-ci

hainesr
Set entry names encoding appropriately.

If we don't set this then we can't do things like file.exists?("Résumé.txt")
without specifically forcing it to ASCII-8BIT, which is unnecessarily clunky:

file.exists?("Résumé.txt".force_encoding("ASCII-8BIT"))

This is because entry names are always read as ASCII-8BIT even if the EFS bit is
set. This patch fixes that.

Tests added/updated to make sure that this works for both files and streams.

1860 of 1944 relevant lines covered (95.68%)

207.38 hits per line

Source Files on job 42.5 (rbx-2)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 42
  • Travis Job 42.5
  • aa80cab7 on github
  • Prev Job for rbx-2 on read-unicode-names (#39.6)
  • Next Job for rbx-2 on read-unicode-names (#45.5)
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