Previously in commit 145ecb443f Rakefile was modified to require the Rubocop
gem however, this gem is not available on jruby systems and would throw errors.
This commit modifies the Rakefile to first detect if the Gem is available and
optionally load the rubocop rake tasks.
This commit adds the rubocop gem, a rubocop rake task and an initial rubocop
configuration file in prepartion for using rubocop in CI.
This commit also adds a rubocop todo file that exempts existing files from
violations.
This commit adds a Rakefile, Gemfile, and Travis CI config file.
The Rakefile contains two tasks: test and junit. Both targets execute
the spec tests, with the difference being how the results are presented.
The Gemfile defines dependencies and a test group. To install just the
gems needed for running the application, execute:
* `bundle install --without test`
The new .travis.yml file is for Travis CI and targets the major ruby
versions.