lib/sprout/tasks/asdoc_task.rb in sprout-as3-bundle-0.1.45 vs lib/sprout/tasks/asdoc_task.rb in sprout-as3-bundle-0.2.1
- old
+ new
@@ -37,11 +37,11 @@
#
class AsDocTask < ToolTask
def initialize_task
super
- @default_gem_name = 'sprout-flex2sdk-tool'
+ @default_gem_name = 'sprout-flex3sdk-tool'
@default_gem_path = 'bin/asdoc'
add_param(:actionscript_file_encoding, :string) do |p|
p.description = "Sets the file encoding for ActionScript files. For more information see: http://livedocs.adobe.com/flex/2/docs/00001503.html#149244"
end
@@ -258,19 +258,19 @@
raise e
end
end
end
- # The AsDoc packaage includes an asDocHelper binary that is packaged up without
+ # The AsDoc package includes an asDocHelper binary that is packaged up without
# the executable flag, calling Sprout::get_executable with this target will
# automatically chmod it to 744.
def update_helper_mode
exe = Sprout.get_executable(gem_name, 'asdoc/templates/asDocHelper', gem_version)
end
end
end
def asdoc(args, &block)
- Sprout::AsDocTask.define_task(args, &block)
+ return Sprout::AsDocTask.define_task(args, &block)
end