brpm_content_framework 0.2.64 → 0.2.65

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmRiNWUyNGVkNzQwZmQ3MjYwYjI0ZTkxMTg5NWY4M2U4MDgyNzg0ZA==
4
+ MGU2NDQ0MmNkNDNlOWE1YTNkYjEzZWQ5OGI5OTA2ZGVhNzBlYzgwMA==
5
5
  data.tar.gz: !binary |-
6
- MGQxM2EzZWZhOWI5OWU1YzA2OGMzOGQ1Y2FhMzFkOTY0ZmY5YTAwYQ==
6
+ YTQ1YWE2NmFjMTU5OWFhZmRlODY1MzAyMGI2NjY3YTg1ZmY4MDIzOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmQ4NTc3ZDg3OGI2YTFiMTQwMjMyMmZjOGZhYTNiMjNjNTBiYzNmN2E4YTM5
10
- Njg0N2RkMGNiMzM5NTNkZDRkMmQ2ODllODkyOTlhODdhNzE5ZDJjZTI1Yjg4
11
- YTMxNjkzYWYxNWJmM2JmNmIyMWNiOTQ4N2NhOWJjODA3ZDhmMWE=
9
+ ZmY2NDFmZWQ5NzRiYzgxNWFmMzQ0NzE5MzQ5NjBlODI2NDEzNmNkZDg3NTBj
10
+ YzJmNTE2ZjI5ZTZhOWJkYzhjMzNlMmIyOThhMTQ3ZmI4MDJkM2UxMzI0NTA1
11
+ MjExMzI0ZTI4YzBjYmNjODEwNTVmN2EzNGE2OTY1ODM4MTA5MGI=
12
12
  data.tar.gz: !binary |-
13
- OWNiYWRkZGM3MjExMGQxOTJkYzA3ZmJlZGFmZjdiNWI1YWVkNzFmYTI0ZDhl
14
- NjhlOGMxY2NhN2MyMTdmYWE1OWY1NTEyYmQyZGRlZTkzMGM2YWIwMTljZmQ0
15
- NzE1N2VhNDUzZWUyNTYzZWFkM2FhZGYyMzVlOWE5MDNhYTAwMTA=
13
+ NThhNDE0NmYzZTFhY2YzOWMyNDhhYjE4MmNlNDg0NmNlZjBmNGFjYWY1NDgx
14
+ YjkxNzIwMGM4NjIzODc1MzVmYTM4ZTBmMTAzNGFlNTRiODQ0NDQzZDE5ZmY5
15
+ YTgwMjM3NTQ2ZmEzM2M2OWUxYjhjNzc3ZDZmOTQ1MjUyOGU3YmY=
data/config.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 0.2.64
1
+ version: 0.2.65
2
2
  author: Niek Bartholomeus
3
3
  email: niek.bartholomeus@gmail.com
4
4
  homepage: https://github.com/BMC-RLM/brpm_content_framework
@@ -141,7 +141,7 @@ EOR
141
141
 
142
142
  raise e
143
143
  ensure
144
- load File.expand_path("#{File.dirname(__FILE__)}/../infrastructure/write_to.rb") if BrpmAuto.params.run_from_brpm and ! automation_type == "resource_automation"
144
+ load File.expand_path("#{File.dirname(__FILE__)}/../infrastructure/write_to.rb") if BrpmAuto.params.run_from_brpm and automation_type != "resource_automation"
145
145
  end
146
146
  end
147
147
 
@@ -97,13 +97,14 @@ module Utilities
97
97
 
98
98
  if block_given?
99
99
  { :out => stdout, :err => stderr }.each do |key, stream|
100
- Thread.new do
100
+ log_thread = Thread.new do
101
101
  while line = stream.gets
102
102
  privatized_line = BrpmAuto.privatize(line)
103
103
  logs[key] += privatized_line
104
104
  yield privatized_line
105
105
  end
106
- end if block_given?
106
+ end
107
+ log_thread.join
107
108
  end
108
109
 
109
110
  thread.join
@@ -110,6 +110,7 @@ describe 'Params' do
110
110
  input_params = get_default_params
111
111
 
112
112
  #trick it into thinking that it is run from BRPM
113
+ input_params["application"] = "Test"
113
114
  input_params["run_key"] = "123"
114
115
  input_params["automation_results_dir"] = input_params["output_dir"]
115
116
  input_params["request_id"] = "123"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brpm_content_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.64
4
+ version: 0.2.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus