dogapi 1.0.2 → 1.0.3

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/common.rb +3 -0
  3. metadata +3 -3
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- Ruby client for Datadog API v1.0.2
1
+ Ruby client for Datadog API v1.0.3
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
 
data/lib/dogapi/common.rb CHANGED
@@ -35,6 +35,9 @@ module Dogapi
35
35
  if 'https' == uri.scheme
36
36
  session.use_ssl = true
37
37
  session.verify_mode = OpenSSL::SSL::VERIFY_PEER
38
+ if File.directory? '/etc/ssl/certs'
39
+ session.ca_path = '/etc/ssl/certs'
40
+ end
38
41
  end
39
42
  session.start do |conn|
40
43
  yield(conn)
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: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Datadog, Inc.