Module: Diffend::LatestVersion
- Defined in:
- lib/diffend/latest_version.rb
Overview
Verify if we are running latest version of the plugin
Class Method Summary collapse
-
.call(config) ⇒ Object
Verify if we are running latest version of the plugin.
Class Method Details
.call(config) ⇒ Object
Verify if we are running latest version of the plugin
10 11 12 13 14 15 16 17 |
# File 'lib/diffend/latest_version.rb', line 10 def call(config) return if config.development? return if installed_version == Diffend::VERSION (config, installed_version) exit 2 end |