brpm_content_framework 0.2.22 → 0.2.23

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
- NjE2MTE5YzcxZTIwM2FlNjc0MzdmYzA4Zjk1MzYwNDY3NzIyODVlMw==
4
+ ZDVkOWNjZTU4NGY5ZmIzZmIxNmIzOTIxOTYzMmEzYmQwMTJkZWJmYw==
5
5
  data.tar.gz: !binary |-
6
- ZDk3YjcyNTAwOGJkYjQ1ZDkwY2U3OGMwZmYzNzVmZjhkZjUxODJlZg==
6
+ Mzc0NTM4ODM1OWQwMTRhOTBmYThkNjgyZWNjNjI1YjE2YTczNjhmYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjQ2N2I1ZWEzMmVmM2EyNWM1NGM0MWQwMWE0NmNhN2JlOTQ4OTI2ZDQ0OTFm
10
- OWQ0MjJlNDkzMTA2NDdkNWIxMTVlOTE2NDdmYzJjNzc0OWRiOGQxMTU5OTVh
11
- NmVmOGUwYWNiNDRhNTJjMjNiMzcyNjUwZjI5YmRlN2M5YWRjYzI=
9
+ ZDRkZDIyMTA4ZjNmOTEzZmNiMzAzZDI3ZGYxN2IyNmE4ZDQzMGEyNzhmNWQ2
10
+ ZDMyNjdiMmE5MTQ2NzgxNjYwYTE4YmMxMTk3MzIwMmRjZGIzNWFmMmYwMjFk
11
+ NDIzNWExZTM0ODc2ZDk3MjRmNzNiNzE1NjNmOGMyYjg4ZGU4M2E=
12
12
  data.tar.gz: !binary |-
13
- ZGRhNWFiYjMyOGU3ZWU3Y2JmMjZjNTE0ZDdhNWM3YjgzY2E5OGU1NmYxZTMx
14
- MThmZTIxN2UwY2UxYzVhNzUzOWU0NTc3ZmFhNTExOGFlOTZlODNiOGE1M2Rk
15
- YTU1N2Q4OTI1MjEyNjU4NjNmYTk2N2Q1MzU3NWQwM2YzMWZkZmQ=
13
+ N2RiMjMzNmQ2OTE3YWUzZTZjODk0YTljNDdiMmNmY2VkYWFiYjAwYWZiYzU0
14
+ MjExYTY2NTA5NjIxZTJmZDc2YTQ2NzAzMjNlNTc1NzAyMWY1YzNiODJlNDFk
15
+ ODE4ZDk1YjcxODFiMTc3M2YwZWM3NzNkYTlmZjdlYTlmZDc0MTE=
data/config.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 0.2.22
1
+ version: 0.2.23
2
2
 
3
3
  author: Niek Bartholomeus
4
4
  email: niek.bartholomeus@gmail.com
@@ -1,6 +1,6 @@
1
1
  require "yaml"
2
2
 
3
- print "Loading all files from #{File.dirname(__FILE__)}...\n"
3
+ print "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}|Loading all files from #{File.dirname(__FILE__)}...\n"
4
4
  require_relative "logging/brpm_logger"
5
5
  require_relative "logging/simple_logger"
6
6
 
@@ -177,7 +177,7 @@ class BrpmAuto
177
177
  lib_path = "#{module_path}/lib/**/*.rb"
178
178
 
179
179
  log_message = "Loading all files from #{lib_path}..."
180
- log ? (BrpmAuto.log log_message) : (print "#{log_message}\n")
180
+ log ? (BrpmAuto.log log_message) : (print "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}|#{log_message}\n")
181
181
 
182
182
  require_files(Dir[lib_path], log)
183
183
  end
@@ -86,11 +86,11 @@ class BrpmScriptExecutor
86
86
  def execute_automation_script_from_other_process(modul, name, params_file, automation_type, parent_id = nil, offset = nil, max_records = nil)
87
87
  raise "Params file #{params_file} doesn't exist." unless File.exists?(params_file)
88
88
 
89
- puts "Loading the params from #{params_file} and cleaning it up..."
89
+ puts "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}| Loading the params from #{params_file} and cleaning it up..."
90
90
  params = YAML.load_file(params_file)
91
91
  FileUtils.rm(params_file)
92
92
 
93
- puts " Setting up the BRPM Content framework..."
93
+ puts "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}| Setting up the BRPM Content framework..."
94
94
  BrpmAuto.setup(params)
95
95
  BrpmAuto.log " BRPM Content framework is version #{BrpmAuto.version}."
96
96
 
@@ -523,7 +523,6 @@ EOR
523
523
  template = <<EOR
524
524
  params["direct_execute"] = "true"
525
525
 
526
- params["framework_version"] = nil if params["framework_version"].empty?
527
526
  params["module_version"] = nil if params["module_version"].empty?
528
527
 
529
528
  EOR
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brpm_content_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.22
4
+ version: 0.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client