brpm_content_framework 0.2.13 → 0.2.14

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTk4ZmZiMGZmZDYyOGNmM2NjYjdjN2M5MGZkODk1OTgxOWZmZmYzZA==
4
+ OGU3ZDU0OWIwNTRjMjA5NzgwOTQ1MjRiODg1ZWI0NDI2YTYwZThhZA==
5
5
  data.tar.gz: !binary |-
6
- MTNjYjM0ZGY0ZjI4ZDY5ODYwYTA2YjA5MGNjMjA2MDQ4ZDJjNGJmOA==
6
+ MjIyMGQ5ZTIxOTJkYzlmM2IyNGEyNjY2YzZmY2NiYTJkOTA4NTZmYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWZkOWQ5ZjQxODE4MTFkMzM2MzY0NmQ1OWVkMDg4MjEyN2YyNjY5MjlhNGUy
10
- M2UxMmRkMjk3MTgxN2QyNWExYTllODM5NWU5ZmNmZTQ0YzM2ZGFmODk4ZmFk
11
- ZTg2MTU2NjAyNjFmOTRjYWQ5ZDJlZjc2NTUzNjhiMmFjYjA3MWQ=
9
+ NWY5Y2EwMjAyYzg5MDFhMTBmOGY3ZWFmZWIyNjI0ZmFiZGRiYTlmZjg0ODBi
10
+ OTIwZWUwMjRiN2M3ZGQ0NDUzMzRhYTU4YTNjMGYzNjc2ODYzMTE5ZDg2OTcx
11
+ MDkzZGY2YTAzNGVlMWFhZjMxY2U0ZmU5MmU0ZWRjNTZhYzljOTg=
12
12
  data.tar.gz: !binary |-
13
- MzIzYTcyYjc1MjA2N2NkZjYwMTNkMDdmOTc4MWQzYmM2ZTVlY2YzYzFjMmRm
14
- NzMzMWM0NDMyYmY0MGE3OGQ0NWNmOTAzNDMxNjYxZDY1MmI1YjE3NGMwZTIz
15
- Y2NkNTVjMmRjNzc2MzAwZWExZWU4NDFjNGNmOWIyNDNmMGJlNGM=
13
+ MzkyZDQ5NzI3N2ExMjQzMDhkYTM0NTY2MzU4OTc4ZDQwZTM1OThjM2YyMWU3
14
+ MWQ5ZmZjOWYxY2IyYjQxNWQ5MDQ4MGNlYzZkYTY2MzBkZTZkNzU3NjIxNTE0
15
+ NTk3ZjI0ZDI2MmI3MTYxNDgwNjEwN2RlNWJiMjk3YWE1MzYwYjg=
data/config.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 0.2.13
1
+ version: 0.2.14
2
2
 
3
3
  author: Niek Bartholomeus
4
4
  email: niek.bartholomeus@gmail.com
@@ -1,9 +1,6 @@
1
- if BrpmAuto.params["SS_run_key"] and BrpmAuto.params["SS_script_support_path"]
2
- puts "Loading script_support libraries..."
3
- require "#{params["SS_script_support_path"]}/ssh_script_header.rb"
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")
@@ -35,7 +35,10 @@ class BrpmScriptExecutor
35
35
  BrpmAuto.log "Deleting params file #{params_file}..."
36
36
  FileUtils.rm(params_file)
37
37
 
38
- load File.expand_path("#{File.dirname(__FILE__)}/../infrastructure/create_output_file.rb")
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
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.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus