dogapi 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.azure-pipelines/all.yml +7 -4
- data/.github/CODEOWNERS +10 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +77 -0
- data/.github/labeler.yml +5 -0
- data/.github/workflows/labeler.yml +11 -0
- data/.github/workflows/stale.yml +39 -0
- data/.rubocop_todo.yml +27 -32
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +111 -0
- data/DEVELOPMENT.md +11 -0
- data/LICENSE +21 -20
- data/LICENSE-3rdparty.csv +6 -0
- data/README.rdoc +7 -0
- data/RELEASING.md +46 -0
- data/SUPPORT.md +9 -0
- data/examples/custom_metric.rb +1 -1
- data/lib/capistrano/README.md +4 -1
- data/lib/capistrano/datadog.rb +8 -4
- data/lib/capistrano/datadog/v2.rb +9 -1
- data/lib/capistrano/datadog/v3.rb +10 -1
- data/lib/dogapi.rb +4 -0
- data/lib/dogapi/common.rb +44 -9
- data/lib/dogapi/event.rb +4 -0
- data/lib/dogapi/facade.rb +56 -8
- data/lib/dogapi/metric.rb +4 -0
- data/lib/dogapi/v1.rb +5 -0
- data/lib/dogapi/v1/alert.rb +4 -0
- data/lib/dogapi/v1/aws_integration.rb +4 -0
- data/lib/dogapi/v1/aws_logs.rb +4 -0
- data/lib/dogapi/v1/azure_integration.rb +4 -0
- data/lib/dogapi/v1/comment.rb +4 -0
- data/lib/dogapi/v1/dash.rb +10 -4
- data/lib/dogapi/v1/dashboard.rb +4 -0
- data/lib/dogapi/v1/dashboard_list.rb +4 -0
- data/lib/dogapi/v1/embed.rb +4 -0
- data/lib/dogapi/v1/event.rb +4 -0
- data/lib/dogapi/v1/gcp_integration.rb +4 -0
- data/lib/dogapi/v1/hosts.rb +4 -0
- data/lib/dogapi/v1/integration.rb +4 -0
- data/lib/dogapi/v1/metadata.rb +4 -0
- data/lib/dogapi/v1/metric.rb +4 -0
- data/lib/dogapi/v1/monitor.rb +6 -2
- data/lib/dogapi/v1/screenboard.rb +4 -0
- data/lib/dogapi/v1/search.rb +4 -0
- data/lib/dogapi/v1/service_check.rb +4 -0
- data/lib/dogapi/v1/snapshot.rb +4 -0
- data/lib/dogapi/v1/synthetics.rb +80 -0
- data/lib/dogapi/v1/tag.rb +4 -0
- data/lib/dogapi/v1/usage.rb +4 -0
- data/lib/dogapi/v1/user.rb +4 -0
- data/lib/dogapi/v2.rb +4 -0
- data/lib/dogapi/v2/dashboard_list.rb +4 -0
- data/lib/dogapi/version.rb +5 -1
- data/spec/integration/alert_spec.rb +4 -0
- data/spec/integration/aws_integration_spec.rb +4 -0
- data/spec/integration/aws_logs_spec.rb +4 -0
- data/spec/integration/azure_integration_spec.rb +4 -0
- data/spec/integration/comment_spec.rb +5 -0
- data/spec/integration/common_spec.rb +4 -0
- data/spec/integration/dash_spec.rb +7 -1
- data/spec/integration/dashboard_list_spec.rb +4 -0
- data/spec/integration/dashboard_spec.rb +4 -0
- data/spec/integration/embed_spec.rb +4 -0
- data/spec/integration/event_spec.rb +5 -0
- data/spec/integration/gcp_integration_spec.rb +4 -0
- data/spec/integration/integration_spec.rb +4 -0
- data/spec/integration/metadata_spec.rb +4 -0
- data/spec/integration/metric_spec.rb +4 -0
- data/spec/integration/monitor_spec.rb +15 -0
- data/spec/integration/screenboard_spec.rb +4 -0
- data/spec/integration/search_spec.rb +4 -0
- data/spec/integration/service_check_spec.rb +4 -0
- data/spec/integration/snapshot_spec.rb +4 -0
- data/spec/integration/synthetics_spec.rb +131 -0
- data/spec/integration/tag_spec.rb +4 -0
- data/spec/integration/usage_spec.rb +4 -0
- data/spec/integration/user_spec.rb +4 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/unit/capistrano_spec.rb +4 -0
- data/spec/unit/common_spec.rb +41 -0
- data/spec/unit/facade_spec.rb +4 -0
- metadata +18 -4
data/spec/unit/facade_spec.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Unless explicitly stated otherwise all files in this repository are licensed under the BSD-3-Clause License.
|
2
|
+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
|
3
|
+
# Copyright 2011-Present Datadog, Inc.
|
4
|
+
|
1
5
|
require 'spec_helper'
|
2
6
|
|
3
7
|
describe Dogapi::Client do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dogapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -75,17 +75,29 @@ extra_rdoc_files:
|
|
75
75
|
- README.rdoc
|
76
76
|
files:
|
77
77
|
- ".azure-pipelines/all.yml"
|
78
|
+
- ".github/CODEOWNERS"
|
79
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
80
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
81
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
82
|
+
- ".github/labeler.yml"
|
83
|
+
- ".github/workflows/labeler.yml"
|
84
|
+
- ".github/workflows/stale.yml"
|
78
85
|
- ".gitignore"
|
79
86
|
- ".rspec"
|
80
87
|
- ".rubocop.yml"
|
81
88
|
- ".rubocop_todo.yml"
|
82
89
|
- ".tailor"
|
83
90
|
- CHANGELOG.md
|
91
|
+
- CONTRIBUTING.md
|
92
|
+
- DEVELOPMENT.md
|
84
93
|
- Gemfile
|
85
94
|
- Gemfile_1.9
|
86
95
|
- LICENSE
|
96
|
+
- LICENSE-3rdparty.csv
|
87
97
|
- README.rdoc
|
98
|
+
- RELEASING.md
|
88
99
|
- Rakefile
|
100
|
+
- SUPPORT.md
|
89
101
|
- dogapi.gemspec
|
90
102
|
- examples/Capfile
|
91
103
|
- examples/custom_event.rb
|
@@ -120,6 +132,7 @@ files:
|
|
120
132
|
- lib/dogapi/v1/search.rb
|
121
133
|
- lib/dogapi/v1/service_check.rb
|
122
134
|
- lib/dogapi/v1/snapshot.rb
|
135
|
+
- lib/dogapi/v1/synthetics.rb
|
123
136
|
- lib/dogapi/v1/tag.rb
|
124
137
|
- lib/dogapi/v1/usage.rb
|
125
138
|
- lib/dogapi/v1/user.rb
|
@@ -146,6 +159,7 @@ files:
|
|
146
159
|
- spec/integration/search_spec.rb
|
147
160
|
- spec/integration/service_check_spec.rb
|
148
161
|
- spec/integration/snapshot_spec.rb
|
162
|
+
- spec/integration/synthetics_spec.rb
|
149
163
|
- spec/integration/tag_spec.rb
|
150
164
|
- spec/integration/usage_spec.rb
|
151
165
|
- spec/integration/user_spec.rb
|
@@ -182,8 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
196
|
- !ruby/object:Gem::Version
|
183
197
|
version: '0'
|
184
198
|
requirements: []
|
185
|
-
|
186
|
-
rubygems_version: 2.7.6
|
199
|
+
rubygems_version: 3.0.6
|
187
200
|
signing_key:
|
188
201
|
specification_version: 4
|
189
202
|
summary: Ruby bindings for Datadog's API
|
@@ -208,6 +221,7 @@ test_files:
|
|
208
221
|
- spec/integration/search_spec.rb
|
209
222
|
- spec/integration/service_check_spec.rb
|
210
223
|
- spec/integration/snapshot_spec.rb
|
224
|
+
- spec/integration/synthetics_spec.rb
|
211
225
|
- spec/integration/tag_spec.rb
|
212
226
|
- spec/integration/usage_spec.rb
|
213
227
|
- spec/integration/user_spec.rb
|