This is a simple yet extendable log parser
- Clone repository on your local machine
https://github.com/hshafieiut/log-parser.git
- Change directory
cd log-parser
- Execute the log parser as follows:
ruby parser.rb webserver.log
- Tests are written in RSpec so you have to install it as dependency
bundle install
- Run tests on your local machine
bundle exec rspec spec/