google-cloud-trace 0.24.0 → 0.24.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52ba77dc84e6c63b8af9c9a1e5d7fe20761669b6
4
- data.tar.gz: d0c89da25865eeec8ec5f6c7a50888e3fd6ace1d
3
+ metadata.gz: 7d5b72d035764de99271f31c75142c60aa57d7c4
4
+ data.tar.gz: 3c9b634aca6752419a66985aebbf5aaa274b3b08
5
5
  SHA512:
6
- metadata.gz: 01528eb24304d620e880c4cb6a9feb96ec22e797e21fb5d66480b88622ae663d94de70187706fc17a14d5f1f594f8c11f29846d2a26286cc403048080bdcad87
7
- data.tar.gz: 0fbe884b4b83ce69918c08c3700af291f641a448290a7e33b23305255f450008fceda5abd9b568213bc8643faa1da4406ca264a1511d8ecca5487d624779b99b
6
+ metadata.gz: b7e30ed03c81da3e0e9b11ad3bf429fc46893e1f931aa99c516df818296bcc4a3ed74bf5f77650b384971b8d3c0474e8ff996edc718f66202a66f99e3e08ff52
7
+ data.tar.gz: 226c2a1caa3a9d2748d98a9cbeca8a2a2aed6b115dd76e669b110e1c3c9cba454493da3c30fd335c665191834e403057eb1c742d0cd6b4e148464c5c93366f28
@@ -166,13 +166,14 @@ module Google
166
166
  begin
167
167
  Google::Cloud::Trace::Credentials.credentials_with_scope keyfile
168
168
  rescue Exception => e
169
- warn "Unable to initialize Google::Cloud::Trace due " \
170
- "to authorization error: #{e.message}"
169
+ STDOUT.puts "Note: Google::Cloud::Trace is disabled because " \
170
+ "it failed to authorize with the service. (#{e.message})"
171
171
  return false
172
172
  end
173
173
 
174
174
  if project_id(config).to_s.empty?
175
- warn "Google::Cloud::Trace is not activated due to empty project_id"
175
+ STDOUT.puts "Note: Google::Cloud::Trace is disabled because " \
176
+ "the project ID could not be determined."
176
177
  return false
177
178
  end
178
179
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Trace
19
- VERSION = "0.24.0".freeze
19
+ VERSION = "0.24.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-01 00:00:00.000000000 Z
11
+ date: 2017-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core