sensu-settings 9.2.1 → 9.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/settings/loader.rb +1 -1
- data/sensu-settings.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2314280ac8daa5b71f0db6f7cac9f5ed92d7d72
|
4
|
+
data.tar.gz: eda3885e2270d9b6637e520f33bd4a59c030b2c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5085a2b545881de199bb5877a29c0f2d29e79fe5110e9ed6ec3f0d3a468b637ed9fc80d2fbbf82a859a9b085b485f73fd46bffc29e968f58b05d6770bdb731bb
|
7
|
+
data.tar.gz: 0903d6116eec7051e0728878ed4d78c12349a4e07c4f5f784b68e67cad340e71d4b9f468e9e9ca449676b5f4badf572144c968e091dc01b5dc2bbc0206ac5463
|
@@ -127,7 +127,7 @@ module Sensu
|
|
127
127
|
begin
|
128
128
|
warning("loading config file", :file => file)
|
129
129
|
contents = read_config_file(file)
|
130
|
-
config = Sensu::JSON.load(contents)
|
130
|
+
config = contents.empty? ? {} : Sensu::JSON.load(contents)
|
131
131
|
merged = deep_merge(@settings, config)
|
132
132
|
unless @loaded_files.empty?
|
133
133
|
changes = deep_diff(@settings, merged)
|
data/sensu-settings.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.2.
|
4
|
+
version: 9.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|