DataValidation
This gem validate the data between web page items and mobile api response.
It will validate stat pages of PRO, men, woman, boys and girls.
e.g. http://php.admin.laxpower.com/update17/binmen/rating01.php
Installation
Add this line to your application's Gemfile:
gem 'lx_data_validation'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lx_data_validation
Usage
Validate the data of 2017 season (the default season)
$ compare
Validate the data of 2016 season
$ compare 16
It will generate a new folder named log under your current directory. All mismatched data will be recorded into the log files in the sub-directories
Development
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/data_validation.
License
The gem is available as open source under the terms of the MIT License.