Benign gem 12,810,309 installs Download

google-cloud-logging 2.6.0

“google-cloud-logging is the official library for Stackdriver Logging.”

Rails production gate in codeReferences a public code-forge URL
SHA-256f0df57bf43c9a3b1e0699ee827f94abc915cb1725457d08c56da19d92c551cec

Evidence

Rails production gate in code rails.rb · lines 37–41
37:28… to `true`, or, if the configuration is left unset
38 # but `Rails.env.production?` is `true`.
39 #
40 # When loaded, the {Google::Cloud::Logging::Middleware} will be inserted
41 # before the `Rails::R …
References a public code-forge URL rails.rb · lines 100–105
100:76… mple,
101 # when running Puma in [clustered
102 # mode](https://github.com/puma/puma#clustered-mode), this method should
103 # be called in an `on_worker_boot` block.
104 #
105 # If the appli …
Creates a Ruby background thread async_writer.rb · lines 151–163
151:14… @batch.add entry
152 end
153
154 @thread_pool ||= Concurrent::ThreadPoolExecutor.new \
155 max_threads: @threads, max_queue: @max_queue
156 @thread ||= Thread.new { run_background }
157
158 publish_batch! if @batch&.ready?
⋯5 lines
References the OAuth 2 protocol logging.rb · lines 55–59
55:59… :Credentials})
56 # @param [String, Array<String>] scope The OAuth 2.0 scopes controlling
57 # the set of resources and operations that the connection can access.
58 # See [Using OAuth 2.0 to Access Google
59 # APIs](http …
HTTP URL string literal google-cloud-logging.rb · lines 133–144
133:33… G_KEYFILE_JSON"
134 end
135 default_scopes = [
136 "https://www.googleapis.com/auth/cloud-platform",
137 "https://www.googleapis.com/auth/cloud-platform.read-only",
138 "https://www.googleapis.com/auth/logging.admin",
139 "https://www.googleapis.com/auth/logging.read",
140 "https://www.googleapis.com/auth/logging.write"
141 ]
142
143 config.add_field! :project_id, default_project, match: String, allow_nil: true
144 config …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.