graphql-metrics 5.0.1 → 5.0.2

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
  SHA256:
3
- metadata.gz: 6a593fd22527d995c8b1561e714ac905b03fa60f6974b216ec7bab8a23abdb68
4
- data.tar.gz: d08fff1f3519497dbf44e3fad6e3c4276f7d3ab5ac824ec2ea49623390b7e986
3
+ metadata.gz: 193863b65e11d92f46e0e88e31d3d07bf7bfc3b8f3f78566ab1ea03f0480a027
4
+ data.tar.gz: '029dacd1491b30aaaed8f1f29f08de8df61621690e68c437c493acd19be48c58'
5
5
  SHA512:
6
- metadata.gz: 90ea9bbb51fa4f87f150656418931d2331ba3c957d3952e51e0b71e2b7bb837af362775731bb6cd1b6357fb46030781285a02b17a042870965ca2ced3caecc08
7
- data.tar.gz: bd1442eb545d3e8f90d9c22397a82fac2bf518a1f3395571f1563da5587cf38d8e9af09ade053bcf96b99a8aeb06eed84b2e7fc93589f38ad354bf141eea835a
6
+ metadata.gz: b785685753bf27bd368fcca80a9054dad9ad7d829d1a6931eb3c9ddc9090e33e7fe48a6a4d8d3305ae753078b8b47e9b6df9e65f54b497c05f15f1861ce3029e
7
+ data.tar.gz: 4bb9ab1cc43808134b16a071b4d3292c7416614f1d9d59e398c62f5843d9b53175f569385b5f4a74013a5b7817b73487f08a48736aba7228a543596a3f6271d8
@@ -0,0 +1,22 @@
1
+ name: Contributor License Agreement (CLA)
2
+
3
+ on:
4
+ pull_request_target:
5
+ types: [opened, synchronize]
6
+ issue_comment:
7
+ types: [created]
8
+
9
+ jobs:
10
+ cla:
11
+ runs-on: ubuntu-latest
12
+ if: |
13
+ (github.event.issue.pull_request
14
+ && !github.event.issue.pull_request.merged_at
15
+ && contains(github.event.comment.body, 'signed')
16
+ )
17
+ || (github.event.pull_request && !github.event.pull_request.merged)
18
+ steps:
19
+ - uses: Shopify/shopify-cla-action@v1
20
+ with:
21
+ github-token: ${{ secrets.GITHUB_TOKEN }}
22
+ cla-token: ${{ secrets.CLA_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 5.0.2
2
+ -----
3
+ - [63](https://github.com/Shopify/graphql-metrics/pull/67) Reset `lex` pre-context metrics on `analyze_multiplex`.
1
4
  5.0.1
2
5
  -----
3
6
  - [63](https://github.com/Shopify/graphql-metrics/pull/63) Eliminate `TimedResult` objects for `trace_field`.
@@ -75,6 +75,8 @@ module GraphQL
75
75
  self[:multiplex_start_time_monotonic] = nil
76
76
  self[:parsing_start_time_offset] = nil
77
77
  self[:parsing_duration] = nil
78
+ self[:lexing_start_time_offset] = nil
79
+ self[:lexing_duration] = nil
78
80
  end
79
81
  end
80
82
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module Metrics
5
- VERSION = "5.0.1"
5
+ VERSION = "5.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Butcher
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -201,6 +201,7 @@ executables: []
201
201
  extensions: []
202
202
  extra_rdoc_files: []
203
203
  files:
204
+ - ".github/workflows/cla.yml"
204
205
  - ".github/workflows/ruby.yml"
205
206
  - ".gitignore"
206
207
  - ".rubocop-http---shopify-github-io-ruby-style-guide-rubocop-yml"