timecop_web
A web interface for Timecop. This is especially useful during development and QA.
Installation
First add the gem to your development environment and run the bundle
command to install it.
gem 'timecop_web', group: :development
Usage
Add to your routes.rb:
Your::App.routes.draw do
if Rails.env.development?
mount TimecopWeb::Engine, at: '/timecop_web'
end
end
Then visit http://localhost:3000/timecop_web
, you can use Timecop through web interface.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request