Move require of tempfile lib to file that actually uses it.
This commit is contained in:
parent
1069cb7c48
commit
e3ea5d6336
@ -3,7 +3,6 @@
|
|||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require 'tempfile'
|
|
||||||
require 'whenever'
|
require 'whenever'
|
||||||
|
|
||||||
options = Hash.new
|
options = Hash.new
|
||||||
@ -27,4 +26,4 @@ OptionParser.new do |opts|
|
|||||||
end
|
end
|
||||||
end.parse!
|
end.parse!
|
||||||
|
|
||||||
Whenever::CommandLine.execute(options)
|
Whenever::CommandLine.execute(options)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
require 'tempfile'
|
||||||
|
|
||||||
module Whenever
|
module Whenever
|
||||||
class CommandLine
|
class CommandLine
|
||||||
|
|
||||||
@ -105,4 +107,4 @@ module Whenever
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user