Sur: Software Update for Rubygems
Switch branches/tags
Nothing to show
Clone or download
carview.php?tsp= Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
carview.php?tsp= lib
carview.php?tsp= spec
carview.php?tsp= README.md
carview.php?tsp= sur.gemspec

README.md

Sur: Software Update for Rubygems

Sur provides the self-updating system for arbitrary end-user softwares hosted as Gem packages.

$ termtter
The new version of termtter is available. Do you update now? [Y/n] y
updating termtter.....done.

Usage

require 'sur'
Sur.ask

Advanced usage:

Sur.ask_as 'termtter'
Sur.ask :without_reboot

Usually Sur.ask is ignored when the software isn't running as a gem, but :always option can force asking.

Sur.ask :always

Author

Tatsuhiro Ujihisa https://ujihisa.blogspot.com/