lib/jax/generators/app.rb in jax-1.0.1 vs lib/jax/generators/app.rb in jax-1.1.0.rc1
- old
+ new
@@ -1,16 +1,17 @@
# This file is required by bin/jax if script/jax isn't found.
require 'thor'
require 'thor/group'
+$:.unshift File.expand_path("../..", File.dirname(__FILE__))
module Jax
module Generators
- autoload :App, File.join(File.dirname(__FILE__), "app/app_generator")
+ autoload :App, "jax/generators/app/app_generator"
end
end
-class JaxGenerator < Thor
+class JaxAppGenerator < Thor
desc "new", "generates a new Jax application"
def new(*args)
Jax::Generators::App::AppGenerator.start(args)
end
end