dogapi 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +9 -1
  2. data/lib/capistrano/datadog.rb +3 -6
  3. metadata +49 -34
data/README.rdoc CHANGED
@@ -1,9 +1,17 @@
1
- = Ruby client for Datadog API v1.4.1
1
+ = Ruby client for Datadog API v1.4.3
2
2
 
3
3
  The Ruby client is a library suitable for inclusion in existing Ruby projects or for development of standalone scripts. It provides an abstraction on top of Datadog's raw HTTP interface for reporting events and metrics.
4
4
 
5
5
  = What's new?
6
6
 
7
+ == v1.4.3
8
+
9
+ * Fix bug with capistrano integration for capistrano 2.13.5 (thanks @ansel1)
10
+
11
+ == v1.4.2
12
+
13
+ * Added missing dashboards endpoint.
14
+
7
15
  == v1.4.1
8
16
 
9
17
  * Fixed searching for events with tags.
@@ -4,6 +4,7 @@ require "digest/md5"
4
4
  require "socket"
5
5
  require "time"
6
6
  require "timeout"
7
+ require "delegate"
7
8
 
8
9
  require "dogapi"
9
10
 
@@ -110,14 +111,10 @@ module Capistrano
110
111
  end
111
112
  end
112
113
 
113
- class LogCapture
114
- def initialize(device)
115
- @device = device
116
- end
117
-
114
+ class LogCapture < SimpleDelegator
118
115
  def puts(message)
119
116
  Capistrano::Datadog::reporter.record_log message
120
- @device.puts message
117
+ __getobj__.puts message
121
118
  end
122
119
  end
123
120
  end
metadata CHANGED
@@ -1,39 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dogapi
3
- version: !ruby/object:Gem::Version
4
- version: 1.4.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 3
10
+ version: 1.4.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Datadog, Inc.
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-09-21 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-11-01 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: json
16
- requirement: !ruby/object:Gem::Requirement
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 1
28
+ segments:
29
+ - 1
30
+ - 5
31
+ - 1
21
32
  version: 1.5.1
22
- type: :runtime
33
+ version_requirements: *id001
23
34
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.5.1
35
+ type: :runtime
30
36
  description:
31
37
  email: packages@datadoghq.com
32
38
  executables: []
39
+
33
40
  extensions: []
34
- extra_rdoc_files:
41
+
42
+ extra_rdoc_files:
35
43
  - README.rdoc
36
- files:
44
+ files:
37
45
  - lib/capistrano/datadog.rb
38
46
  - lib/capistrano/README.md
39
47
  - lib/dogapi/common.rb
@@ -55,35 +63,42 @@ files:
55
63
  - tests/test_search.rb
56
64
  - README.rdoc
57
65
  homepage: http://datadoghq.com/
58
- licenses:
66
+ licenses:
59
67
  - BSD
60
68
  post_install_message:
61
- rdoc_options:
69
+ rdoc_options:
62
70
  - --title
63
71
  - DogAPI -- DataDog Client
64
72
  - --main
65
73
  - README.rdoc
66
74
  - --line-numbers
67
75
  - --inline-source
68
- require_paths:
76
+ require_paths:
69
77
  - lib
70
- required_ruby_version: !ruby/object:Gem::Requirement
78
+ required_ruby_version: !ruby/object:Gem::Requirement
71
79
  none: false
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ hash: 3
84
+ segments:
85
+ - 0
86
+ version: "0"
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
88
  none: false
78
- requirements:
79
- - - ! '>='
80
- - !ruby/object:Gem::Version
81
- version: '0'
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ version: "0"
82
96
  requirements: []
97
+
83
98
  rubyforge_project:
84
99
  rubygems_version: 1.8.24
85
100
  signing_key:
86
101
  specification_version: 3
87
102
  summary: Ruby bindings for Datadog's API
88
- test_files:
103
+ test_files:
89
104
  - tests/test_client.rb