google-cloud-error_reporting 0.42.2 → 0.43.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.
- checksums.yaml +4 -4
 - data/.yardopts +1 -1
 - data/AUTHENTICATION.md +8 -26
 - data/CHANGELOG.md +18 -0
 - data/INSTRUMENTATION.md +7 -5
 - data/LOGGING.md +2 -2
 - data/OVERVIEW.md +6 -7
 - data/lib/google/cloud/error_reporting/async_error_reporter.rb +3 -3
 - data/lib/google/cloud/error_reporting/credentials.rb +1 -1
 - data/lib/google/cloud/error_reporting/error_event.rb +2 -2
 - data/lib/google/cloud/error_reporting/middleware.rb +4 -4
 - data/lib/google/cloud/error_reporting/project.rb +3 -3
 - data/lib/google/cloud/error_reporting/rails.rb +3 -3
 - data/lib/google/cloud/error_reporting/service.rb +2 -2
 - data/lib/google/cloud/error_reporting/version.rb +1 -1
 - data/lib/google/cloud/error_reporting.rb +9 -9
 - data/lib/google-cloud-error_reporting.rb +5 -4
 - metadata +6 -161
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fc5479b9cb2cfe9e13b2f11a5a5f30a2153a19fd58cb058d9cf5dd489df48282
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 7ca2e591707a11db5fc62c21ec8e84d7bd64e0c05d4bea830102b23b329c0217
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 2194aaea998f1e7d331223ef1f0f52dd6af64ffe370e6101cf2c687d570c824aabcde58e184a9331ffe7b63aa8b2241aae1bd602e885af49fe7080aec2ea6f24
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c21cd14b31e4103b17b9b1063d83b8928166a174769417f6a54bd036fac85fc72826316863d521dcf32ff2cfbe2d799559cb99f7359c19e71fbe840cce3d714f
         
     | 
    
        data/.yardopts
    CHANGED
    
    
    
        data/AUTHENTICATION.md
    CHANGED
    
    | 
         @@ -125,15 +125,6 @@ To configure your system for this, simply: 
     | 
|
| 
       125 
125 
     | 
    
         
             
            **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
         
     | 
| 
       126 
126 
     | 
    
         
             
            *should* only be used during development.
         
     | 
| 
       127 
127 
     | 
    
         | 
| 
       128 
     | 
    
         
            -
            [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
         
     | 
| 
       129 
     | 
    
         
            -
            [dev-console]: https://console.cloud.google.com/project
         
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
       131 
     | 
    
         
            -
            [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
         
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
     | 
    
         
            -
            [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
         
     | 
| 
       134 
     | 
    
         
            -
            [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
         
     | 
| 
       135 
     | 
    
         
            -
            [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
         
     | 
| 
       136 
     | 
    
         
            -
             
     | 
| 
       137 
128 
     | 
    
         
             
            ## Creating a Service Account
         
     | 
| 
       138 
129 
     | 
    
         | 
| 
       139 
130 
     | 
    
         
             
            Google Cloud requires a **Project ID** and **Service Account Credentials** to
         
     | 
| 
         @@ -144,31 +135,22 @@ If you are not running this client within [Google Cloud Platform 
     | 
|
| 
       144 
135 
     | 
    
         
             
            environments](#google-cloud-platform-environments), you need a Google
         
     | 
| 
       145 
136 
     | 
    
         
             
            Developers service account.
         
     | 
| 
       146 
137 
     | 
    
         | 
| 
       147 
     | 
    
         
            -
            1. Visit the [Google  
     | 
| 
      
 138 
     | 
    
         
            +
            1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
         
     | 
| 
       148 
139 
     | 
    
         
             
            1. Create a new project or click on an existing project.
         
     | 
| 
       149 
     | 
    
         
            -
            1. Activate the  
     | 
| 
      
 140 
     | 
    
         
            +
            1. Activate the menu in the upper left and select **APIs & Services**. From
         
     | 
| 
       150 
141 
     | 
    
         
             
               here, you will enable the APIs that your application requires.
         
     | 
| 
       151 
142 
     | 
    
         | 
| 
       152 
     | 
    
         
            -
               ![Enable the APIs that your application requires][enable-apis]
         
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
143 
     | 
    
         
             
               *Note: You may need to enable billing in order to use these services.*
         
     | 
| 
       155 
144 
     | 
    
         | 
| 
       156 
145 
     | 
    
         
             
            1. Select **Credentials** from the side navigation.
         
     | 
| 
       157 
146 
     | 
    
         | 
| 
       158 
     | 
    
         
            -
                
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
               ![Create a new service account][create-new-service-account]
         
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
               ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
         
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
               Find the "Add credentials" drop down and select "Service account" to be
         
     | 
| 
       165 
     | 
    
         
            -
               guided through downloading a new JSON key file.
         
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
               If you want to re-use an existing service account, you can easily generate a
         
     | 
| 
       168 
     | 
    
         
            -
               new key file. Just select the account you wish to re-use, and click "Generate
         
     | 
| 
       169 
     | 
    
         
            -
               new JSON key":
         
     | 
| 
      
 147 
     | 
    
         
            +
               Find the "Create credentials" drop down near the top of the page, and select
         
     | 
| 
      
 148 
     | 
    
         
            +
               "Service account" to be guided through downloading a new JSON key file.
         
     | 
| 
       170 
149 
     | 
    
         | 
| 
       171 
     | 
    
         
            -
                
     | 
| 
      
 150 
     | 
    
         
            +
               If you want to re-use an existing service account, you can easily generate 
         
     | 
| 
      
 151 
     | 
    
         
            +
               a new key file. Just select the account you wish to re-use click the pencil
         
     | 
| 
      
 152 
     | 
    
         
            +
               tool on the right side to edit the service account, select the **Keys** tab,
         
     | 
| 
      
 153 
     | 
    
         
            +
               and then select **Add Key**.
         
     | 
| 
       172 
154 
     | 
    
         | 
| 
       173 
155 
     | 
    
         
             
               The key file you download will be used by this library to authenticate API
         
     | 
| 
       174 
156 
     | 
    
         
             
               requests and should be stored in a secure location.
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,23 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release History
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### 0.43.0 (2024-03-07)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            #### Features
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298)) 
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ### 0.42.3 (2023-05-19)
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            #### Documentation
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619)) 
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ### 0.42.3 (2023-05-18)
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            #### Documentation
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            * Fixed broken links in authentication documentation ([#21619](https://github.com/googleapis/google-cloud-ruby/issues/21619)) 
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
       3 
21 
     | 
    
         
             
            ### 0.42.2 / 2021-10-21
         
     | 
| 
       4 
22 
     | 
    
         | 
| 
       5 
23 
     | 
    
         
             
            #### Documentation
         
     | 
    
        data/INSTRUMENTATION.md
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            #  
     | 
| 
      
 1 
     | 
    
         
            +
            # Error Reporting Instrumentation
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            The google-cloud-error_reporting gem provides framework instrumentation features
         
     | 
| 
       4 
4 
     | 
    
         
             
            to make it easy to report exceptions from your application.
         
     | 
| 
         @@ -20,7 +20,8 @@ end 
     | 
|
| 
       20 
20 
     | 
    
         
             
            ```
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
            ## Configuration
         
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            The default configuration enables Google Cloud Error Reporting instrumentation features to run on
         
     | 
| 
       24 
25 
     | 
    
         
             
            Google Cloud Platform. You can easily configure the instrumentation library  if
         
     | 
| 
       25 
26 
     | 
    
         
             
            you want to run on a non Google Cloud environment or you want to customize  the
         
     | 
| 
       26 
27 
     | 
    
         
             
            default behavior.
         
     | 
| 
         @@ -34,13 +35,13 @@ for full configuration parameters. 
     | 
|
| 
       34 
35 
     | 
    
         
             
            The google-cloud-error_reporting gem provides a Rack Middleware class that can
         
     | 
| 
       35 
36 
     | 
    
         
             
            easily integrate with Rack based application frameworks, such as Rails and
         
     | 
| 
       36 
37 
     | 
    
         
             
            Sinatra. When enabled, it automatically gathers application exceptions from
         
     | 
| 
       37 
     | 
    
         
            -
            requests and submits the information to the  
     | 
| 
      
 38 
     | 
    
         
            +
            requests and submits the information to the Error Reporting service.
         
     | 
| 
       38 
39 
     | 
    
         
             
            On top of that, the google-cloud-error_reporting also implements a Railtie class
         
     | 
| 
       39 
40 
     | 
    
         
             
            that automatically enables the Rack Middleware in Rails applications when used.
         
     | 
| 
       40 
41 
     | 
    
         | 
| 
       41 
42 
     | 
    
         
             
            ### Rails Integration
         
     | 
| 
       42 
43 
     | 
    
         | 
| 
       43 
     | 
    
         
            -
            To use the  
     | 
| 
      
 44 
     | 
    
         
            +
            To use the Error Reporting Railtie for Ruby on Rails applications,
         
     | 
| 
       44 
45 
     | 
    
         
             
            simply add this line to `config/application.rb`:
         
     | 
| 
       45 
46 
     | 
    
         | 
| 
       46 
47 
     | 
    
         
             
            ```ruby
         
     | 
| 
         @@ -62,7 +63,8 @@ use Google::Cloud::ErrorReporting::Middleware 
     | 
|
| 
       62 
63 
     | 
    
         
             
            ```
         
     | 
| 
       63 
64 
     | 
    
         | 
| 
       64 
65 
     | 
    
         
             
            ## Report Captured Exceptions
         
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
            Captured Ruby exceptions can be reported directly to Error Reporting
         
     | 
| 
       66 
68 
     | 
    
         
             
            by using {Google::Cloud::ErrorReporting.report}:
         
     | 
| 
       67 
69 
     | 
    
         | 
| 
       68 
70 
     | 
    
         
             
            ```ruby
         
     | 
    
        data/LOGGING.md
    CHANGED
    
    | 
         @@ -3,10 +3,10 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            To enable logging for this library, set the logger for the underlying
         
     | 
| 
       4 
4 
     | 
    
         
             
            [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. The logger
         
     | 
| 
       5 
5 
     | 
    
         
             
            that you set may be a Ruby stdlib
         
     | 
| 
       6 
     | 
    
         
            -
            [`Logger`](https://ruby-doc.org/ 
     | 
| 
      
 6 
     | 
    
         
            +
            [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as
         
     | 
| 
       7 
7 
     | 
    
         
             
            shown below, or a
         
     | 
| 
       8 
8 
     | 
    
         
             
            [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
         
     | 
| 
       9 
     | 
    
         
            -
            that will write logs to [ 
     | 
| 
      
 9 
     | 
    
         
            +
            that will write logs to [Cloud
         
     | 
| 
       10 
10 
     | 
    
         
             
            Logging](https://cloud.google.com/logging/). See
         
     | 
| 
       11 
11 
     | 
    
         
             
            [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
         
     | 
| 
       12 
12 
     | 
    
         
             
            and the gRPC
         
     | 
    
        data/OVERVIEW.md
    CHANGED
    
    | 
         @@ -1,11 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Error Reporting
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            running cloud services. The  
     | 
| 
      
 3 
     | 
    
         
            +
            Error Reporting counts, analyzes and aggregates the crashes in your
         
     | 
| 
      
 4 
     | 
    
         
            +
            running cloud services. The Error Reporting Instrumentation client
         
     | 
| 
       5 
5 
     | 
    
         
             
            provides a simple way to report errors from your application.
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
            For general information about  
     | 
| 
       8 
     | 
    
         
            -
            Error Reporting Documentation](https://cloud.google.com/error-reporting/docs/).
         
     | 
| 
      
 7 
     | 
    
         
            +
            For general information about Error Reporting, read [Error Reporting Documentation](https://cloud.google.com/error-reporting/docs/).
         
     | 
| 
       9 
8 
     | 
    
         | 
| 
       10 
9 
     | 
    
         
             
            The goal of google-cloud is to provide an API that is comfortable to Rubyists.
         
     | 
| 
       11 
10 
     | 
    
         
             
            Your authentication credentials are detected automatically in Google Cloud
         
     | 
| 
         @@ -17,13 +16,13 @@ connecting in the {file:AUTHENTICATION.md Authentication Guide}. 
     | 
|
| 
       17 
16 
     | 
    
         | 
| 
       18 
17 
     | 
    
         
             
            ## How to report errors
         
     | 
| 
       19 
18 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
            You can easily report exceptions from your applications to  
     | 
| 
      
 19 
     | 
    
         
            +
            You can easily report exceptions from your applications to Error
         
     | 
| 
       21 
20 
     | 
    
         
             
            Reporting service:
         
     | 
| 
       22 
21 
     | 
    
         | 
| 
       23 
22 
     | 
    
         
             
            ```ruby
         
     | 
| 
       24 
23 
     | 
    
         
             
            require "google/cloud/error_reporting"
         
     | 
| 
       25 
24 
     | 
    
         | 
| 
       26 
     | 
    
         
            -
            # Configure  
     | 
| 
      
 25 
     | 
    
         
            +
            # Configure Error Reporting instrumentation
         
     | 
| 
       27 
26 
     | 
    
         
             
            Google::Cloud::ErrorReporting.configure do |config|
         
     | 
| 
       28 
27 
     | 
    
         
             
              config.project_id = "my-project"
         
     | 
| 
       29 
28 
     | 
    
         
             
              config.keyfile = "/path/to/keyfile.json"
         
     | 
| 
         @@ -44,4 +43,4 @@ See the {file:INSTRUMENTATION.md Instrumentation Guide} for more examples. 
     | 
|
| 
       44 
43 
     | 
    
         | 
| 
       45 
44 
     | 
    
         
             
            ## Additional information
         
     | 
| 
       46 
45 
     | 
    
         | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
      
 46 
     | 
    
         
            +
            Error Reporting can be configured to use gRPC's logging. To learn more, see the{file:LOGGING.md Logging guide}.
         
     | 
| 
         @@ -29,7 +29,7 @@ module Google 
     | 
|
| 
       29 
29 
     | 
    
         
             
                  class AsyncErrorReporterError < Google::Cloud::Error
         
     | 
| 
       30 
30 
     | 
    
         
             
                    # @!attribute [r] error_event
         
     | 
| 
       31 
31 
     | 
    
         
             
                    #   @return [Array<Google::Cloud::ErrorReporting::ErrorEvent>] The
         
     | 
| 
       32 
     | 
    
         
            -
                    #   individual error event that was not reported to  
     | 
| 
      
 32 
     | 
    
         
            +
                    #   individual error event that was not reported to Error
         
     | 
| 
       33 
33 
     | 
    
         
             
                    #   Reporting service.
         
     | 
| 
       34 
34 
     | 
    
         
             
                    attr_reader :error_event
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
         @@ -48,7 +48,7 @@ module Google 
     | 
|
| 
       48 
48 
     | 
    
         
             
                  class ErrorReporterError < Google::Cloud::Error
         
     | 
| 
       49 
49 
     | 
    
         
             
                    # @!attribute [r] error_event
         
     | 
| 
       50 
50 
     | 
    
         
             
                    #   @return [Array<Google::Cloud::ErrorReporting::ErrorEvent>] The
         
     | 
| 
       51 
     | 
    
         
            -
                    #   individual error event that was not reported to  
     | 
| 
      
 51 
     | 
    
         
            +
                    #   individual error event that was not reported to Error
         
     | 
| 
       52 
52 
     | 
    
         
             
                    #   Reporting service.
         
     | 
| 
       53 
53 
     | 
    
         
             
                    attr_reader :error_event
         
     | 
| 
       54 
54 
     | 
    
         | 
| 
         @@ -63,7 +63,7 @@ module Google 
     | 
|
| 
       63 
63 
     | 
    
         
             
                  #
         
     | 
| 
       64 
64 
     | 
    
         
             
                  # @private Used by {Google::Cloud::ErrorReporting} and
         
     | 
| 
       65 
65 
     | 
    
         
             
                  # {Google::Cloud::ErrorReporting::Middleware} to asynchronously submit
         
     | 
| 
       66 
     | 
    
         
            -
                  # error events to  
     | 
| 
      
 66 
     | 
    
         
            +
                  # error events to Error Reporting service when used in
         
     | 
| 
       67 
67 
     | 
    
         
             
                  # Ruby applications.
         
     | 
| 
       68 
68 
     | 
    
         
             
                  class AsyncErrorReporter
         
     | 
| 
       69 
69 
     | 
    
         
             
                    ##
         
     | 
| 
         @@ -19,13 +19,13 @@ module Google 
     | 
|
| 
       19 
19 
     | 
    
         
             
                  ##
         
     | 
| 
       20 
20 
     | 
    
         
             
                  # # ErrorEvent
         
     | 
| 
       21 
21 
     | 
    
         
             
                  #
         
     | 
| 
       22 
     | 
    
         
            -
                  # An individual error event to report to  
     | 
| 
      
 22 
     | 
    
         
            +
                  # An individual error event to report to Error Reporting
         
     | 
| 
       23 
23 
     | 
    
         
             
                  # service.
         
     | 
| 
       24 
24 
     | 
    
         
             
                  #
         
     | 
| 
       25 
25 
     | 
    
         
             
                  # Google::Cloud::ErrorReporting::ErrorEvent is able to be transformed
         
     | 
| 
       26 
26 
     | 
    
         
             
                  # into the `Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent`
         
     | 
| 
       27 
27 
     | 
    
         
             
                  # gRPC structure. Once an error event is reported, the GCP
         
     | 
| 
       28 
     | 
    
         
            -
                  #  
     | 
| 
      
 28 
     | 
    
         
            +
                  # Error Reporting service is able to parse the message and
         
     | 
| 
       29 
29 
     | 
    
         
             
                  # backtrace, then group the error events by content.
         
     | 
| 
       30 
30 
     | 
    
         
             
                  #
         
     | 
| 
       31 
31 
     | 
    
         
             
                  # @see https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.events
         
     | 
| 
         @@ -21,7 +21,7 @@ module Google 
     | 
|
| 
       21 
21 
     | 
    
         
             
                  #
         
     | 
| 
       22 
22 
     | 
    
         
             
                  # Google::Cloud::ErrorReporting::Middleware defines a Rack Middleware
         
     | 
| 
       23 
23 
     | 
    
         
             
                  # that can automatically catch upstream exceptions and report them
         
     | 
| 
       24 
     | 
    
         
            -
                  # to  
     | 
| 
      
 24 
     | 
    
         
            +
                  # to Error Reporting.
         
     | 
| 
       25 
25 
     | 
    
         
             
                  #
         
     | 
| 
       26 
26 
     | 
    
         
             
                  class Middleware
         
     | 
| 
       27 
27 
     | 
    
         
             
                    EXCEPTION_KEYS = ["sinatra.error", "rack.exception"].freeze
         
     | 
| 
         @@ -65,7 +65,7 @@ module Google 
     | 
|
| 
       65 
65 
     | 
    
         
             
                    ##
         
     | 
| 
       66 
66 
     | 
    
         
             
                    # Implements the mandatory Rack Middleware call method.
         
     | 
| 
       67 
67 
     | 
    
         
             
                    #
         
     | 
| 
       68 
     | 
    
         
            -
                    # Catch all Exceptions from upstream and report them to 
     | 
| 
      
 68 
     | 
    
         
            +
                    # Catch all Exceptions from upstream and report them to
         
     | 
| 
       69 
69 
     | 
    
         
             
                    # Error Reporting. Unless the exception's class is defined to be ignored
         
     | 
| 
       70 
70 
     | 
    
         
             
                    # by this Middleware.
         
     | 
| 
       71 
71 
     | 
    
         
             
                    #
         
     | 
| 
         @@ -94,7 +94,7 @@ module Google 
     | 
|
| 
       94 
94 
     | 
    
         
             
                    end
         
     | 
| 
       95 
95 
     | 
    
         | 
| 
       96 
96 
     | 
    
         
             
                    ##
         
     | 
| 
       97 
     | 
    
         
            -
                    # Report an given exception to  
     | 
| 
      
 97 
     | 
    
         
            +
                    # Report an given exception to Error Reporting.
         
     | 
| 
       98 
98 
     | 
    
         
             
                    #
         
     | 
| 
       99 
99 
     | 
    
         
             
                    # While it reports most of the exceptions. Certain Rails exceptions that
         
     | 
| 
       100 
100 
     | 
    
         
             
                    # maps to a HTTP status code less than 500 will be treated as not the
         
     | 
| 
         @@ -180,7 +180,7 @@ module Google 
     | 
|
| 
       180 
180 
     | 
    
         
             
                    ##
         
     | 
| 
       181 
181 
     | 
    
         
             
                    # Fallback to default configuration values if not defined already
         
     | 
| 
       182 
182 
     | 
    
         
             
                    def init_default_config
         
     | 
| 
       183 
     | 
    
         
            -
                      configuration.project_id ||=  
     | 
| 
      
 183 
     | 
    
         
            +
                      configuration.project_id ||= Cloud.configure.project_id || ErrorReporting::Project.default_project_id
         
     | 
| 
       184 
184 
     | 
    
         
             
                      configuration.credentials ||= Cloud.configure.credentials
         
     | 
| 
       185 
185 
     | 
    
         
             
                      configuration.service_name ||= ErrorReporting::Project.default_service_name
         
     | 
| 
       186 
186 
     | 
    
         
             
                      configuration.service_version ||= ErrorReporting::Project.default_service_version
         
     | 
| 
         @@ -26,7 +26,7 @@ module Google 
     | 
|
| 
       26 
26 
     | 
    
         
             
                  #
         
     | 
| 
       27 
27 
     | 
    
         
             
                  # Projects are top-level containers in Google Cloud Platform. They store
         
     | 
| 
       28 
28 
     | 
    
         
             
                  # information about billing and authorized users, and they control access
         
     | 
| 
       29 
     | 
    
         
            -
                  # to  
     | 
| 
      
 29 
     | 
    
         
            +
                  # to Error Reporting. Each project has a friendly name and a
         
     | 
| 
       30 
30 
     | 
    
         
             
                  # unique ID. Projects can be created only in the [Google Developers
         
     | 
| 
       31 
31 
     | 
    
         
             
                  # Console](https://console.developers.google.com).
         
     | 
| 
       32 
32 
     | 
    
         
             
                  #
         
     | 
| 
         @@ -111,7 +111,7 @@ module Google 
     | 
|
| 
       111 
111 
     | 
    
         
             
                    alias project project_id
         
     | 
| 
       112 
112 
     | 
    
         | 
| 
       113 
113 
     | 
    
         
             
                    ##
         
     | 
| 
       114 
     | 
    
         
            -
                    # Report a {Google::Cloud::ErrorReporting::ErrorEvent} to 
     | 
| 
      
 114 
     | 
    
         
            +
                    # Report a {Google::Cloud::ErrorReporting::ErrorEvent} to
         
     | 
| 
       115 
115 
     | 
    
         
             
                    # Error Reporting service.
         
     | 
| 
       116 
116 
     | 
    
         
             
                    #
         
     | 
| 
       117 
117 
     | 
    
         
             
                    # @example
         
     | 
| 
         @@ -128,7 +128,7 @@ module Google 
     | 
|
| 
       128 
128 
     | 
    
         | 
| 
       129 
129 
     | 
    
         
             
                    ##
         
     | 
| 
       130 
130 
     | 
    
         
             
                    # Create a {Google::Cloud::ErrorReporting::ErrorEvent} from the
         
     | 
| 
       131 
     | 
    
         
            -
                    # given exception, and report this ErrorEvent to  
     | 
| 
      
 131 
     | 
    
         
            +
                    # given exception, and report this ErrorEvent to Error
         
     | 
| 
       132 
132 
     | 
    
         
             
                    # Reporting service.
         
     | 
| 
       133 
133 
     | 
    
         
             
                    #
         
     | 
| 
       134 
134 
     | 
    
         
             
                    # @param [Exception] exception A Ruby exception
         
     | 
| 
         @@ -24,7 +24,7 @@ module Google 
     | 
|
| 
       24 
24 
     | 
    
         
             
                  # Google::Cloud::ErrorReporting::Railtie automatically add the
         
     | 
| 
       25 
25 
     | 
    
         
             
                  # {Google::Cloud::ErrorReporting::Middleware} to Rack in a Rails
         
     | 
| 
       26 
26 
     | 
    
         
             
                  # environment. It will automatically capture Exceptions from the Rails app
         
     | 
| 
       27 
     | 
    
         
            -
                  # and report them to the  
     | 
| 
      
 27 
     | 
    
         
            +
                  # and report them to the Error Reporting service.
         
     | 
| 
       28 
28 
     | 
    
         
             
                  #
         
     | 
| 
       29 
29 
     | 
    
         
             
                  # The Middleware is only added when certain conditions are met. See
         
     | 
| 
       30 
30 
     | 
    
         
             
                  # `Google::Cloud.configure.use_error_reporting` for detail.
         
     | 
| 
         @@ -152,13 +152,13 @@ module Google 
     | 
|
| 
       152 
152 
     | 
    
         
             
                        end
         
     | 
| 
       153 
153 
     | 
    
         
             
                      rescue StandardError => e
         
     | 
| 
       154 
154 
     | 
    
         
             
                        $stdout.puts "Note: Google::Cloud::ErrorReporting is disabled " \
         
     | 
| 
       155 
     | 
    
         
            -
             
     | 
| 
      
 155 
     | 
    
         
            +
                                     "because it failed to authorize with the service. (#{e.message})"
         
     | 
| 
       156 
156 
     | 
    
         
             
                        return false
         
     | 
| 
       157 
157 
     | 
    
         
             
                      end
         
     | 
| 
       158 
158 
     | 
    
         | 
| 
       159 
159 
     | 
    
         
             
                      if project_id.to_s.empty?
         
     | 
| 
       160 
160 
     | 
    
         
             
                        $stdout.puts "Note: Google::Cloud::ErrorReporting is disabled " \
         
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
      
 161 
     | 
    
         
            +
                                     "because the project ID could not be determined."
         
     | 
| 
       162 
162 
     | 
    
         
             
                        return false
         
     | 
| 
       163 
163 
     | 
    
         
             
                      end
         
     | 
| 
       164 
164 
     | 
    
         | 
| 
         @@ -41,7 +41,7 @@ module Google 
     | 
|
| 
       41 
41 
     | 
    
         | 
| 
       42 
42 
     | 
    
         
             
                    def error_reporting
         
     | 
| 
       43 
43 
     | 
    
         
             
                      return mocked_error_reporting if mocked_error_reporting
         
     | 
| 
       44 
     | 
    
         
            -
                      @error_reporting ||= 
     | 
| 
      
 44 
     | 
    
         
            +
                      @error_reporting ||=
         
     | 
| 
       45 
45 
     | 
    
         
             
                        V1beta1::ReportErrorsService::Client.new do |config|
         
     | 
| 
       46 
46 
     | 
    
         
             
                          config.credentials = credentials if credentials
         
     | 
| 
       47 
47 
     | 
    
         
             
                          config.timeout = timeout if timeout
         
     | 
| 
         @@ -53,7 +53,7 @@ module Google 
     | 
|
| 
       53 
53 
     | 
    
         
             
                    attr_accessor :mocked_error_reporting
         
     | 
| 
       54 
54 
     | 
    
         | 
| 
       55 
55 
     | 
    
         
             
                    ##
         
     | 
| 
       56 
     | 
    
         
            -
                    # Report a {Google::Cloud::ErrorReporting::ErrorEvent} to 
     | 
| 
      
 56 
     | 
    
         
            +
                    # Report a {Google::Cloud::ErrorReporting::ErrorEvent} to
         
     | 
| 
       57 
57 
     | 
    
         
             
                    # Error Reporting service.
         
     | 
| 
       58 
58 
     | 
    
         
             
                    #
         
     | 
| 
       59 
59 
     | 
    
         
             
                    # @example
         
     | 
| 
         @@ -27,7 +27,7 @@ module Google 
     | 
|
| 
       27 
27 
     | 
    
         
             
                ##
         
     | 
| 
       28 
28 
     | 
    
         
             
                # # Error Reporting
         
     | 
| 
       29 
29 
     | 
    
         
             
                #
         
     | 
| 
       30 
     | 
    
         
            -
                #  
     | 
| 
      
 30 
     | 
    
         
            +
                # Error Reporting counts, analyzes and aggregates the crashes in
         
     | 
| 
       31 
31 
     | 
    
         
             
                # your running cloud services.
         
     | 
| 
       32 
32 
     | 
    
         
             
                #
         
     | 
| 
       33 
33 
     | 
    
         
             
                # See {file:OVERVIEW.md Error Reporting Overview}.
         
     | 
| 
         @@ -40,14 +40,14 @@ module Google 
     | 
|
| 
       40 
40 
     | 
    
         
             
                  @default_reporter_mutex = Monitor.new
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
       42 
42 
     | 
    
         
             
                  ##
         
     | 
| 
       43 
     | 
    
         
            -
                  # Creates a new object for connecting to the  
     | 
| 
      
 43 
     | 
    
         
            +
                  # Creates a new object for connecting to the Error Reporting
         
     | 
| 
       44 
44 
     | 
    
         
             
                  # service. Each call creates a new connection.
         
     | 
| 
       45 
45 
     | 
    
         
             
                  #
         
     | 
| 
       46 
46 
     | 
    
         
             
                  # For more information on connecting to Google Cloud see the
         
     | 
| 
       47 
47 
     | 
    
         
             
                  # {file:AUTHENTICATION.md Authentication Guide}.
         
     | 
| 
       48 
48 
     | 
    
         
             
                  #
         
     | 
| 
       49 
49 
     | 
    
         
             
                  # @param [String] project_id Google Cloud Platform project identifier for
         
     | 
| 
       50 
     | 
    
         
            -
                  #   the  
     | 
| 
      
 50 
     | 
    
         
            +
                  #   the Error Reporting service you are connecting to. If not
         
     | 
| 
       51 
51 
     | 
    
         
             
                  #   present, the default project for the credentials is used.
         
     | 
| 
       52 
52 
     | 
    
         
             
                  # @param [String, Hash, Google::Auth::Credentials] credentials The path to
         
     | 
| 
       53 
53 
     | 
    
         
             
                  #   the keyfile as a String, the contents of the keyfile as a Hash, or a
         
     | 
| 
         @@ -88,7 +88,7 @@ module Google 
     | 
|
| 
       88 
88 
     | 
    
         
             
                    scope         ||= configure.scope
         
     | 
| 
       89 
89 
     | 
    
         
             
                    timeout       ||= configure.timeout
         
     | 
| 
       90 
90 
     | 
    
         
             
                    endpoint      ||= configure.endpoint
         
     | 
| 
       91 
     | 
    
         
            -
                    credentials   ||=  
     | 
| 
      
 91 
     | 
    
         
            +
                    credentials   ||= keyfile || default_credentials(scope: scope)
         
     | 
| 
       92 
92 
     | 
    
         | 
| 
       93 
93 
     | 
    
         
             
                    credentials = resolve_credentials credentials, scope
         
     | 
| 
       94 
94 
     | 
    
         
             
                    project_id = resolve_project_id project_id, credentials
         
     | 
| 
         @@ -102,11 +102,11 @@ module Google 
     | 
|
| 
       102 
102 
     | 
    
         
             
                  # client, allows the {.report} public method to reuse these
         
     | 
| 
       103 
103 
     | 
    
         
             
                  # configured parameters.
         
     | 
| 
       104 
104 
     | 
    
         
             
                  #
         
     | 
| 
       105 
     | 
    
         
            -
                  # The following  
     | 
| 
      
 105 
     | 
    
         
            +
                  # The following ErrorReporting configuration parameters are
         
     | 
| 
       106 
106 
     | 
    
         
             
                  # supported:
         
     | 
| 
       107 
107 
     | 
    
         
             
                  #
         
     | 
| 
       108 
108 
     | 
    
         
             
                  # * `project_id` - (String)  Google Cloud Platform project identifier for
         
     | 
| 
       109 
     | 
    
         
            -
                  #   the  
     | 
| 
      
 109 
     | 
    
         
            +
                  #   the Error Reporting service you are connecting to. (The
         
     | 
| 
       110 
110 
     | 
    
         
             
                  #   parameter `project` is considered deprecated, but may also be used.)
         
     | 
| 
       111 
111 
     | 
    
         
             
                  # * `credentials` - (String, Hash, Google::Auth::Credentials) The path to
         
     | 
| 
       112 
112 
     | 
    
         
             
                  #   the keyfile as a String, the contents of the keyfile as a Hash, or a
         
     | 
| 
         @@ -165,13 +165,13 @@ module Google 
     | 
|
| 
       165 
165 
     | 
    
         | 
| 
       166 
166 
     | 
    
         
             
                  ##
         
     | 
| 
       167 
167 
     | 
    
         
             
                  # Provides an easy-to-use interface to Report a Ruby exception object to
         
     | 
| 
       168 
     | 
    
         
            -
                  #  
     | 
| 
       169 
     | 
    
         
            -
                  # transform the Ruby exception into an  
     | 
| 
      
 168 
     | 
    
         
            +
                  # Error Reporting service. This method helps users to
         
     | 
| 
      
 169 
     | 
    
         
            +
                  # transform the Ruby exception into an Error Reporting
         
     | 
| 
       170 
170 
     | 
    
         
             
                  # ErrorEvent gRPC structure, so users don't need to. This should be the
         
     | 
| 
       171 
171 
     | 
    
         
             
                  # prefered method to use when users wish to report captured exception in
         
     | 
| 
       172 
172 
     | 
    
         
             
                  # applications.
         
     | 
| 
       173 
173 
     | 
    
         
             
                  #
         
     | 
| 
       174 
     | 
    
         
            -
                  # This public method creates a default  
     | 
| 
      
 174 
     | 
    
         
            +
                  # This public method creates a default Error Reporting client
         
     | 
| 
       175 
175 
     | 
    
         
             
                  # and reuse that between calls. The default client is initialized with
         
     | 
| 
       176 
176 
     | 
    
         
             
                  # parameters defined in {.configure}.
         
     | 
| 
       177 
177 
     | 
    
         
             
                  #
         
     | 
| 
         @@ -25,7 +25,7 @@ require "googleauth" 
     | 
|
| 
       25 
25 
     | 
    
         
             
            module Google
         
     | 
| 
       26 
26 
     | 
    
         
             
              module Cloud
         
     | 
| 
       27 
27 
     | 
    
         
             
                ##
         
     | 
| 
       28 
     | 
    
         
            -
                # Create a new object for connecting to the  
     | 
| 
      
 28 
     | 
    
         
            +
                # Create a new object for connecting to the Error Reporting
         
     | 
| 
       29 
29 
     | 
    
         
             
                # service. Each call creates a new connection.
         
     | 
| 
       30 
30 
     | 
    
         
             
                #
         
     | 
| 
       31 
31 
     | 
    
         
             
                # For more information on connecting to Google Cloud see the
         
     | 
| 
         @@ -58,20 +58,21 @@ module Google 
     | 
|
| 
       58 
58 
     | 
    
         
             
                #   error_reporting.report error_event
         
     | 
| 
       59 
59 
     | 
    
         
             
                #
         
     | 
| 
       60 
60 
     | 
    
         
             
                def error_reporting scope: nil, timeout: nil
         
     | 
| 
      
 61 
     | 
    
         
            +
                  timeout ||= @timeout
         
     | 
| 
       61 
62 
     | 
    
         
             
                  Google::Cloud.error_reporting @project, @keyfile,
         
     | 
| 
       62 
63 
     | 
    
         
             
                                                scope: scope,
         
     | 
| 
       63 
     | 
    
         
            -
                                                timeout:  
     | 
| 
      
 64 
     | 
    
         
            +
                                                timeout: timeout
         
     | 
| 
       64 
65 
     | 
    
         
             
                end
         
     | 
| 
       65 
66 
     | 
    
         | 
| 
       66 
67 
     | 
    
         
             
                ##
         
     | 
| 
       67 
     | 
    
         
            -
                # Create a new object for connecting to the  
     | 
| 
      
 68 
     | 
    
         
            +
                # Create a new object for connecting to the Error Reporting
         
     | 
| 
       68 
69 
     | 
    
         
             
                # service. Each call creates a new connection.
         
     | 
| 
       69 
70 
     | 
    
         
             
                #
         
     | 
| 
       70 
71 
     | 
    
         
             
                # For more information on connecting to Google Cloud see the
         
     | 
| 
       71 
72 
     | 
    
         
             
                # {file:AUTHENTICATION.md Authentication Guide}.
         
     | 
| 
       72 
73 
     | 
    
         
             
                #
         
     | 
| 
       73 
74 
     | 
    
         
             
                # @param [String] project_id Google Cloud Platform project identifier for
         
     | 
| 
       74 
     | 
    
         
            -
                #   the  
     | 
| 
      
 75 
     | 
    
         
            +
                #   the Error Reporting service you are connecting to. If not
         
     | 
| 
       75 
76 
     | 
    
         
             
                #   present, the default project for the credentials is used.
         
     | 
| 
       76 
77 
     | 
    
         
             
                # @param [String, Hash, Google::Auth::Credentials] credentials The path to
         
     | 
| 
       77 
78 
     | 
    
         
             
                #   the keyfile as a String, the contents of the keyfile as a Hash, or a
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-error_reporting
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.43.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google Inc
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-03-07 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-cloud-core
         
     | 
| 
         @@ -66,162 +66,7 @@ dependencies: 
     | 
|
| 
       66 
66 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       67 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
68 
     | 
    
         
             
                    version: '1.1'
         
     | 
| 
       69 
     | 
    
         
            -
            -  
     | 
| 
       70 
     | 
    
         
            -
              name: google-style
         
     | 
| 
       71 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       72 
     | 
    
         
            -
                requirements:
         
     | 
| 
       73 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       74 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       75 
     | 
    
         
            -
                    version: 1.25.1
         
     | 
| 
       76 
     | 
    
         
            -
              type: :development
         
     | 
| 
       77 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       78 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       79 
     | 
    
         
            -
                requirements:
         
     | 
| 
       80 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       81 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       82 
     | 
    
         
            -
                    version: 1.25.1
         
     | 
| 
       83 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       84 
     | 
    
         
            -
              name: minitest
         
     | 
| 
       85 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       86 
     | 
    
         
            -
                requirements:
         
     | 
| 
       87 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       88 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       89 
     | 
    
         
            -
                    version: '5.14'
         
     | 
| 
       90 
     | 
    
         
            -
              type: :development
         
     | 
| 
       91 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       92 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       93 
     | 
    
         
            -
                requirements:
         
     | 
| 
       94 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       95 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       96 
     | 
    
         
            -
                    version: '5.14'
         
     | 
| 
       97 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       98 
     | 
    
         
            -
              name: minitest-autotest
         
     | 
| 
       99 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       100 
     | 
    
         
            -
                requirements:
         
     | 
| 
       101 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       102 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       103 
     | 
    
         
            -
                    version: '1.0'
         
     | 
| 
       104 
     | 
    
         
            -
              type: :development
         
     | 
| 
       105 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       106 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       107 
     | 
    
         
            -
                requirements:
         
     | 
| 
       108 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       109 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       110 
     | 
    
         
            -
                    version: '1.0'
         
     | 
| 
       111 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       112 
     | 
    
         
            -
              name: minitest-focus
         
     | 
| 
       113 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       114 
     | 
    
         
            -
                requirements:
         
     | 
| 
       115 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       116 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       117 
     | 
    
         
            -
                    version: '1.1'
         
     | 
| 
       118 
     | 
    
         
            -
              type: :development
         
     | 
| 
       119 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       120 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       121 
     | 
    
         
            -
                requirements:
         
     | 
| 
       122 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       123 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       124 
     | 
    
         
            -
                    version: '1.1'
         
     | 
| 
       125 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       126 
     | 
    
         
            -
              name: minitest-rg
         
     | 
| 
       127 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       128 
     | 
    
         
            -
                requirements:
         
     | 
| 
       129 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       130 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       131 
     | 
    
         
            -
                    version: '5.2'
         
     | 
| 
       132 
     | 
    
         
            -
              type: :development
         
     | 
| 
       133 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       134 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       135 
     | 
    
         
            -
                requirements:
         
     | 
| 
       136 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       137 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       138 
     | 
    
         
            -
                    version: '5.2'
         
     | 
| 
       139 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       140 
     | 
    
         
            -
              name: redcarpet
         
     | 
| 
       141 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       142 
     | 
    
         
            -
                requirements:
         
     | 
| 
       143 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       144 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       145 
     | 
    
         
            -
                    version: '3.0'
         
     | 
| 
       146 
     | 
    
         
            -
              type: :development
         
     | 
| 
       147 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       148 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       149 
     | 
    
         
            -
                requirements:
         
     | 
| 
       150 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       151 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       152 
     | 
    
         
            -
                    version: '3.0'
         
     | 
| 
       153 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       154 
     | 
    
         
            -
              name: railties
         
     | 
| 
       155 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       156 
     | 
    
         
            -
                requirements:
         
     | 
| 
       157 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       158 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       159 
     | 
    
         
            -
                    version: '5.0'
         
     | 
| 
       160 
     | 
    
         
            -
              type: :development
         
     | 
| 
       161 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       162 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       163 
     | 
    
         
            -
                requirements:
         
     | 
| 
       164 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       165 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       166 
     | 
    
         
            -
                    version: '5.0'
         
     | 
| 
       167 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       168 
     | 
    
         
            -
              name: rack
         
     | 
| 
       169 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       170 
     | 
    
         
            -
                requirements:
         
     | 
| 
       171 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       172 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       173 
     | 
    
         
            -
                    version: '0.1'
         
     | 
| 
       174 
     | 
    
         
            -
              type: :development
         
     | 
| 
       175 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       176 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       177 
     | 
    
         
            -
                requirements:
         
     | 
| 
       178 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       179 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       180 
     | 
    
         
            -
                    version: '0.1'
         
     | 
| 
       181 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       182 
     | 
    
         
            -
              name: simplecov
         
     | 
| 
       183 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       184 
     | 
    
         
            -
                requirements:
         
     | 
| 
       185 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       186 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       187 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       188 
     | 
    
         
            -
              type: :development
         
     | 
| 
       189 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       190 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       191 
     | 
    
         
            -
                requirements:
         
     | 
| 
       192 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       193 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       194 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       195 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       196 
     | 
    
         
            -
              name: yard
         
     | 
| 
       197 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       198 
     | 
    
         
            -
                requirements:
         
     | 
| 
       199 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       200 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       201 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       202 
     | 
    
         
            -
              type: :development
         
     | 
| 
       203 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       204 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       205 
     | 
    
         
            -
                requirements:
         
     | 
| 
       206 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       207 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       208 
     | 
    
         
            -
                    version: '0.9'
         
     | 
| 
       209 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       210 
     | 
    
         
            -
              name: yard-doctest
         
     | 
| 
       211 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       212 
     | 
    
         
            -
                requirements:
         
     | 
| 
       213 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       214 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       215 
     | 
    
         
            -
                    version: 0.1.13
         
     | 
| 
       216 
     | 
    
         
            -
              type: :development
         
     | 
| 
       217 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       218 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       219 
     | 
    
         
            -
                requirements:
         
     | 
| 
       220 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       221 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       222 
     | 
    
         
            -
                    version: 0.1.13
         
     | 
| 
       223 
     | 
    
         
            -
            description: google-cloud-error_reporting is the official library for Stackdriver
         
     | 
| 
       224 
     | 
    
         
            -
              Error Reporting.
         
     | 
| 
      
 69 
     | 
    
         
            +
            description: google-cloud-error_reporting is the official library for Error Reporting.
         
     | 
| 
       225 
70 
     | 
    
         
             
            email:
         
     | 
| 
       226 
71 
     | 
    
         
             
            - googleapis-packages@google.com
         
     | 
| 
       227 
72 
     | 
    
         
             
            executables: []
         
     | 
| 
         @@ -260,15 +105,15 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       260 
105 
     | 
    
         
             
              requirements:
         
     | 
| 
       261 
106 
     | 
    
         
             
              - - ">="
         
     | 
| 
       262 
107 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       263 
     | 
    
         
            -
                  version: '2. 
     | 
| 
      
 108 
     | 
    
         
            +
                  version: '2.7'
         
     | 
| 
       264 
109 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       265 
110 
     | 
    
         
             
              requirements:
         
     | 
| 
       266 
111 
     | 
    
         
             
              - - ">="
         
     | 
| 
       267 
112 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       268 
113 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       269 
114 
     | 
    
         
             
            requirements: []
         
     | 
| 
       270 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 115 
     | 
    
         
            +
            rubygems_version: 3.5.6
         
     | 
| 
       271 
116 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       272 
117 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       273 
     | 
    
         
            -
            summary: API Client library for  
     | 
| 
      
 118 
     | 
    
         
            +
            summary: API Client library for Error Reporting
         
     | 
| 
       274 
119 
     | 
    
         
             
            test_files: []
         
     |