sensu_generator 0.0.25 → 0.0.26

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa5b40932e162763cc44bfc51cd2051806b3d46a
4
- data.tar.gz: 23194a317cde4a606d1358ef06fa70c5e7974bcd
3
+ metadata.gz: e6933b751cd11d694a46c843491fbe1741ab7f74
4
+ data.tar.gz: 734d8632b61e3ce4c01359adbbfbe62dbf71a896
5
5
  SHA512:
6
- metadata.gz: 5d6afad7404f580509f9f189f92fc70b5ca0c11158fa4561325ed7b2aea4b29abebbd064ebfc5be466693a8de7f5304ae9ea8084c5c90a8f6f9833d308e5bb56
7
- data.tar.gz: d818013b9f39db3898ba74924063754c505ed5327f0bc473a05f3e37c922272c25c8724270181b2373180d2d129e3ffcc8adc24dcaf09ddabe61951b9b23248f
6
+ metadata.gz: 2975987ea1b3d6040209490a14f3317913160e8e8320aa897e97de2300948c27c51c585e8f129e42c09bab858ea6cc3d13c9aa0f8d772483172827d69ed0b1e4
7
+ data.tar.gz: 0ede76454a0cceed0be9b6b54700633a6522e2e12b483c02ff24512779f1fcb2222068b7797fca94084ad81d48b9d2d90442317e155be9cd210c7ba254b32b9b
@@ -44,10 +44,10 @@ module SensuGenerator
44
44
  def process(data)
45
45
  hash = JSON.parse data
46
46
 
47
- if hash.key?? 'FLUSH_WITH_PREFIX'
47
+ if hash.key? 'FLUSH_WITH_PREFIX'
48
48
  logger.info "Server: removing files with prefix #{hash['FLUSH_WITH_PREFIX']}"
49
49
  CheckFile.remove_all_with(hash['FLUSH_WITH_PREFIX'])
50
- elsif hash.key?? 'filename'
50
+ elsif hash.key? 'filename'
51
51
  filename = hash['filename']
52
52
  data = JSON.pretty_generate hash['data']
53
53
 
@@ -1,3 +1,3 @@
1
1
  module SensuGenerator
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grigory Aksentyev