Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Just some example code

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 README.md
README.md

StreamFinder

This is just some example ruby code. It was written against ruby 1.8.7, but should also work on ruby 1.9.1 and 1.9.2.

Running the tests

$ ruby test/mock_stream_test.rb 
Loaded suite test/mock_stream_test
Started
..
Finished in 0.000573 seconds.

2 tests, 6 assertions, 0 failures, 0 errors

$ ruby test/stream_finder_test.rb 
Loaded suite test/stream_finder_test
Started
....
Finished in 0.001951 seconds.

4 tests, 4 assertions, 0 failures, 0 errors
Something went wrong with that request. Please try again.