dogapi 1.3.3 → 1.3.4

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 -0
  2. data/lib/capistrano/datadog.rb +6 -2
  3. metadata +12 -7
data/README.rdoc CHANGED
@@ -4,6 +4,15 @@ The Ruby client is a library suitable for inclusion in existing Ruby projects or
4
4
 
5
5
  = What's new?
6
6
 
7
+ == v1.3.4
8
+
9
+ * Various bug fixes (event.to_hash, md5 import, capistrano lambda roles)
10
+
11
+ == v1.3.3
12
+
13
+ * Bug fix for submitting counters
14
+
15
+
7
16
  == v1.3.2
8
17
 
9
18
  * Support an aggregation key to aggregate events together
@@ -1,6 +1,6 @@
1
1
  require "benchmark"
2
2
  require "etc"
3
- require "md5"
3
+ require "digest/md5"
4
4
  require "socket"
5
5
  require "time"
6
6
  require "timeout"
@@ -62,10 +62,14 @@ module Capistrano
62
62
  end
63
63
 
64
64
  def record_task(task, timing)
65
+ roles = task.options[:roles]
66
+ if roles.is_a? Proc
67
+ roles = roles.call
68
+ end
65
69
  @tasks << {
66
70
  :name => task.fully_qualified_name,
67
71
  :timing => timing.real,
68
- :roles => task.options[:roles]
72
+ :roles => roles
69
73
  }
70
74
  end
71
75
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogapi
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 19
5
+ prerelease:
5
6
  segments:
6
7
  - 1
7
8
  - 3
8
- - 3
9
- version: 1.3.3
9
+ - 4
10
+ version: 1.3.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Datadog, Inc.
@@ -14,16 +15,17 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2012-07-05 00:00:00 -04:00
18
- default_executable:
18
+ date: 2012-07-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ">="
26
27
  - !ruby/object:Gem::Version
28
+ hash: 1
27
29
  segments:
28
30
  - 1
29
31
  - 5
@@ -53,7 +55,6 @@ files:
53
55
  - lib/dogapi.rb
54
56
  - tests/test_client.rb
55
57
  - README.rdoc
56
- has_rdoc: true
57
58
  homepage: http://datadoghq.com/
58
59
  licenses:
59
60
  - BSD
@@ -68,23 +69,27 @@ rdoc_options:
68
69
  require_paths:
69
70
  - lib
70
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
+ none: false
71
73
  requirements:
72
74
  - - ">="
73
75
  - !ruby/object:Gem::Version
76
+ hash: 3
74
77
  segments:
75
78
  - 0
76
79
  version: "0"
77
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
+ none: false
78
82
  requirements:
79
83
  - - ">="
80
84
  - !ruby/object:Gem::Version
85
+ hash: 3
81
86
  segments:
82
87
  - 0
83
88
  version: "0"
84
89
  requirements: []
85
90
 
86
91
  rubyforge_project:
87
- rubygems_version: 1.3.6
92
+ rubygems_version: 1.8.11
88
93
  signing_key:
89
94
  specification_version: 3
90
95
  summary: Ruby bindings for Datadog's API