brpm_content_framework 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/config.yml +1 -1
- data/infrastructure/create_output_file.rb +3 -6
- data/lib/brpm_script_executor.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGU3ZDU0OWIwNTRjMjA5NzgwOTQ1MjRiODg1ZWI0NDI2YTYwZThhZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjIyMGQ5ZTIxOTJkYzlmM2IyNGEyNjY2YzZmY2NiYTJkOTA4NTZmYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWY5Y2EwMjAyYzg5MDFhMTBmOGY3ZWFmZWIyNjI0ZmFiZGRiYTlmZjg0ODBi
|
10
|
+
OTIwZWUwMjRiN2M3ZGQ0NDUzMzRhYTU4YTNjMGYzNjc2ODYzMTE5ZDg2OTcx
|
11
|
+
MDkzZGY2YTAzNGVlMWFhZjMxY2U0ZmU5MmU0ZWRjNTZhYzljOTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzkyZDQ5NzI3N2ExMjQzMDhkYTM0NTY2MzU4OTc4ZDQwZTM1OThjM2YyMWU3
|
14
|
+
MWQ5ZmZjOWYxY2IyYjQxNWQ5MDQ4MGNlYzZkYTY2MzBkZTZkNzU3NjIxNTE0
|
15
|
+
NTk3ZjI0ZDI2MmI3MTYxNDgwNjEwN2RlNWJiMjk3YWE1MzYwYjg=
|
data/config.yml
CHANGED
@@ -1,9 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
require "#{params["SS_script_support_path"]}/script_helper.rb"
|
5
|
-
require "#{params["SS_script_support_path"]}/file_in_utf.rb"
|
6
|
-
end
|
1
|
+
require "#{BrpmAuto.params["SS_script_support_path"]}/ssh_script_header.rb"
|
2
|
+
require "#{BrpmAuto.params["SS_script_support_path"]}/script_helper.rb"
|
3
|
+
require "#{BrpmAuto.params["SS_script_support_path"]}/file_in_utf.rb"
|
7
4
|
|
8
5
|
# this line must be executed before the automation script is run because it sets the @hand variable which will be used inside the BRPM core framework
|
9
6
|
@hand = FileInUTF.open(BrpmAuto.params["SS_output_file"], "a")
|
data/lib/brpm_script_executor.rb
CHANGED
@@ -35,7 +35,10 @@ class BrpmScriptExecutor
|
|
35
35
|
BrpmAuto.log "Deleting params file #{params_file}..."
|
36
36
|
FileUtils.rm(params_file)
|
37
37
|
|
38
|
-
|
38
|
+
if BrpmAuto.params["SS_run_key"] and BrpmAuto.params["SS_script_support_path"]
|
39
|
+
puts "Loading the BRPM core framework's libraries..."
|
40
|
+
load File.expand_path("#{File.dirname(__FILE__)}/../infrastructure/create_output_file.rb")
|
41
|
+
end
|
39
42
|
|
40
43
|
execute_automation_script_internal(modul, name, params, automation_type, parent_id, offset, max_records)
|
41
44
|
end
|