dogapi 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dogapi/common.rb +1 -1
  2. metadata +5 -12
data/lib/dogapi/common.rb CHANGED
@@ -78,7 +78,7 @@ module Dogapi
78
78
  private
79
79
 
80
80
  def Dogapi.find_datadog_host
81
- ENV['DATADOG_HOST'] rescue nil
81
+ ENV['DATADOG_HOST'] rescue "app.datadoghq.com"
82
82
  end
83
83
 
84
84
  def Dogapi.find_api_key
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 3
10
- version: 1.0.3
8
+ - 4
9
+ version: 1.0.4
11
10
  platform: ruby
12
11
  authors:
13
12
  - Datadog, Inc.
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-06-22 00:00:00 -04:00
17
+ date: 2011-10-06 00:00:00 -04:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: json
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 1
30
27
  segments:
31
28
  - 1
32
29
  - 5
@@ -69,27 +66,23 @@ rdoc_options:
69
66
  require_paths:
70
67
  - lib
71
68
  required_ruby_version: !ruby/object:Gem::Requirement
72
- none: false
73
69
  requirements:
74
70
  - - ">="
75
71
  - !ruby/object:Gem::Version
76
- hash: 3
77
72
  segments:
78
73
  - 0
79
74
  version: "0"
80
75
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
76
  requirements:
83
77
  - - ">="
84
78
  - !ruby/object:Gem::Version
85
- hash: 3
86
79
  segments:
87
80
  - 0
88
81
  version: "0"
89
82
  requirements: []
90
83
 
91
84
  rubyforge_project:
92
- rubygems_version: 1.6.2
85
+ rubygems_version: 1.3.6
93
86
  signing_key:
94
87
  specification_version: 3
95
88
  summary: Ruby bindings for Datadog's API