lib/standby/version.rb in standby-4.0.0 vs lib/standby/version.rb in standby-5.0.0
- old
+ new
@@ -1,3 +1,9 @@
module Standby
- VERSION = '4.0.0'
+ VERSION = '5.0.0'
+
+ class << self
+ def version_gte?(version)
+ Gem::Version.new(ActiveRecord.version) >= Gem::Version.new(version)
+ end
+ end
end