sensu-extensions 0.0.1 → 0.0.2

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: 921d30c624c871a29bdebaffbb2a6ad90e534c14
4
- data.tar.gz: 65287442e82d713e383b0b029121ddfc37dfd4fe
3
+ metadata.gz: e9b7abb0a8e576a835a2162c0b1e6f070e5c340a
4
+ data.tar.gz: 46547b38a70a2182b7894a3d27042b872075942f
5
5
  SHA512:
6
- metadata.gz: 90ad3a3900709a313464058d508dd928fcb0197eebbb137e1977cd4e4d28ee7b77868963bff68929a783868fb813102be6357c6c292ba9079b72de69855fc5b6
7
- data.tar.gz: 15e88aed2126991161ae87abaf0951692b5ddc220a7a761fe9dee9c0e1fd583b0e7d94379e30c562287c8a0d871e7528595171a2bcd68db3070e66c48162b944
6
+ metadata.gz: 11bd8e02a097a891b41f42c5f85296fbc6d71188099e0140b8bdde1a843b257de8b46c9b5ef11446da7a7acb67e4a54927e13f4bfd67462615e70e356e8b839e
7
+ data.tar.gz: 0e4f8e91af10254dea3fa887f82d5f0d56017d09aef5284bef0529ae34082aa47c3489e5c4275c1ac423ef793a11580aaa9488697f3e3bca8f7470b8eea65432
@@ -8,11 +8,11 @@ module Sensu
8
8
  end
9
9
 
10
10
  def description
11
- "returns inspected event data"
11
+ "returns raw event data"
12
12
  end
13
13
 
14
14
  def run(event)
15
- yield event.inspect, 0
15
+ yield event, 0
16
16
  end
17
17
  end
18
18
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-extensions"
5
- spec.version = "0.0.1"
5
+ spec.version = "0.0.2"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu extension loader library"
@@ -8,7 +8,7 @@ describe "Sensu::Extension::Debug" do
8
8
  @extension = Sensu::Extension::Debug.new
9
9
  end
10
10
 
11
- it "can run, returning an inspected event data" do
11
+ it "can run, returning raw event data" do
12
12
  event = {
13
13
  :client => {},
14
14
  :check => {
@@ -17,7 +17,7 @@ describe "Sensu::Extension::Debug" do
17
17
  }
18
18
  }
19
19
  @extension.safe_run(event) do |output, status|
20
- output.should eq(event.inspect)
20
+ output.should eq(event)
21
21
  status.should eq(0)
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.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: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-em