dogapi 1.5.0 → 1.5.2

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 +4 -1
  2. data/lib/dogapi/event.rb +1 -1
  3. metadata +42 -56
@@ -1,9 +1,12 @@
1
- = Ruby client for Datadog API v1.5.0
1
+ = Ruby client for Datadog API v1.5.2
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.5.1
8
+ * Fix a bug in hashing the Event object when the instance variables are symbols.
9
+
7
10
  == v1.5.0
8
11
 
9
12
  * Alerting API
@@ -53,7 +53,7 @@ module Dogapi
53
53
  # http://stackoverflow.com/a/5031637/25276
54
54
  def to_hash
55
55
  hash = {}
56
- instance_variables.each {|var| hash[var[1..-1].to_sym] = instance_variable_get(var) }
56
+ instance_variables.each {|var| hash[var.to_s[1..-1].to_sym] = instance_variable_get(var) }
57
57
  hash
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,53 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dogapi
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 5
8
- - 0
9
- segments_generated: true
10
- version: 1.5.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.2
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Datadog, Inc.
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-11-06 00:00:00 -05:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
12
+ date: 2013-02-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
23
15
  name: json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.1
24
22
  type: :runtime
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- segments:
30
- - 1
31
- - 5
32
- - 1
33
- segments_generated: true
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
34
29
  version: 1.5.1
35
- requirement: *id001
36
30
  description:
37
31
  email: packages@datadoghq.com
38
32
  executables: []
39
-
40
33
  extensions: []
41
-
42
- extra_rdoc_files:
34
+ extra_rdoc_files:
43
35
  - README.rdoc
44
- files:
45
- - lib/capistrano/datadog.rb
36
+ files:
46
37
  - lib/capistrano/README.md
38
+ - lib/capistrano/datadog.rb
39
+ - lib/dogapi.rb
47
40
  - lib/dogapi/common.rb
48
41
  - lib/dogapi/event.rb
49
42
  - lib/dogapi/facade.rb
50
43
  - lib/dogapi/metric.rb
44
+ - lib/dogapi/v1.rb
51
45
  - lib/dogapi/v1/alert.rb
52
46
  - lib/dogapi/v1/comment.rb
53
47
  - lib/dogapi/v1/dash.rb
@@ -55,8 +49,6 @@ files:
55
49
  - lib/dogapi/v1/metric.rb
56
50
  - lib/dogapi/v1/search.rb
57
51
  - lib/dogapi/v1/tag.rb
58
- - lib/dogapi/v1.rb
59
- - lib/dogapi.rb
60
52
  - tests/test_alerts.rb
61
53
  - tests/test_base.rb
62
54
  - tests/test_client.rb
@@ -64,42 +56,36 @@ files:
64
56
  - tests/test_dashes.rb
65
57
  - tests/test_search.rb
66
58
  - README.rdoc
67
- has_rdoc: true
68
59
  homepage: http://datadoghq.com/
69
- licenses:
60
+ licenses:
70
61
  - BSD
71
62
  post_install_message:
72
- rdoc_options:
63
+ rdoc_options:
73
64
  - --title
74
65
  - DogAPI -- DataDog Client
75
66
  - --main
76
67
  - README.rdoc
77
68
  - --line-numbers
78
69
  - --inline-source
79
- require_paths:
70
+ require_paths:
80
71
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
- segments_generated: true
88
- version: "0"
89
- required_rubygems_version: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
- segments_generated: true
96
- version: "0"
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
97
84
  requirements: []
98
-
99
85
  rubyforge_project:
100
- rubygems_version: 1.3.6
86
+ rubygems_version: 1.8.24
101
87
  signing_key:
102
88
  specification_version: 3
103
89
  summary: Ruby bindings for Datadog's API
104
- test_files:
90
+ test_files:
105
91
  - tests/test_client.rb