summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 12:41:50 -0500
committerElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 12:41:50 -0500
commit26b02bf064c76d6ef7943016c798629810986092 (patch)
tree8e072f727d1e61b867c40ebfbaf0e1c451f1e5cf
parent7312e8ef0d10d8846c69d6962e98a450e6950bc9 (diff)
include executed command into output
-rw-r--r--lib/oxidized/model/model.rb2
-rw-r--r--oxidized-0.8.1.gembin0 -> 41472 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb
index c95cc67..ca851e3 100644
--- a/lib/oxidized/model/model.rb
+++ b/lib/oxidized/model/model.rb
@@ -79,7 +79,7 @@ module Oxidized
attr_accessor :input, :node
def cmd string, &block
- out = @input.cmd string
+ out = "====================== #{string} ======================\n" + @input.cmd(string)
return false unless out
self.class.cmds[:all].each do |all_block|
out = instance_exec Oxidized::String.new(out), string, &all_block
diff --git a/oxidized-0.8.1.gem b/oxidized-0.8.1.gem
new file mode 100644
index 0000000..c778eb7
--- /dev/null
+++ b/oxidized-0.8.1.gem
Binary files differ