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

hainesr / rubyzip / 19 / 7
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Jul 2014 12:15PM UTC
Files 32
Run time 15s
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

17 Jul 2014 12:08PM UTC coverage: 93.367% (+1.7%) from 91.648%
jruby-19mode

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.

1661 of 1779 relevant lines covered (93.37%)

20.39 hits per line

Source Files on job 19.7 (jruby-19mode)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 2
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19
  • Travis Job 19.7
  • bd67d517 on github
  • Prev Job for jruby-19mode on read-unicode-names (#4.6)
  • Next Job for jruby-19mode on read-unicode-names (#21.6)
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