Fix formatter path
Merge pull request #1 from yuya-takeyama/fix_formatter_path

Fix formatter path
Adjust gemspec requirement on guard to allow 2.x variants as well
update path generation for include path in gemspec
migrate version so it's inclusion in gemspec has no gem requirements eliminating the need for guard to parse the gemspec
revert change to library path declaration as the issue was in dependency resolution
remove VERSION constant from PHPUnit2 class as it was an unnecessary reference to a refactored value
increase specificity of ruby versions to test against
removed ruby versions failing to initialize in travis
Merge pull request #3 from slbmeh/master

Update gemspec
Sample PHP Unit tests for generating JSON output.

Run
    phpunit --log-json results/passing-json passingSampleTest.php

for example to generate the JSON log output.
Guard::PHPUnit2::LogReader capable of reading phpunit --log-json output

Supports same unit tests as Guard::PHPUnit2::Formatter
Adds a :realtime option

Adds a feature for realtime test progress output. For large PHPUnit test
suites, the default (non-realtime) implementation buffers all the
PHPUnit ProgressPrinter's output into a string before printing it all at
once. This is because that implementation depends on being able to parse
the output to get the details about the test run (number of tests,
fails, etc)

When :realtime is enabled, a new RealtimeRunner is instead invoked that
has PHPUnit log its test details to a JSON file which can be parsed at
the end of the run. This allows the progress printer to send its output
straight to the terminal.

 - Added LogReader class to parse json ouput
 - Added RealtimeRunner to run PHPUnit with the --log-json flag
 - Changed Runner into a class rather than a module so that
   RealtimeRunner could inherit most of its behavior
 - RealtimeRunner passes a spec list almost identical to Runner's spec
   list
Fixes ResultPrinter.php to output in realtime.

ResultPrinter uses ob_clean to strip out the automatic PHPUnit header,
but fails to turn output buffering off. This leads to the entire output
being buffered until the very end.

 - Replaces ob_clean with ob_clean_end to stop buffering right after the
   header is stripped
Merge pull request #4 from akatakritos/realtime-optional

Realtime optional