graphql-metrics 4.0.4 → 4.0.5
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/RELEASING +15 -0
- data/lib/graphql/metrics/tracer.rb +2 -2
- data/lib/graphql/metrics/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e35ba7c6756d4d431a32911e2bf8452f8f825ed1ff6d90c17ad0a0cb13f4d5f9
|
|
4
|
+
data.tar.gz: 1bb21be1384170bca7151a05ae36299c70193ca570bece6a7cdeb59f67e9ed57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba5a5d9fe0b038410260a9fc7d05472a2a7b3012194bc727226429920225f93f617ce353f8121e07b0a27b6f13899c8895ef26bf37e9856df05482c692042603
|
|
7
|
+
data.tar.gz: baec02caa8599a575912c7e3e6696d11ac9bc0e88ebc5ed270eeaf7c0d8cf800bb5d1d48276f513a69c8921c43ef821a9f1239290a86027b9c104495e79c1ca3
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/RELEASING
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Releasing graphql-metrics
|
|
2
|
+
|
|
3
|
+
1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
|
|
4
|
+
2. Update VERSION in lib/graphql/metrics/version.rb
|
|
5
|
+
3. Add a CHANGELOG entry for the new release
|
|
6
|
+
4. Commit the changes with a commit message like "Packaging for release X.Y.Z"
|
|
7
|
+
5. Tag the release with the version (Leave REV blank for HEAD or provide a SHA)
|
|
8
|
+
$ git tag vX.Y.Z REV
|
|
9
|
+
6. Push out the changes
|
|
10
|
+
$ git push
|
|
11
|
+
7. Push out the tags
|
|
12
|
+
$ git push --tags
|
|
13
|
+
8. Publish the gem
|
|
14
|
+
$ gem build graphql_metrics.gemspec
|
|
15
|
+
$ gem push graphql-metrics-X.Y.Z.gem
|
|
@@ -95,8 +95,8 @@ module GraphQL
|
|
|
95
95
|
|
|
96
96
|
def capture_validation_time(context)
|
|
97
97
|
if pre_context.parsing_duration.nil?
|
|
98
|
-
pre_context.parsing_start_time_offset = 0
|
|
99
|
-
pre_context.parsing_duration = 0
|
|
98
|
+
pre_context.parsing_start_time_offset = 0.0
|
|
99
|
+
pre_context.parsing_duration = 0.0
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
timed_result = GraphQL::Metrics.time(pre_context.query_start_time_monotonic) { yield }
|
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: 4.0.
|
|
4
|
+
version: 4.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Butcher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|
|
@@ -212,6 +212,7 @@ files:
|
|
|
212
212
|
- Gemfile.lock
|
|
213
213
|
- LICENSE.txt
|
|
214
214
|
- README.md
|
|
215
|
+
- RELEASING
|
|
215
216
|
- Rakefile
|
|
216
217
|
- bin/console
|
|
217
218
|
- bin/setup
|