smart_proxy_monitoring 0.3.0 → 0.4.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
  SHA256:
3
- metadata.gz: f5e92e5a9af2685d4f89adfae0b8327a53223a268a0eb1aee13957e8aac0311a
4
- data.tar.gz: cd1edae1deef86f472486288c8cacac30608b493eab7bb6aad2c0d495dac303b
3
+ metadata.gz: 854e2834d3a112ff8466941ee1607049c0e1c9db361584283dc0d1372ffaa331
4
+ data.tar.gz: 31e5fbafdcc4aa464abe53baceb9a00d35f919ccda01bc779474249782566cee
5
5
  SHA512:
6
- metadata.gz: 8acc9f33e0def4e55a560362df6e1e6ca4e7fbaf5d7513c3013757109753b30bc57db0574ae1aaefb8d937941570e243e271aac92661122eadcb92e4ca25712a
7
- data.tar.gz: b2c3fbe6a6d4441ecb7657669283ac29d1785a75a4c2a0d59cabe7b3112a33d0b30f24e7f5480905bcc113e7eb05e4a51586eb506c6c716f88567f6707376e92
6
+ metadata.gz: f472c3317ae4535a7530af87b48adddb0b79a232816691b09eae39c291295b34c165c064a619bd449c5d43d4348406cbb997c70d7c5fedf4b396772a53984e5c
7
+ data.tar.gz: bc2ce1a4c72bc6b4910a01fa9de8494cead6f39845e2779346041f9e1b63db715fd5a410041363f74164ea7e4359c3b51d651278794522e0746b650edfe57465
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  module Monitoring
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.4.0'.freeze
4
4
  end
5
5
  end
@@ -80,10 +80,9 @@ module ::Proxy::Monitoring::Icinga2
80
80
  private
81
81
 
82
82
  def symbolize_keys_deep!(h)
83
- h.each_key do |k|
84
- ks = k.to_sym
85
- h[ks] = h.delete k
86
- symbolize_keys_deep! h[ks] if h[ks].is_a? Hash
83
+ h.transform_keys!(&:to_sym)
84
+ h.each_value do |v|
85
+ symbolize_keys_deep!(v) if v.is_a?(Hash)
87
86
  end
88
87
  end
89
88
 
metadata CHANGED
@@ -1,45 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_monitoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Goebel
8
8
  - Dirk Goetz
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-31 00:00:00.000000000 Z
12
+ date: 2024-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: json
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: rest-client
30
16
  requirement: !ruby/object:Gem::Requirement
31
17
  requirements:
32
- - - ">="
18
+ - - "~>"
33
19
  - !ruby/object:Gem::Version
34
- version: '0'
20
+ version: '2.0'
35
21
  type: :runtime
36
22
  prerelease: false
37
23
  version_requirements: !ruby/object:Gem::Requirement
38
24
  requirements:
39
- - - ">="
25
+ - - "~>"
40
26
  - !ruby/object:Gem::Version
41
- version: '0'
42
- description: Monitoring plug-in for Foreman's smart proxy
27
+ version: '2.0'
28
+ description: For use together with the foreman_monitoring plugin.
43
29
  email:
44
30
  - timo.goebel@dm.de
45
31
  - dirk.goetz@netways.de
@@ -81,9 +67,9 @@ files:
81
67
  - settings.d/monitoring_icingadirector.yml.example
82
68
  homepage: https://github.com/theforeman/smart_proxy_monitoring
83
69
  licenses:
84
- - GPL-3.0
70
+ - GPL-3.0-only
85
71
  metadata: {}
86
- post_install_message:
72
+ post_install_message:
87
73
  rdoc_options: []
88
74
  require_paths:
89
75
  - lib
@@ -101,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
87
  - !ruby/object:Gem::Version
102
88
  version: '0'
103
89
  requirements: []
104
- rubygems_version: 3.2.3
105
- signing_key:
90
+ rubygems_version: 3.3.27
91
+ signing_key:
106
92
  specification_version: 4
107
93
  summary: Monitoring plug-in for Foreman's smart proxy
108
94
  test_files: []