lib/ufo/upgrade.rb in ufo-4.3.1 vs lib/ufo/upgrade.rb in ufo-4.4.0
- old
+ new
@@ -1,18 +1,19 @@
module Ufo
class Upgrade < Command
autoload :Upgrade3, "ufo/upgrade/upgrade3"
autoload :Upgrade33to34, "ufo/upgrade/upgrade33to34"
autoload :Upgrade4, "ufo/upgrade/upgrade4"
+ autoload :Upgrade43to44, "ufo/upgrade/upgrade43to44"
desc "v2to3", "Upgrade from version 2 to 3."
def v2to3
Upgrade3.new(options).run
end
- desc "v3_3to3_4", "Upgrade from version 3.3 to 3.4"
- def v3_3to3_4
+ desc "v33to34", "Upgrade from version 3.3 to 3.4"
+ def v33to34
Upgrade33to34.new(options).run
end
def self.options
[
@@ -25,8 +26,13 @@
options.each { |o| option(*o) }
desc "v3to4", "Upgrade from version 3 to 4."
long_desc Help.text('upgrade/v3to4')
def v3to4
Upgrade4.start
+ end
+
+ desc "v43to44", "Upgrade from version 4.3 to 4.4"
+ def v43to44
+ Upgrade43to44.new(options).run
end
end
end