insights-loggers-ruby 0.1.0 → 0.1.5

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
  SHA256:
3
- metadata.gz: 0a703f9ed56e5648e2b33273caee743d6c88aa861d71f3cf8557b10bf3fde524
4
- data.tar.gz: 46b9560faec957accbf07f15610295834e100feedc31b60f2ed6fcd66bfd1c06
3
+ metadata.gz: 63f4fc0f505acb0cdd2ce54d981c6ef632e8a96414e8117a619505b23b813495
4
+ data.tar.gz: 7f1025b29f4a92b1eb7a01454792796619072741a28481881b21cc41b700be46
5
5
  SHA512:
6
- metadata.gz: 3cbdee4cab8984ad70a87e89ebc1a8ed85a7232ca45a1712f56f97bcbc8672f6f1555562dde42c9fb37380493403bfab1c4e3d58728e5d0a3317cdbfca712e64
7
- data.tar.gz: bf55346a0e11d70c7d8cbe9c7d408cd25d8338805418beddb53ab2b2f17b5bf9dd99280e40841ad3452c706ffe95126eacbf36e27215d441f4f45f19ff9ccaf6
6
+ metadata.gz: ca7068ce42e453b193566d31d0db3913006ac78bed1afc1698e974580cf2f6e9ee0fe1c5859e319ffd0994b4b5a92e16ca10b0494707424d91f1fa37cda2d563
7
+ data.tar.gz: b8129903831d0d4afd3bfeae06fe168b9ba0e10a2f91d60006a4ff3ff9a619947df7b9d0c81247241e79e23fec9cedb7cfc007c3b65928d6c0d03d84cb128049
@@ -22,12 +22,11 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_runtime_dependency "activesupport", "~> 5.0"
26
- spec.add_runtime_dependency "topological_inventory-providers-common", "~> 2.1.5"
25
+ spec.add_runtime_dependency "activesupport", "~> 5.2", ">= 5.2.4.3"
26
+ spec.add_runtime_dependency "topological_inventory-providers-common", "~> 3.0.1"
27
27
  spec.add_runtime_dependency "manageiq-loggers", "~> 0.4", ">= 0.4.2"
28
28
 
29
- spec.add_development_dependency "cloudwatchlogger", "~> 0.3.0"
30
- spec.add_development_dependency "bundler", "~> 1.17.3"
29
+ spec.add_runtime_dependency "cloudwatchlogger", "~> 0.3.0"
31
30
  spec.add_development_dependency "manageiq-style", "~> 1.3.0"
32
31
  spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
33
32
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -19,7 +19,10 @@ module Insights
19
19
  klass.new
20
20
  end
21
21
 
22
- logger.app_name_for_formatter(args[:app_name]) if args && args[:app_name]
22
+ if args && args[:app_name] && logger.respond_to?(:app_name_for_formatter)
23
+ logger.app_name_for_formatter(args[:app_name])
24
+ end
25
+
23
26
  logger
24
27
  end
25
28
 
@@ -32,6 +35,7 @@ module Insights
32
35
  require "manageiq/loggers/container"
33
36
  when "ManageIQ::Loggers::CloudWatch"
34
37
  require "manageiq/loggers/base"
38
+ require "manageiq/loggers/container"
35
39
  require "manageiq/loggers/cloud_watch"
36
40
  when "ManageIQ::Loggers::Journald"
37
41
  unless RbConfig::CONFIG['host_os'] =~ /linux/i
@@ -1,5 +1,5 @@
1
1
  module Insights
2
2
  module Loggers
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insights-loggers-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Insights Authors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '5.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 5.2.4.3
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '5.0'
29
+ version: '5.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 5.2.4.3
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: topological_inventory-providers-common
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 2.1.5
39
+ version: 3.0.1
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: 2.1.5
46
+ version: 3.0.1
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: manageiq-loggers
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -65,27 +71,13 @@ dependencies:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
73
  version: 0.3.0
68
- type: :development
74
+ type: :runtime
69
75
  prerelease: false
70
76
  version_requirements: !ruby/object:Gem::Requirement
71
77
  requirements:
72
78
  - - "~>"
73
79
  - !ruby/object:Gem::Version
74
80
  version: 0.3.0
75
- - !ruby/object:Gem::Dependency
76
- name: bundler
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: 1.17.3
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: 1.17.3
89
81
  - !ruby/object:Gem::Dependency
90
82
  name: manageiq-style
91
83
  requirement: !ruby/object:Gem::Requirement