dogapi 1.3.4 → 1.3.6

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 +5 -1
  2. data/lib/capistrano/datadog.rb +1 -1
  3. metadata +5 -5
@@ -1,9 +1,13 @@
1
- = Ruby client for Datadog API v1.3.2
1
+ = Ruby client for Datadog API v1.3.6
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.3.6
8
+
9
+ * Small fix for capistrano integration
10
+
7
11
  == v1.3.4
8
12
 
9
13
  * Various bug fixes (event.to_hash, md5 import, capistrano lambda roles)
@@ -90,7 +90,7 @@ module Capistrano
90
90
  # Convert the tasks into Datadog events
91
91
  @tasks.map do |task|
92
92
  name = task[:name]
93
- roles = (task[:roles] || []).sort
93
+ roles = Array(task[:roles]).map(&:to_s).sort
94
94
  tags = ["#capistrano"] + (roles.map { |t| '#role:' + t })
95
95
  title = "%s@%s ran %s on %s with capistrano in %.2f secs" % [user, hostname, name, roles.join(', '), task[:timing]]
96
96
  type = "deploy"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 4
10
- version: 1.3.4
9
+ - 6
10
+ version: 1.3.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Datadog, Inc.
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-09 00:00:00 Z
18
+ date: 2012-07-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements: []
90
90
 
91
91
  rubyforge_project:
92
- rubygems_version: 1.8.11
92
+ rubygems_version: 1.8.24
93
93
  signing_key:
94
94
  specification_version: 3
95
95
  summary: Ruby bindings for Datadog's API