dogapi 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/dogapi/v1/event.rb +3 -3
  3. metadata +4 -4
@@ -1,4 +1,4 @@
1
- = Ruby client for Datadog API v1.2.3
1
+ = Ruby client for Datadog API v1.2.4
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
 
@@ -54,13 +54,13 @@ module Dogapi
54
54
  :end => stop.to_i
55
55
  }
56
56
 
57
- if options[:priority]:
57
+ if options[:priority].nil?
58
58
  params[:priority] = options[:priority]
59
59
  end
60
- if options[:sources]:
60
+ if options[:sources].nil?
61
61
  params[:sources] = options[:sources]
62
62
  end
63
- if options[:tags]:
63
+ if options[:tags].nil?
64
64
  params[:tags] = options[:tags]
65
65
  end
66
66
 
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 3
10
- version: 1.2.3
9
+ - 4
10
+ version: 1.2.4
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: 2011-11-03 00:00:00 Z
18
+ date: 2011-11-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json