chef-handler-datadog-demo 0.1.0 → 0.2.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
  SHA1:
3
- metadata.gz: 9592a69478339cd327d114cfd5875333f8f89046
4
- data.tar.gz: fc58bf593416d2852a4b7e6d73421034dbaa05e8
3
+ metadata.gz: 938d95b617ba588a51061209fdf206941e3a56b9
4
+ data.tar.gz: 5f6c92a8ad4bf8d95b252f572ea380a5c4a39e1a
5
5
  SHA512:
6
- metadata.gz: 0d8babb0d3e99d258c89a1e253077c533a2675fdda8ebe575a3fcf5ebd398df168eb2c37c48b66d060c75dea85cd35a22a17663b0dc2d2b30d62c9892f1e269f
7
- data.tar.gz: 9442160ff16ec9ea21ed16253ced2e9c869eb7146be9c95cbba2bd045ade2fe9c043e39adf82673c9cb3d9bf56c2299e5fc4dedf1ebeb5a2852de94b5ade7fcd
6
+ metadata.gz: 829859f7e11eee4aab698018c0913128421b80c4c6c025bbd33d5b2406e531384796b4f05cd17adf66931c8d49ab253890c5570b24a43a84d0411ac220444c26
7
+ data.tar.gz: 32ad6c8df59e25ffde99aa89ed5591de9f17ea267f6286fd3cc392b193fb2c16f2f4a351d2930cb24cd00fd0fe956b59d2408994835c3da74681c9d39a6d5954
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.require_paths = ['lib']
15
15
  gem.extra_rdoc_files = ['README.md', 'LICENSE.txt']
16
16
 
17
- gem.add_dependency 'dogapi', '>= 1.6'
17
+ gem.add_dependency 'dogapi-demo', '0.1.0'
18
18
 
19
19
  gem.add_development_dependency 'appraisal', '~> 2.0.1'
20
20
  gem.add_development_dependency 'bundler'
@@ -2,7 +2,7 @@
2
2
  require 'rubygems'
3
3
  require 'chef/handler'
4
4
  require 'chef/mash'
5
- require 'dogapi'
5
+ require 'dogapi-demo'
6
6
  require_relative 'datadog_demo_chef_metrics'
7
7
  require_relative 'datadog_demo_chef_tags'
8
8
  require_relative 'datadog_demo_chef_events'
@@ -19,7 +19,7 @@ class Chef
19
19
  def initialize(config = {})
20
20
  @config = Mash.new(config)
21
21
  # If *any* api_key is not provided, this will fail immediately.
22
- @dog = Dogapi::Client.new(@config[:api_key], @config[:application_key])
22
+ @dog = DogapiDemo::Client.new(@config[:api_key], @config[:application_key])
23
23
  end
24
24
 
25
25
  def report
@@ -2,7 +2,7 @@
2
2
  require 'rubygems'
3
3
  require 'chef/handler'
4
4
  require 'chef/mash'
5
- require 'dogapi'
5
+ require 'dogapi-demo'
6
6
 
7
7
  # helper class for sending events about chef runs
8
8
  class DatadogChefEvents
@@ -70,7 +70,7 @@ class DatadogChefEvents
70
70
  def emit_to_datadog
71
71
  @event_body = ''
72
72
  build_event_data
73
- evt = @dog.emit_event(Dogapi::Event.new(@event_body,
73
+ evt = @dog.emit_event(DogapiDemo::Event.new(@event_body,
74
74
  msg_title: @event_title,
75
75
  event_type: 'config_management.run',
76
76
  event_object: @hostname,
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- require 'dogapi'
2
+ require 'dogapi-demo'
3
3
 
4
4
  # helper class for sending datadog metrics from a chef run
5
5
  class DatadogChefMetrics
@@ -2,7 +2,7 @@
2
2
  require 'rubygems'
3
3
  require 'chef/handler'
4
4
  require 'chef/mash'
5
- require 'dogapi'
5
+ require 'dogapi-demo'
6
6
 
7
7
  # helper class for sending datadog tags from chef runs
8
8
  class DatadogChefTags
@@ -2,5 +2,5 @@
2
2
  # Helper module for version number only.
3
3
  # Real deal in 'chef/handler/datadog.rb'
4
4
  module ChefHandlerDatadogDemo
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-datadog-demo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Fiedler
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-07 00:00:00.000000000 Z
13
+ date: 2016-07-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: dogapi
16
+ name: dogapi-demo
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: '1.6'
21
+ version: 0.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: '1.6'
28
+ version: 0.1.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: appraisal
31
31
  requirement: !ruby/object:Gem::Requirement