stackdriver 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58f87043b1fa0625ada3e92349057011b53a0d28
4
- data.tar.gz: bb45f8c6237d8f4e9d34e7570a3b23494f040b73
3
+ metadata.gz: 706a2059660ee5d67f6dac78da5046ed0d172779
4
+ data.tar.gz: 8b8a9df3b8318065b5e0bb1233452aeda9112dc9
5
5
  SHA512:
6
- metadata.gz: ecf0748faf9549351dd1b0cdcef322ec6bba57b3ff38cd4cae4655b878635bd1d16b88aea98d0ebda8de3b46cf327bfcba0e3d25c9b4191cc5848642430c6901
7
- data.tar.gz: 3dd93ac3986f4f60ba4ca5abbd7fd3e3ff23af2c5e68d609e166ec820d73056cb9e33a6a46d0f079e3e56c9b7f263d555a857e64c332071b9e53d73587c2f8df
6
+ metadata.gz: 9c7618fd66eab0b2157b010092efa5d1adafb77e9438d26a775f601ce5822662e9724c158a9942bbafcc18418f1ae0c4b32779f060f6dfd7a0c6b6a3a0edcd82
7
+ data.tar.gz: 0188c39b2d543dedd35e7f6a4043de1031d732db1681cd6d47c2469dc7c0ccbe774ab9d0a85e604868d49f102e2ac0d58d49ab44eb820b5acae580a80f5abc0b
data/README.md CHANGED
@@ -6,6 +6,7 @@ Specifically, this gem is a convenience package that loads and automatically act
6
6
  - [google-cloud-logging](../google-cloud-logging)
7
7
  - [google-cloud-error_reporting](../google-cloud-error_reporting)
8
8
  - [google-cloud-monitoring](../google-cloud-monitoring)
9
+ - [google-cloud-trace](../google-cloud-trace)
9
10
 
10
11
  Please see the top-level project [README](../README.md) for more information about the individual Stackdriver google-cloud-ruby gems.
11
12
 
data/lib/stackdriver.rb CHANGED
@@ -16,14 +16,17 @@
16
16
  gem "google-cloud-error_reporting"
17
17
  gem "google-cloud-logging"
18
18
  gem "google-cloud-monitoring"
19
+ gem "google-cloud-trace"
19
20
 
20
- require "google/cloud/error_reporting/v1beta1"
21
21
  require "google/cloud/logging"
22
- require "google/cloud/monitoring/v3"
22
+ require "google/cloud/trace"
23
+
24
+ require "google/cloud/error_reporting/middleware" if defined? ::Rack
23
25
 
24
26
  if defined? ::Rails::Railtie
25
27
  require "google/cloud/error_reporting/rails"
26
28
  require "google/cloud/logging/rails"
29
+ require "google/cloud/trace/rails"
27
30
  end
28
31
 
29
32
  # Backward compatibility with legacy stackdriver gem
@@ -41,11 +44,13 @@ require "legacy_stackdriver"
41
44
  # - [google-cloud-logging](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging)
42
45
  # - [google-cloud-error_reporting](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-error_reporting)
43
46
  # - [google-cloud-monitoring](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-monitoring)
47
+ # - [google-cloud-trace](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-trace)
44
48
  #
45
49
  # On top of that, stackdriver gem automatically activates the following
46
50
  # instrumentation features:
47
51
  # - [google-cloud-logging instrumentation](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/stackdriver/guides/logging_instrumentation)
48
52
  # - [google-cloud-error_reporting instrumentation](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/stackdriver/guides/error_reporting_instrumentation)
53
+ # - [google-cloud-trace instrumentation](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/stackdriver/guides/trace_instrumentation)
49
54
  #
50
55
  #
51
56
  # ## Usage
@@ -14,5 +14,5 @@
14
14
 
15
15
 
16
16
  module Stackdriver
17
- VERSION = "0.3.0".freeze
17
+ VERSION = "0.4.0".freeze
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heng Xiong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-error_reporting
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: google-cloud-trace
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: minitest
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -126,16 +140,16 @@ dependencies:
126
140
  name: rubocop
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - "~>"
143
+ - - "<="
130
144
  - !ruby/object:Gem::Version
131
- version: '0.43'
145
+ version: 0.35.1
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - "~>"
150
+ - - "<="
137
151
  - !ruby/object:Gem::Version
138
- version: '0.43'
152
+ version: 0.35.1
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: simplecov
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -166,20 +180,6 @@ dependencies:
166
180
  version: '0.9'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: railties
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '3.2'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '3.2'
181
- - !ruby/object:Gem::Dependency
182
- name: actionpack
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '4.0'
195
- - !ruby/object:Gem::Dependency
196
- name: rack
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- version: '0.1'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0.1'
209
195
  description: stackdriver is the official library for Google Stackdriver APIs.
210
196
  email:
211
197
  - hxiong388@gmail.com
@@ -219,7 +205,7 @@ files:
219
205
  - lib/legacy_stackdriver.rb
220
206
  - lib/stackdriver.rb
221
207
  - lib/stackdriver/version.rb
222
- homepage: http://googlecloudplatform.github.io/google-cloud-ruby/
208
+ homepage: http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/stackdriver
223
209
  licenses:
224
210
  - Apache-2.0
225
211
  metadata: {}
@@ -239,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
225
  version: '0'
240
226
  requirements: []
241
227
  rubyforge_project:
242
- rubygems_version: 2.5.1
228
+ rubygems_version: 2.6.8
243
229
  signing_key:
244
230
  specification_version: 4
245
231
  summary: API Client library for Google Stackdriver