lib/generators/dispatch_rider/install/install_generator.rb in dispatch-rider-1.9.0 vs lib/generators/dispatch_rider/install/install_generator.rb in dispatch-rider-2.0.0
- old
+ new
@@ -1,12 +1,10 @@
module DispatchRider
class InstallGenerator < ::Rails::Generators::Base
-
source_root File.expand_path("../templates", __FILE__)
def create_scripts
copy_file "script/dispatch_rider", "script/dispatch_rider"
chmod 'script/dispatch_rider', 0755
end
-
end
end