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

Jiri-Kremser / simple-websocket-vcr / 56
97%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2017 12:46PM UTC
Jobs 1
Files 7
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

pending completion
56

push

travis-ci

Jirka Kremser
Fixes around binary support and reads race conditions (#7)

* Ensuring binary data received from websockets is correctly encoded and
  decoded as base64 before storing it.
* Applying ERB substitution only on data that is not binary.
* Fixing a race condition. Calling multiple times "WebsocketVCR.on" was
  causing wait_for_reads to be invoked multiple times creating more
  than one reader thread. This was causing "write" messages to get
  "lost" because if, for example, a cassette has a "read" message followed
  by a "write" message, two reader-threads may "see" the "read" message
  when they "peek" the cassette and, then, both threads will "shift" the
  cassette and the write message will get lost.

477 of 494 relevant lines covered (96.56%)

5.22 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
lib/simple_websocket_vcr/cassette.rb
Jobs
ID Job ID Ran Files Coverage
4 56.4 (2.3.0) 14 Jul 2017 12:46PM UTC 0
96.56
Travis Job 56.4
Source Files on build 56
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #56
  • 1d8d6adb on github
  • Prev Build on master (#53)
  • Next Build on master (#57)
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