aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-05-28 04:08:45 -0400
committerRalph Amissah <ralph@amissah.com>2012-05-28 04:08:45 -0400
commit23a905352884b1177ecd90c730ca67bc74e882d2 (patch)
tree8888fd1ac6985724a9c3159387c7ddcba41bb59c
parentv3: code headers mainly copyright (diff)
v3: hub, "requires", fix
-rw-r--r--data/doc/sisu/CHANGELOG_v32
-rw-r--r--lib/sisu/v3/hub.rb6
2 files changed, 5 insertions, 3 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index 7fd5f885..05bc8e83 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -21,6 +21,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.10.orig.tar.xz
sisu_3.2.10-1.dsc
sisu_3.2.10-1.debian.tar.gz
+* v3: hub, "requires", fix
+
* v3: code headers, mostly copyright
%% 3.2.9.orig.tar.xz (2012-05-19:20/6)
diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb
index 67f6913a..ee0b492a 100644
--- a/lib/sisu/v3/hub.rb
+++ b/lib/sisu/v3/hub.rb
@@ -205,6 +205,9 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on
@msg,@msgs='',nil
@tell=lambda { SiSU_Screen::Ansi.new(@opt.cmd,@msg,"#{@msgs.inspect if @msgs}") }
end
+ def requires(req)
+ require_relative req
+ end
def actions
if @opt.act[:profile][:set]==:on
require 'profile'
@@ -321,9 +324,6 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on
retry unless @retry_count > 1
ensure
end
- end
- def requires(req)
- require_relative req
end
def each_file_loop_options
@opt.files.each_with_index do |fno,i|