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

hainesr / rubyzip / 45 / 1
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 24 Jun 2015 05:52PM UTC
Files 37
Run time 1s
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

24 Jun 2015 05:50PM UTC coverage: 94.093% (+0.2%) from 93.846%
2.0.0

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.

1784 of 1896 relevant lines covered (94.09%)

188.09 hits per line

Source Files on job 45.1 (2.0.0)
  • Tree
  • List 0
  • Changed 36
  • Source Changed 36
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 45
  • Travis Job 45.1
  • 2d44404c on github
  • Prev Job for 2.0.0 on read-unicode-names (#42.1)
  • Next Job for 2.0.0 on read-unicode-names (#55.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