0.0
No commit activity in last 3 years
No release in over 3 years
Easily make your application up or down for maintenance
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0

Runtime

>= 5.0.4
 Project Readme

UpAndDown

Make your rails application down for maintenance. This gem provides three rake tasks for making application up, down and checking current status of application.

Installation

Add this line to your application's Gemfile:

gem 'up_and_down', '~> 0.1.1'

And then execute:

$ bundle

Or install it yourself as:

$ gem install up_and_down

Usage

Down your rails application for maintenance by using:

rails site:down or rake site:down

Now visit http://localhost:3000 after starting rails server. You should see

Site is Down for Maintenance

Make application up and running again by using:

rails site:up or rake site:up

Check status of Application by using:

rails site:status or rake site:status

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/abhishekkanojia/up_and_down.

License

The gem is available as open source under the terms of the MIT License.