dogapi 1.38.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.azure-pipelines/all.yml +7 -4
  3. data/.github/CODEOWNERS +10 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
  6. data/.github/PULL_REQUEST_TEMPLATE.md +77 -0
  7. data/.github/labeler.yml +5 -0
  8. data/.github/workflows/labeler.yml +11 -0
  9. data/.github/workflows/stale.yml +39 -0
  10. data/.rubocop_todo.yml +27 -32
  11. data/CHANGELOG.md +11 -0
  12. data/CONTRIBUTING.md +111 -0
  13. data/DEVELOPMENT.md +11 -0
  14. data/LICENSE +21 -20
  15. data/LICENSE-3rdparty.csv +6 -0
  16. data/README.rdoc +7 -0
  17. data/RELEASING.md +46 -0
  18. data/SUPPORT.md +9 -0
  19. data/examples/custom_metric.rb +1 -1
  20. data/lib/capistrano/README.md +4 -1
  21. data/lib/capistrano/datadog.rb +8 -4
  22. data/lib/capistrano/datadog/v2.rb +9 -1
  23. data/lib/capistrano/datadog/v3.rb +10 -1
  24. data/lib/dogapi.rb +4 -0
  25. data/lib/dogapi/common.rb +44 -9
  26. data/lib/dogapi/event.rb +4 -0
  27. data/lib/dogapi/facade.rb +56 -8
  28. data/lib/dogapi/metric.rb +4 -0
  29. data/lib/dogapi/v1.rb +5 -0
  30. data/lib/dogapi/v1/alert.rb +4 -0
  31. data/lib/dogapi/v1/aws_integration.rb +4 -0
  32. data/lib/dogapi/v1/aws_logs.rb +4 -0
  33. data/lib/dogapi/v1/azure_integration.rb +4 -0
  34. data/lib/dogapi/v1/comment.rb +4 -0
  35. data/lib/dogapi/v1/dash.rb +10 -4
  36. data/lib/dogapi/v1/dashboard.rb +4 -0
  37. data/lib/dogapi/v1/dashboard_list.rb +4 -0
  38. data/lib/dogapi/v1/embed.rb +4 -0
  39. data/lib/dogapi/v1/event.rb +4 -0
  40. data/lib/dogapi/v1/gcp_integration.rb +4 -0
  41. data/lib/dogapi/v1/hosts.rb +4 -0
  42. data/lib/dogapi/v1/integration.rb +4 -0
  43. data/lib/dogapi/v1/metadata.rb +4 -0
  44. data/lib/dogapi/v1/metric.rb +4 -0
  45. data/lib/dogapi/v1/monitor.rb +6 -2
  46. data/lib/dogapi/v1/screenboard.rb +4 -0
  47. data/lib/dogapi/v1/search.rb +4 -0
  48. data/lib/dogapi/v1/service_check.rb +4 -0
  49. data/lib/dogapi/v1/snapshot.rb +4 -0
  50. data/lib/dogapi/v1/synthetics.rb +80 -0
  51. data/lib/dogapi/v1/tag.rb +4 -0
  52. data/lib/dogapi/v1/usage.rb +4 -0
  53. data/lib/dogapi/v1/user.rb +4 -0
  54. data/lib/dogapi/v2.rb +4 -0
  55. data/lib/dogapi/v2/dashboard_list.rb +4 -0
  56. data/lib/dogapi/version.rb +5 -1
  57. data/spec/integration/alert_spec.rb +4 -0
  58. data/spec/integration/aws_integration_spec.rb +4 -0
  59. data/spec/integration/aws_logs_spec.rb +4 -0
  60. data/spec/integration/azure_integration_spec.rb +4 -0
  61. data/spec/integration/comment_spec.rb +5 -0
  62. data/spec/integration/common_spec.rb +4 -0
  63. data/spec/integration/dash_spec.rb +7 -1
  64. data/spec/integration/dashboard_list_spec.rb +4 -0
  65. data/spec/integration/dashboard_spec.rb +4 -0
  66. data/spec/integration/embed_spec.rb +4 -0
  67. data/spec/integration/event_spec.rb +5 -0
  68. data/spec/integration/gcp_integration_spec.rb +4 -0
  69. data/spec/integration/integration_spec.rb +4 -0
  70. data/spec/integration/metadata_spec.rb +4 -0
  71. data/spec/integration/metric_spec.rb +4 -0
  72. data/spec/integration/monitor_spec.rb +15 -0
  73. data/spec/integration/screenboard_spec.rb +4 -0
  74. data/spec/integration/search_spec.rb +4 -0
  75. data/spec/integration/service_check_spec.rb +4 -0
  76. data/spec/integration/snapshot_spec.rb +4 -0
  77. data/spec/integration/synthetics_spec.rb +131 -0
  78. data/spec/integration/tag_spec.rb +4 -0
  79. data/spec/integration/usage_spec.rb +4 -0
  80. data/spec/integration/user_spec.rb +4 -0
  81. data/spec/spec_helper.rb +4 -0
  82. data/spec/unit/capistrano_spec.rb +4 -0
  83. data/spec/unit/common_spec.rb +41 -0
  84. data/spec/unit/facade_spec.rb +4 -0
  85. metadata +18 -4
@@ -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.38.0
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: 2019-12-13 00:00:00.000000000 Z
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
- rubyforge_project:
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