Sha256: 3cd501d079e2943f1e0a0c3c4423a08688fabf228084f795a6918fce2740e951
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
# RTML v1.x used this file as an update hook. When RTML was run in development mode, during # startup, it would request this file from the RTML GitHub repository and eval it. This file # would check the remote (github) version of RTML against the installed version, and # report to the user if there is an update available. All of this would only happen if the # Rails environment was non-production, and if ENV['RTML_UPDATE'] was true or undefined. # # Later versions of RTML don't do this check at all because updating RTML could potentially # break an existing app -- which means that most users would never perform an in-place upgrade. # That simple fact makes the whole update hook pretty much useless. # # That said, this file no longer actually performs any update checking for either RTML 1.x or # any other version, and is simply here to prevent errors from being raised in old versions. # (Those errors would just be silenced and ignored anyways, but I like to keep it clean.) # module RtmlUpdateCheck class RtmlUpdateFailure < RuntimeError; end end nil
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rtml-2.0.4 | update.rb |
rtml-2.0.3 | update.rb |
rtml-2.0.2 | update.rb |
rtml-2.0.1 | update.rb |
rtml-2.0.0.alpha.1 | update.rb |