diff options
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r-- | lib/oxidized/output/file.rb | 2 | ||||
-rw-r--r-- | lib/oxidized/output/git.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/output/file.rb b/lib/oxidized/output/file.rb index b988c1a..66ad178 100644 --- a/lib/oxidized/output/file.rb +++ b/lib/oxidized/output/file.rb @@ -15,7 +15,7 @@ class OxFile < Output end end - def update node, data, opt={} + def store node, data, opt={} file = @cfg[:directory] if opt[:group] file = File.join File.dirname(file), opt[:group] diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index 019d83b..202893c 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -19,7 +19,7 @@ class Git < Output end end - def update file, data, opt={} + def store file, data, opt={} msg = opt[:msg] user = (opt[:user] or @cfg[:user]) email = (opt[:email] or @cfg[:email]) |