opswalrus 1.0.59 → 1.0.61

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c02e6cf3098713124796fdaddf3630d91434d40a6f0df607cf4184e5cd060c3
4
- data.tar.gz: bedbfd919aba32a943ac22a1596c439d74879f1e88b0f42a1062dd6fe3c5cc08
3
+ metadata.gz: 0f769d32a2757cb6bc9e23d27e4baa456b6df7b4b5509babc4b9aecc47309d60
4
+ data.tar.gz: 2141371e0a1085ac11ff99d9e4f9ba834d30819b5c2985fc6cb0df8773537ae6
5
5
  SHA512:
6
- metadata.gz: 79e953bac9a4c83104431d0c2ccf871b684810a81283b52ad677d4bff7bee27c804f93ec94be43b3b24a7b6504a40419c6932de1525ed7d1fbc5a4b0293036a6
7
- data.tar.gz: 1ed925365dd182c27dc922da7aa99319566aefc01154dd8227253bfcf2798f6fc92686c6832941dddb0d55ce1d28148b2e7a3c341c5a4d1c80fa1ba739a74ace
6
+ metadata.gz: 3294b14a48c18633e61e201ff181e9c4bbf827d6ab54d59e9ca464d23b200dfb84fa42b33e3fd67ccae41497e48f9a5cdca7b48cf06c4d52b0f723edf9dac925
7
+ data.tar.gz: 232e0c5fb989cbc38d7e0a2c22c1efb69c6de58025326a58f59a140e5cc8400bbad77e069262c296508349992b341319d684c0d0b6b8585991896383f596b33c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.59)
4
+ opswalrus (1.0.61)
5
5
  activesupport (~> 7.0)
6
6
  bcrypt_pbkdf (~> 1.1)
7
7
  binding_of_caller (~> 1.0)
data/lib/opswalrus/app.rb CHANGED
@@ -308,7 +308,7 @@ module OpsWalrus
308
308
  def print_script_result(result)
309
309
  if script_mode?
310
310
  output = StringIO.open do |io|
311
- io.print(SCRIPT_RESULT_HEADER)
311
+ io.puts SCRIPT_RESULT_HEADER
312
312
  io.puts JSON.pretty_generate(result.value)
313
313
  io.string
314
314
  end
@@ -27,8 +27,8 @@ if [ -x $RTX ]; then
27
27
 
28
28
  # make sure the latest opswalrus gem is installed
29
29
  # todo: figure out how to install this differently, so that test versions will work
30
- gem install opswalrus
31
- # $GEM_CMD install opswalrus
30
+ # gem install opswalrus
31
+ $GEM_CMD install opswalrus
32
32
  $RTX reshim
33
33
 
34
34
  exit 0
@@ -102,7 +102,10 @@ module OpsWalrus
102
102
 
103
103
  if print_report && App.instance.info?
104
104
  if exit_status == 0
105
- puts "Bootstrap success - #{to_s} (alias=#{self.alias})"
105
+ report = "Bootstrap success - #{to_s} (alias=#{self.alias})"
106
+ stdout_report = stdout.lines.last(3).map {|line| " #{line}" }.join()
107
+ report << "\n stdout:\n#{stdout_report}" unless stdout_report.empty?
108
+ puts report
106
109
  else
107
110
  stdout_report = stdout.lines.last(3).map {|line| " #{line}" }.join()
108
111
  stderr_report = stderr.lines.last(3).map {|line| " #{line}" }.join()
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.59"
2
+ VERSION = "1.0.61"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opswalrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.59
4
+ version: 1.0.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis