chef-handler-opsmatic 0.0.6 → 0.0.7

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: f485dfbdfe1e34f5fb8ab7514a87de5d08c1967e
4
- data.tar.gz: dd03cff03c18f58992801f8a0ef3603937d49c1c
3
+ metadata.gz: b6bd4b0a5519d114752f04bf2228ac0726d75e39
4
+ data.tar.gz: beebb4d1a59d060f61a15768940248f4835a3c19
5
5
  SHA512:
6
- metadata.gz: 72296d4caa5ec50898d1d628f6db95ac844a440cc39e555f64811daf50f3edcaeef39041c02d44896b48da34a470c9449368862c4d8b7caf38d14e194f1168ff
7
- data.tar.gz: 104a6a41f53dc8355effadb1a149bc63abd5c47d4090d899c22a950fdf45863e2da65a0524af39f0a0349961d084bc237c928b31a5f89e076eb74ace2515fe7d
6
+ metadata.gz: e9047c220213d19a83f33514e379145613472020e167c4d12ea162d417ea935621ea09fbd49b17e1e6700c7bbb9536dbaa3bd09a4c26d2bf53be3d5fc95e5fd3
7
+ data.tar.gz: 12725561dac8c31e4844f6b22fe76d33d8de47dc12b7cb9f5bd2a633023868b84d4eaac784aa824643025907d00bce799525ca5a944ce25c9fd243a2d50438eb
@@ -80,7 +80,7 @@ class Chef
80
80
 
81
81
  request = Net::HTTP::Post.new(url.request_uri)
82
82
  request["Content-Type"] = "application/json"
83
- request.body = [event].to_json
83
+ request.body = event.to_json
84
84
 
85
85
  begin
86
86
  response = http.request(request)
@@ -1,7 +1,7 @@
1
1
  module Chef
2
2
  module Handler
3
3
  module Opsmatic
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.7"
5
5
  end
6
6
  end
7
7
  end
@@ -4,7 +4,7 @@ require 'pp'
4
4
 
5
5
  describe "Chef::Handler::Opsmatic" do
6
6
  before(:all) do
7
- COLLECTOR_URL = "http://api.opsmatic.com/webhooks/events"
7
+ COLLECTOR_URL = "http://api.opsmatic.com/webhooks/events/chef"
8
8
  INTEGRATION_TOKEN = "xxxxx-yyyyy"
9
9
  HOSTNAME = "foo.example.com"
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-opsmatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Barczak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-12 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler