soar_sc_core 2.0.0 → 3.0.0

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
  SHA1:
3
- metadata.gz: 955b411a5a512dd195d436970bbbad2b3e05ae5c
4
- data.tar.gz: 9e2b010d0233400dc2ee694a847bff9e75f149d7
3
+ metadata.gz: f26da578a3f102ab854c896934b883ea1cdcfc39
4
+ data.tar.gz: 83ef38a3e4e197eae1d5e1cb87e0bdec534aa896
5
5
  SHA512:
6
- metadata.gz: e37d73cad0d92fadc969f6c98073eeb33d0f6cdf1143ce67a4594e179138c1183e91f5b8c69253ac1501374abaa8534fc2a6daa8478ed0102202feeb9da9810f
7
- data.tar.gz: 93abfb6dfe161d2af0fb025ef2c7475151c7b0ee7d61ea65e4df8c65aac87ae9a04ab2aaac2a05ca35ae373fdf6936004893d63d845951c0e006327409c2edc9
6
+ metadata.gz: 1906f078acdbfbbcdd710b04c470c3ca61ab79efc19db7c7f0c02a82c4e6bd06d6412abef56554975565ea07e69561e0570e094f0970edc49e97c85cbcd96987
7
+ data.tar.gz: 9ce4a0fee61062fa8ae0705c3c730c8593b1ef3bea1faea185f1c32d90bd87c00bda32cccef95f10fefdfa0b683a28ddd102c7189b93eb1f76713eb7e8c05bf5
@@ -56,11 +56,18 @@ module SoarSc
56
56
  }
57
57
  } unless defined? DEFAULT_AUDITING_CONFIGURATION; DEFAULT_AUDITING_CONFIGURATION.freeze
58
58
 
59
- def self.bootstrap(configuration)
59
+ def self.bootstrap(configuration, with_identifier = false)
60
60
  begin
61
61
  merged_configuration = self.merge_configuration_with_auditing_defaults(configuration)
62
62
  self.validate_auditing_provider_configuration(merged_configuration['auditing'])
63
- SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider']).new(merged_configuration['auditing'])
63
+ if with_identifier
64
+ SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
65
+ .new(merged_configuration['auditing'],
66
+ SoarSc::environment['IDENTIFIER'])
67
+ else
68
+ SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
69
+ .new(merged_configuration['auditing'])
70
+ end
64
71
  self.generate_instance_flow_id
65
72
  SoarSc::auditing.service_identifier = SoarSc::environment['IDENTIFIER']
66
73
  self.bootstrap_analytics
@@ -1,3 +1,3 @@
1
1
  module SoarScCore
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/soar_sc_core.gemspec CHANGED
@@ -73,5 +73,5 @@ Gem::Specification.new do |spec|
73
73
  spec.add_development_dependency "bundler", "~> 1.12"
74
74
  spec.add_development_dependency "rake", "~> 10.0"
75
75
  spec.add_development_dependency "rspec", "~> 3.0"
76
- spec.add_development_dependency "byebug", '~> 0'
76
+ spec.add_development_dependency "byebug", '~> 10'
77
77
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_sc_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-11 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -478,14 +478,14 @@ dependencies:
478
478
  requirements:
479
479
  - - "~>"
480
480
  - !ruby/object:Gem::Version
481
- version: '0'
481
+ version: '10'
482
482
  type: :development
483
483
  prerelease: false
484
484
  version_requirements: !ruby/object:Gem::Requirement
485
485
  requirements:
486
486
  - - "~>"
487
487
  - !ruby/object:Gem::Version
488
- version: '0'
488
+ version: '10'
489
489
  description: Service component core aggregations for simple inclusion into service
490
490
  components
491
491
  email: