dogapi 1.2.4 → 1.2.5

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 +1 -1
  2. data/lib/dogapi/v1/event.rb +3 -3
  3. metadata +3 -3
@@ -1,4 +1,4 @@
1
- = Ruby client for Datadog API v1.2.4
1
+ = Ruby client for Datadog API v1.2.5
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].nil?
57
+ if options[:priority]
58
58
  params[:priority] = options[:priority]
59
59
  end
60
- if options[:sources].nil?
60
+ if options[:sources]
61
61
  params[:sources] = options[:sources]
62
62
  end
63
- if options[:tags].nil?
63
+ if options[:tags]
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.4
9
+ - 5
10
+ version: 1.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Datadog, Inc.