lib/inochi/tasks/3-man.rake in inochi-2.0.1 vs lib/inochi/tasks/3-man.rake in inochi-3.0.0
- old
+ new
@@ -41,11 +41,11 @@
:shorthand => true,
:unindent => true,
:infer_end => true,
}
- Inochi.require 'ember'
+ require 'ember'
ronn_input = Ember::Template.new(ember_input, ember_opts).render
File.write @man_ronn_dst, ronn_input # for debugging / sanity check
# build Ronn document
require 'date'
@@ -53,11 +53,11 @@
:date => Date.parse(@project_module::RELDATE),
:manual => "Version #{@project_module::VERSION}",
}
ronn_file = "#{@project_package_name}.1.ronn"
- Inochi.require 'ronn'
+ require 'ronn'
@man_doc = Ronn::Document.new(ronn_file, ronn_opts) { ronn_input }
end
end
task :@man_html do
@@ -69,10 +69,10 @@
task :@man_html_dom do
unless @man_html_dom
Rake::Task[:@man_html].invoke
- Inochi.require 'nokogiri'
+ require 'nokogiri'
@man_html_dom = Nokogiri::HTML(@man_html)
end
end