README.md in json_statham-0.1.2 vs README.md in json_statham-0.1.3

- old
+ new

@@ -178,9 +178,33 @@ end end end ``` +## Rails + +Run the generator: + + $ rails g json_statham:install + +This will create a new initializer at **config/initializers/json_statham.rb**. +After running your tests to generate the json files you can now run `rails json_statham`. + + $ rails json_statham + +This will show you a list of your json files ordered by duration. + +``` ++------------------------------------------------------------------------+-----------------------+ +| File path | Duration | ++------------------------------------------------------------------------+-----------------------+ +| schemas/user_serializer/valid_user.json | 0.5460864380002022 | +| schemas/user_serializer/invalid_user.json | 0.2532647902998724 | +| schemas/post_serializer/published.json | 0.2153625870094402 | +| schemas/post_serializer/draft.json | 0.1238838530000066 | ++------------------------------------------------------------------------+-----------------------+ +``` + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).