google-cloud-monitoring 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile DELETED
@@ -1,70 +0,0 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
-
16
- require "bundler/setup"
17
- require "bundler/gem_tasks"
18
-
19
- task :test do
20
- end
21
-
22
- task :rubocop do
23
- end
24
-
25
- namespace :test do
26
- desc "Runs tests with coverage."
27
- task :coverage do
28
- end
29
- end
30
-
31
- # Acceptance tests
32
- desc "Runs the monitoring acceptance tests."
33
- task :acceptance, :project, :keyfile do |_, args|
34
- end
35
-
36
- namespace :acceptance do
37
- desc "Runs acceptance tests with coverage."
38
- task :coverage, :project, :keyfile do |t, args|
39
- end
40
-
41
-
42
- desc "Runs acceptance cleanup."
43
- task :cleanup do
44
- end
45
- end
46
-
47
- desc "Runs yard-doctest example tests."
48
- task :doctest do
49
- end
50
-
51
- desc "Start an interactive shell."
52
- task :console do
53
- end
54
-
55
- require "yard"
56
- require "yard/rake/yardoc_task"
57
- YARD::Rake::YardocTask.new
58
-
59
- desc "Generates JSON output from google-cloud-monitoring .yardoc"
60
- task :jsondoc => :yard do
61
- require "rubygems"
62
- require "gcloud/jsondoc"
63
-
64
- registry = YARD::Registry.load! ".yardoc"
65
- generator = Gcloud::Jsondoc::Generator.new registry, "google-cloud-monitoring"
66
- generator.write_to "jsondoc"
67
- cp ["docs/toc.json"], "jsondoc", verbose: true
68
- end
69
-
70
- task :default => :test