README.md in log_sweeper-1.1.1 vs README.md in log_sweeper-1.2.0
- old
+ new
@@ -23,10 +23,10 @@
The best way to use this module is to run it via cron, for example you can use [whenever](https://github.com/javan/whenever) gem with similar config in `schedule.rb` file:
```ruby
every 1.hour do
- runner "LogRotator.run(Rails.root.join('log'))"
+ runner "LogSweeper.run('log')"
end
```
## Contributing