makit 0.0.92 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37df40e8ad224f0c08fe84de6daf099ebae2b530bc1752681d9ff0f10d1cfc31
4
- data.tar.gz: a7f6c2ba376cd44eb4bd66ae5cbd07f021539ec4fb0e0108b23ae7ba4e19a602
3
+ metadata.gz: 7507d3c17591c6c23f31816e3872afb6bed0237cce6a6a24204599bb142cf278
4
+ data.tar.gz: b27f995a4ba6a5e91daad9029a976cb698fcfc32b6c100cca944bc74eeb62f31
5
5
  SHA512:
6
- metadata.gz: a56052c95740d3891901dfd7550a4ee8901d4c55f4527926e8b0c16765d01ad6eaa60dd36d2e5119926512d18f027a64485a11f8781dd753347db18c0882c0d5
7
- data.tar.gz: 0e3f51bc24bb6f4b644710e875e1cc30e4871cd20c6de32cb7dca06ba54c1a6439fc36ca67c4ede60df59da66a5ba2f89cf7b69842bb57534dc764d06ff9e768
6
+ metadata.gz: e5f9c06cd2db2b4e3d4aa85586348a4fe403b476f8f094bd182e7fe98ef38f4063affaf573c6d4ff847fcd0325f53d4fc9db80127d6a3a9a2ad434bfb5341759
7
+ data.tar.gz: 2d745f1c4c7fb404eb69f1fc2cf9de7de7029dfa7cd9c2d8e4321930c9d024ba36a735625c9c05cdbc32f3513a07db7849fd191fa773342f353ae35c58d55b6b
@@ -74,24 +74,12 @@ class String
74
74
  FileUtils.mkdir_p(directory)
75
75
  end
76
76
  command = self
77
- request = Makit::RUNNER.parse_args(command)
78
- if args.is_a?(Hash)
79
- args.each do |key, value|
80
- request.send("#{key}=", value)
81
- end
82
- end
83
- cmd = Makit::RUNNER.run(request)
77
+ cmd = Makit::RUNNER.run(Makit::RUNNER::parse_command_request(command))
84
78
  # write the cmd output and error to the file
85
- File.write(filename, cmd.stdout + cmd.stderr)
79
+ File.write(filename, cmd.output + cmd.error)
86
80
 
87
81
  # display the summary of the command
88
- if(cmd.exit_code == 0)
89
- puts cmd.summary
90
- else
91
- puts cmd.summary
92
- puts cmd.stdout
93
- puts cmd.stderr
94
- end
82
+ Makit::RUNNER.show_command(cmd)
95
83
  end
96
84
 
97
85
  def cache_try()
data/lib/makit/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Makit
4
- VERSION = "0.0.92"
4
+ VERSION = "0.0.94"
5
5
 
6
6
  class Version
7
7
  # given an array of version strings, return the highest version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.92
4
+ version: 0.0.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow