Add test.
Merge pull request #3 from xutao/scanner:ruby

Add test.
travis-ci config